From 4630ffdb5450c06e816adc57bd2b03834d5d8ac2 Mon Sep 17 00:00:00 2001 From: Robert Nelson <robertcnelson@gmail.com> Date: Fri, 26 Jul 2019 18:37:57 -0500 Subject: [PATCH] am3/am5: add chosen: base_dtb/base_dtb_timestamp Signed-off-by: Robert Nelson <robertcnelson@gmail.com> --- src/arm/am335x-abbbi.dts | 25 ++++++++++--------- src/arm/am335x-bone-common-no-capemgr.dtsi | 5 +--- src/arm/am335x-bone-common-univ.dtsi | 5 +--- src/arm/am335x-bone-common.dtsi | 5 +--- src/arm/am335x-bone-jtag.dtsi | 7 +----- src/arm/am335x-bone-uboot-univ.dts | 10 +++++--- src/arm/am335x-bone.dts | 10 +++++--- src/arm/am335x-boneblack-common.dtsi | 5 +--- src/arm/am335x-boneblack-uboot-univ.dts | 18 +++++++------ src/arm/am335x-boneblack-uboot.dts | 20 +++++++++------ src/arm/am335x-boneblack-wireless.dts | 10 +++++--- src/arm/am335x-boneblack.dts | 10 +++++--- src/arm/am335x-boneblue.dts | 20 +++++++++------ src/arm/am335x-bonegreen-common.dtsi | 5 +--- ...am335x-bonegreen-wireless-common-univ.dtsi | 5 +--- .../am335x-bonegreen-wireless-uboot-univ.dts | 11 ++++---- src/arm/am335x-bonegreen-wireless.dts | 10 +++++--- src/arm/am335x-bonegreen.dts | 10 +++++--- src/arm/am335x-pocketbeagle-common.dtsi | 2 ++ src/arm/am335x-pocketbeagle.dts | 5 ++-- src/arm/am335x-sancloud-bbe.dts | 11 ++++---- src/arm/am5729-beagleboneai-roboticscape.dts | 5 ++++ src/arm/am5729-beagleboneai.dts | 2 ++ src/arm/am57xx-beagle-x15-revb1.dts | 10 +++++--- src/arm/am57xx-beagle-x15-revc.dts | 10 +++++--- src/arm/am57xx-beagle-x15.dts | 10 +++++--- 26 files changed, 132 insertions(+), 114 deletions(-) diff --git a/src/arm/am335x-abbbi.dts b/src/arm/am335x-abbbi.dts index 6bc4a01..f1ca91f 100644 --- a/src/arm/am335x-abbbi.dts +++ b/src/arm/am335x-abbbi.dts @@ -1,20 +1,21 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ * Copyright 2015 Konsulko Group - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. */ /dts-v1/; #include "am33xx.dtsi" #include "am335x-bone-common.dtsi" - / { model = "Arrow BeagleBone Black Industrial"; compatible = "arrow,am335x-abbbi", "ti,am335x-bone", "ti,am33xx"; + + chosen { + base_dtb = "am335x-abbbi.dts"; + base_dtb_timestamp = __TIMESTAMP__; + }; }; &sgx { @@ -133,16 +134,16 @@ / { clk_mcasp0_fixed: clk_mcasp0_fixed { - #clock-cells = <0>; - compatible = "fixed-clock"; - clock-frequency = <24576000>; + #clock-cells = <0>; + compatible = "fixed-clock"; + clock-frequency = <24576000>; }; clk_mcasp0: clk_mcasp0 { - #clock-cells = <0>; - compatible = "gpio-gate-clock"; - clocks = <&clk_mcasp0_fixed>; - enable-gpios = <&gpio1 27 0>; /* BeagleBone Black Clk enable on GPIO1_27 */ + #clock-cells = <0>; + compatible = "gpio-gate-clock"; + clocks = <&clk_mcasp0_fixed>; + enable-gpios = <&gpio1 27 0>; /* BeagleBone Black Clk enable on GPIO1_27 */ }; hdmi_audio: hdmi_audio@0 { diff --git a/src/arm/am335x-bone-common-no-capemgr.dtsi b/src/arm/am335x-bone-common-no-capemgr.dtsi index 5c8c7bd..9c39b27 100644 --- a/src/arm/am335x-bone-common-no-capemgr.dtsi +++ b/src/arm/am335x-bone-common-no-capemgr.dtsi @@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. */ / { diff --git a/src/arm/am335x-bone-common-univ.dtsi b/src/arm/am335x-bone-common-univ.dtsi index 510305f..a168b32 100644 --- a/src/arm/am335x-bone-common-univ.dtsi +++ b/src/arm/am335x-bone-common-univ.dtsi @@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. */ &am33xx_pinmux { diff --git a/src/arm/am335x-bone-common.dtsi b/src/arm/am335x-bone-common.dtsi index ea7fd03..092eb91 100644 --- a/src/arm/am335x-bone-common.dtsi +++ b/src/arm/am335x-bone-common.dtsi @@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. */ / { diff --git a/src/arm/am335x-bone-jtag.dtsi b/src/arm/am335x-bone-jtag.dtsi index 603ef0a..44e3d8b 100644 --- a/src/arm/am335x-bone-jtag.dtsi +++ b/src/arm/am335x-bone-jtag.dtsi @@ -1,11 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* - * Device Tree Source for bone jtag - * * Copyright (C) 2015 Robert Nelson <robertcnelson@gmail.com> - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. */ &am33xx_pinmux { diff --git a/src/arm/am335x-bone-uboot-univ.dts b/src/arm/am335x-bone-uboot-univ.dts index 6847a84..b31b098 100644 --- a/src/arm/am335x-bone-uboot-univ.dts +++ b/src/arm/am335x-bone-uboot-univ.dts @@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. */ /dts-v1/; @@ -14,6 +11,11 @@ / { model = "TI AM335x BeagleBone"; compatible = "ti,am335x-bone", "ti,am33xx"; + + chosen { + base_dtb = "am335x-bone-uboot-univ.dts"; + base_dtb_timestamp = __TIMESTAMP__; + }; }; &sgx { diff --git a/src/arm/am335x-bone.dts b/src/arm/am335x-bone.dts index 84121aa..e09a54f 100644 --- a/src/arm/am335x-bone.dts +++ b/src/arm/am335x-bone.dts @@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. */ /dts-v1/; @@ -14,6 +11,11 @@ / { model = "TI AM335x BeagleBone"; compatible = "ti,am335x-bone", "ti,am33xx"; + + chosen { + base_dtb = "am335x-bone.dts"; + base_dtb_timestamp = __TIMESTAMP__; + }; }; &ldo3_reg { diff --git a/src/arm/am335x-boneblack-common.dtsi b/src/arm/am335x-boneblack-common.dtsi index 325daae..990140c 100644 --- a/src/arm/am335x-boneblack-common.dtsi +++ b/src/arm/am335x-boneblack-common.dtsi @@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. */ #include <dt-bindings/display/tda998x.h> diff --git a/src/arm/am335x-boneblack-uboot-univ.dts b/src/arm/am335x-boneblack-uboot-univ.dts index 1e279a0..2dd94e6 100644 --- a/src/arm/am335x-boneblack-uboot-univ.dts +++ b/src/arm/am335x-boneblack-uboot-univ.dts @@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. */ /dts-v1/; @@ -14,6 +11,11 @@ / { model = "TI AM335x BeagleBone Black"; compatible = "ti,am335x-bone-black", "ti,am335x-bone", "ti,am33xx"; + + chosen { + base_dtb = "am335x-boneblack-uboot-univ.dts"; + base_dtb_timestamp = __TIMESTAMP__; + }; }; &sgx { @@ -22,10 +24,10 @@ &cpu0_opp_table { /* - * All PG 2.0 silicon may not support 1GHz but some of the early - * BeagleBone Blacks have PG 2.0 silicon which is guaranteed - * to support 1GHz OPP so enable it for PG 2.0 on this board. - */ + * All PG 2.0 silicon may not support 1GHz but some of the early + * BeagleBone Blacks have PG 2.0 silicon which is guaranteed + * to support 1GHz OPP so enable it for PG 2.0 on this board. + */ oppnitro-1000000000 { opp-supported-hw = <0x06 0x0100>; }; diff --git a/src/arm/am335x-boneblack-uboot.dts b/src/arm/am335x-boneblack-uboot.dts index 539b803..6d87fc8 100644 --- a/src/arm/am335x-boneblack-uboot.dts +++ b/src/arm/am335x-boneblack-uboot.dts @@ -1,18 +1,22 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. */ /dts-v1/; #include "am33xx.dtsi" #include "am335x-bone-common.dtsi" +/* #include "am335x-bone-jtag.dtsi" */ + / { model = "TI AM335x BeagleBone Black"; compatible = "ti,am335x-bone-black", "ti,am335x-bone", "ti,am33xx"; + + chosen { + base_dtb = "am335x-boneblack-uboot.dts"; + base_dtb_timestamp = __TIMESTAMP__; + }; }; &sgx { @@ -21,10 +25,10 @@ &cpu0_opp_table { /* - * All PG 2.0 silicon may not support 1GHz but some of the early - * BeagleBone Blacks have PG 2.0 silicon which is guaranteed - * to support 1GHz OPP so enable it for PG 2.0 on this board. - */ + * All PG 2.0 silicon may not support 1GHz but some of the early + * BeagleBone Blacks have PG 2.0 silicon which is guaranteed + * to support 1GHz OPP so enable it for PG 2.0 on this board. + */ oppnitro-1000000000 { opp-supported-hw = <0x06 0x0100>; }; diff --git a/src/arm/am335x-boneblack-wireless.dts b/src/arm/am335x-boneblack-wireless.dts index b0610e2..5f308e7 100644 --- a/src/arm/am335x-boneblack-wireless.dts +++ b/src/arm/am335x-boneblack-wireless.dts @@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. */ /dts-v1/; @@ -17,6 +14,11 @@ model = "TI AM335x BeagleBone Black Wireless"; compatible = "ti,am335x-bone-black-wireless", "ti,am335x-bone-black", "ti,am335x-bone", "ti,am33xx"; + chosen { + base_dtb = "am335x-boneblack-wireless.dts"; + base_dtb_timestamp = __TIMESTAMP__; + }; + wlan_en_reg: fixedregulator@2 { compatible = "regulator-fixed"; regulator-name = "wlan-en-regulator"; diff --git a/src/arm/am335x-boneblack.dts b/src/arm/am335x-boneblack.dts index 6664d93..7bcf13b 100644 --- a/src/arm/am335x-boneblack.dts +++ b/src/arm/am335x-boneblack.dts @@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. */ /dts-v1/; @@ -15,6 +12,11 @@ / { model = "TI AM335x BeagleBone Black"; compatible = "ti,am335x-bone-black", "ti,am335x-bone", "ti,am33xx"; + + chosen { + base_dtb = "am335x-boneblack.dts"; + base_dtb_timestamp = __TIMESTAMP__; + }; }; &sgx { diff --git a/src/arm/am335x-boneblue.dts b/src/arm/am335x-boneblue.dts index 9365134..08da9d1 100644 --- a/src/arm/am335x-boneblue.dts +++ b/src/arm/am335x-boneblue.dts @@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. */ /dts-v1/; @@ -15,6 +12,11 @@ model = "TI AM335x BeagleBone Blue"; compatible = "ti,am335x-bone-blue", "ti,am33xx"; + chosen { + base_dtb = "am335x-boneblue.dts"; + base_dtb_timestamp = __TIMESTAMP__; + }; + cpus { cpu@0 { cpu0-supply = <&dcdc2_reg>; @@ -168,9 +170,13 @@ &cpu0_opp_table { /* - * All PG 2.0 silicon may not support 1GHz but some of the early - * BeagleBone Blacks have PG 2.0 silicon which is guaranteed - * to support 1GHz OPP so enable it for PG 2.0 on this board. + * Octavo Systems: + * The EFUSE_SMA register is not programmed for any of the AM335x wafers + * we get and we are not programming them during our production test. + * Therefore, from a DEVICE_ID revision point of view, the silicon looks + * like it is Revision 2.1. However, from an EFUSE_SMA point of view for + * the HW OPP table, the silicon looks like it is Revision 1.0 (ie the + * EFUSE_SMA register reads as all zeros). */ oppnitro-1000000000 { opp-supported-hw = <0x06 0x0100>; diff --git a/src/arm/am335x-bonegreen-common.dtsi b/src/arm/am335x-bonegreen-common.dtsi index 853e6d3..ededf1e 100644 --- a/src/arm/am335x-bonegreen-common.dtsi +++ b/src/arm/am335x-bonegreen-common.dtsi @@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. */ &ldo3_reg { diff --git a/src/arm/am335x-bonegreen-wireless-common-univ.dtsi b/src/arm/am335x-bonegreen-wireless-common-univ.dtsi index 455a8fa..e6f28c9 100644 --- a/src/arm/am335x-bonegreen-wireless-common-univ.dtsi +++ b/src/arm/am335x-bonegreen-wireless-common-univ.dtsi @@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. */ &am33xx_pinmux { diff --git a/src/arm/am335x-bonegreen-wireless-uboot-univ.dts b/src/arm/am335x-bonegreen-wireless-uboot-univ.dts index a4c5744..3adb972 100644 --- a/src/arm/am335x-bonegreen-wireless-uboot-univ.dts +++ b/src/arm/am335x-bonegreen-wireless-uboot-univ.dts @@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. */ /dts-v1/; @@ -14,13 +11,17 @@ / { model = "TI AM335x BeagleBone Green Wireless"; compatible = "ti,am335x-bone-green-wireless", "ti,am335x-bone-green", "ti,am335x-bone-black", "ti,am335x-bone", "ti,am33xx"; + + chosen { + base_dtb = "am335x-bonegreen-wireless-uboot-univ.dts"; + base_dtb_timestamp = __TIMESTAMP__; + }; }; &sgx { status = "okay"; }; - &ldo3_reg { regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; diff --git a/src/arm/am335x-bonegreen-wireless.dts b/src/arm/am335x-bonegreen-wireless.dts index 0d6b359..49d7669 100644 --- a/src/arm/am335x-bonegreen-wireless.dts +++ b/src/arm/am335x-bonegreen-wireless.dts @@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. */ /dts-v1/; @@ -17,6 +14,11 @@ model = "TI AM335x BeagleBone Green Wireless"; compatible = "ti,am335x-bone-green-wireless", "ti,am335x-bone-green", "ti,am335x-bone-black", "ti,am335x-bone", "ti,am33xx"; + chosen { + base_dtb = "am335x-bonegreen-wireless.dts"; + base_dtb_timestamp = __TIMESTAMP__; + }; + wlan_en_reg: fixedregulator@2 { compatible = "regulator-fixed"; regulator-name = "wlan-en-regulator"; diff --git a/src/arm/am335x-bonegreen.dts b/src/arm/am335x-bonegreen.dts index d444999..dc6f69a 100644 --- a/src/arm/am335x-bonegreen.dts +++ b/src/arm/am335x-bonegreen.dts @@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. */ /dts-v1/; @@ -15,6 +12,11 @@ / { model = "TI AM335x BeagleBone Green"; compatible = "ti,am335x-bone-green", "ti,am335x-bone-black", "ti,am335x-bone", "ti,am33xx"; + + chosen { + base_dtb = "am335x-bonegreen.dts"; + base_dtb_timestamp = __TIMESTAMP__; + }; }; &sgx { diff --git a/src/arm/am335x-pocketbeagle-common.dtsi b/src/arm/am335x-pocketbeagle-common.dtsi index b003198..fcac7f2 100644 --- a/src/arm/am335x-pocketbeagle-common.dtsi +++ b/src/arm/am335x-pocketbeagle-common.dtsi @@ -25,6 +25,8 @@ chosen { stdout-path = &uart0; + base_dtb = "am335x-pocketbeagle.dts"; + base_dtb_timestamp = __TIMESTAMP__; }; leds { diff --git a/src/arm/am335x-pocketbeagle.dts b/src/arm/am335x-pocketbeagle.dts index 056be4d..ccb9bd9 100644 --- a/src/arm/am335x-pocketbeagle.dts +++ b/src/arm/am335x-pocketbeagle.dts @@ -1,9 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. + * Author: Robert Nelson <robertcnelson@gmail.com> */ /dts-v1/; diff --git a/src/arm/am335x-sancloud-bbe.dts b/src/arm/am335x-sancloud-bbe.dts index bcfb3e1..da976dd 100644 --- a/src/arm/am335x-sancloud-bbe.dts +++ b/src/arm/am335x-sancloud-bbe.dts @@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. */ /dts-v1/; @@ -11,11 +8,15 @@ #include "am335x-bone-common.dtsi" #include "am335x-boneblack-common.dtsi" #include <dt-bindings/interrupt-controller/irq.h> -/* #include "am335x-bone-jtag.dtsi" */ / { model = "SanCloud BeagleBone Enhanced"; compatible = "sancloud,am335x-boneenhanced", "ti,am335x-bone-black", "ti,am335x-bone", "ti,am33xx"; + + chosen { + base_dtb = "am335x-sancloud-bbe.dts"; + base_dtb_timestamp = __TIMESTAMP__; + }; }; &sgx { diff --git a/src/arm/am5729-beagleboneai-roboticscape.dts b/src/arm/am5729-beagleboneai-roboticscape.dts index 778235f..3bf365e 100644 --- a/src/arm/am5729-beagleboneai-roboticscape.dts +++ b/src/arm/am5729-beagleboneai-roboticscape.dts @@ -8,6 +8,11 @@ #include "am5729-beagleboneai.dts" / { + chosen { + base_dtb = "am5729-beagleboneai-roboticscape.dts"; + base_dtb_timestamp = __TIMESTAMP__; + }; + rcleds { compatible = "gpio-leds"; pinctrl-names = "default"; diff --git a/src/arm/am5729-beagleboneai.dts b/src/arm/am5729-beagleboneai.dts index 764d6d2..dbedcb6 100644 --- a/src/arm/am5729-beagleboneai.dts +++ b/src/arm/am5729-beagleboneai.dts @@ -26,6 +26,8 @@ chosen { stdout-path = &uart1; + base_dtb = "am5729-beagleboneai.dts"; + base_dtb_timestamp = __TIMESTAMP__; }; memory@0 { diff --git a/src/arm/am57xx-beagle-x15-revb1.dts b/src/arm/am57xx-beagle-x15-revb1.dts index 472dc34..318c2c6 100644 --- a/src/arm/am57xx-beagle-x15-revb1.dts +++ b/src/arm/am57xx-beagle-x15-revb1.dts @@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2014-2016 Texas Instruments Incorporated - http://www.ti.com/ - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. */ #include "am57xx-beagle-x15-common.dtsi" @@ -11,6 +8,11 @@ / { model = "TI AM5728 BeagleBoard-X15 rev B1"; + + chosen { + base_dtb = "am57xx-beagle-x15-revb1.dts"; + base_dtb_timestamp = __TIMESTAMP__; + }; }; &tpd12s015 { diff --git a/src/arm/am57xx-beagle-x15-revc.dts b/src/arm/am57xx-beagle-x15-revc.dts index f554bb4..ace3863 100644 --- a/src/arm/am57xx-beagle-x15-revc.dts +++ b/src/arm/am57xx-beagle-x15-revc.dts @@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2014-2017 Texas Instruments Incorporated - http://www.ti.com/ - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. */ #include "am57xx-beagle-x15-common.dtsi" @@ -11,6 +8,11 @@ / { model = "TI AM5728 BeagleBoard-X15 rev C"; + + chosen { + base_dtb = "am57xx-beagle-x15-revc.dts"; + base_dtb_timestamp = __TIMESTAMP__; + }; }; &tpd12s015 { diff --git a/src/arm/am57xx-beagle-x15.dts b/src/arm/am57xx-beagle-x15.dts index 3260846..01b635c 100644 --- a/src/arm/am57xx-beagle-x15.dts +++ b/src/arm/am57xx-beagle-x15.dts @@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2014-2016 Texas Instruments Incorporated - http://www.ti.com/ - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. */ #include "am57xx-beagle-x15-common.dtsi" @@ -12,6 +9,11 @@ / { /* NOTE: This describes the "original" pre-production A2 revision */ model = "TI AM5728 BeagleBoard-X15"; + + chosen { + base_dtb = "am57xx-beagle-x15.dts"; + base_dtb_timestamp = __TIMESTAMP__; + }; }; &tpd12s015 { -- GitLab