]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: dts: rockchip: puma: move U-Boot specific bits to u-boot.dtsi
authorPeter Robinson <pbrobinson@gmail.com>
Mon, 20 Jan 2020 09:18:18 +0000 (09:18 +0000)
committerKever Yang <kever.yang@rock-chips.com>
Wed, 19 Feb 2020 08:45:38 +0000 (16:45 +0800)
Move the U-Boot specific bits to a -u-boot.dtsi include so all the
u-boot.dtsi hierarchy is included.

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/dts/rk3399-puma-ddr1333-u-boot.dtsi [new file with mode: 0644]
arch/arm/dts/rk3399-puma-ddr1333.dts
arch/arm/dts/rk3399-puma-ddr1600-u-boot.dtsi [new file with mode: 0644]
arch/arm/dts/rk3399-puma-ddr1600.dts
arch/arm/dts/rk3399-puma-ddr1866-u-boot.dtsi [new file with mode: 0644]
arch/arm/dts/rk3399-puma-ddr1866.dts
arch/arm/dts/rk3399-puma-u-boot.dtsi [new file with mode: 0644]
arch/arm/dts/rk3399-puma.dtsi

diff --git a/arch/arm/dts/rk3399-puma-ddr1333-u-boot.dtsi b/arch/arm/dts/rk3399-puma-ddr1333-u-boot.dtsi
new file mode 100644 (file)
index 0000000..39d3927
--- /dev/null
@@ -0,0 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0+
+
+#include "rk3399-puma-u-boot.dtsi"
+#include "rk3399-sdram-ddr3-1333.dtsi"
index 8f1193cbe688ebe0307437dfc0b690333ec38201..80f27699f42f22765f50467f6aae2f7fb18b7983 100644 (file)
@@ -6,5 +6,3 @@
 /dts-v1/;
 
 #include "rk3399-puma.dtsi"
-#include "rk3399-sdram-ddr3-1333.dtsi"
-
diff --git a/arch/arm/dts/rk3399-puma-ddr1600-u-boot.dtsi b/arch/arm/dts/rk3399-puma-ddr1600-u-boot.dtsi
new file mode 100644 (file)
index 0000000..be58311
--- /dev/null
@@ -0,0 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0+
+
+#include "rk3399-puma-u-boot.dtsi"
+#include "rk3399-sdram-ddr3-1600.dtsi"
index 42763f82d03905b1c0cabaa6e5795370b81864af..cb76b0165cf7bb2ad3b7891a53d715c5ae5af6a3 100644 (file)
@@ -7,5 +7,3 @@
 
 #include "rk3399-puma.dtsi"
 #include "rk3399-u-boot.dtsi"
-#include "rk3399-sdram-ddr3-1600.dtsi"
-
diff --git a/arch/arm/dts/rk3399-puma-ddr1866-u-boot.dtsi b/arch/arm/dts/rk3399-puma-ddr1866-u-boot.dtsi
new file mode 100644 (file)
index 0000000..48da076
--- /dev/null
@@ -0,0 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0+
+
+#include "rk3399-puma-u-boot.dtsi"
+#include "rk3399-sdram-ddr3-1866.dtsi"
index bb86a448fae5d5c719de7d45c7464de1536c1bae..80f27699f42f22765f50467f6aae2f7fb18b7983 100644 (file)
@@ -6,5 +6,3 @@
 /dts-v1/;
 
 #include "rk3399-puma.dtsi"
-#include "rk3399-sdram-ddr3-1866.dtsi"
-
diff --git a/arch/arm/dts/rk3399-puma-u-boot.dtsi b/arch/arm/dts/rk3399-puma-u-boot.dtsi
new file mode 100644 (file)
index 0000000..52f62b5
--- /dev/null
@@ -0,0 +1,24 @@
+// SPDX-License-Identifier: GPL-2.0+
+
+#include "rk3399-u-boot.dtsi"
+/ {
+       config {
+               u-boot,spl-payload-offset = <0x40000>; /* @ 256KB */
+               u-boot,mmc-env-offset = <0x4000>;      /* @  16KB */
+               u-boot,efi-partition-entries-offset = <0x200000>; /* 2MB */
+               u-boot,boot-led = "module_led";
+               sysreset-gpio = <&gpio1 RK_PA6 GPIO_ACTIVE_HIGH>;
+       };
+
+       chosen {
+               stdout-path = "serial0:115200n8";
+               u-boot,spl-boot-order = \
+                       "same-as-spl", &spiflash, &sdhci, &sdmmc;
+       };
+
+       aliases {
+               spi0 = &spi1;
+               spi1 = &spi5;
+       };
+
+};
index aae9998871fc9bd46c51f8afdd00fa93ba4f0508..558b6337dfeca20d89c65d27b8b2cb5c84a2f463 100644 (file)
        model = "Theobroma Systems RK3399-Q7 SoM";
        compatible = "tsd,rk3399-q7", "tsd,puma", "rockchip,rk3399";
 
-       config {
-               u-boot,spl-payload-offset = <0x40000>; /* @ 256KB */
-               u-boot,mmc-env-offset = <0x4000>;      /* @  16KB */
-               u-boot,efi-partition-entries-offset = <0x200000>; /* 2MB */
-               u-boot,boot-led = "module_led";
-               sysreset-gpio = <&gpio1 RK_PA6 GPIO_ACTIVE_HIGH>;
-       };
-
-       chosen {
-               stdout-path = "serial0:115200n8";
-               u-boot,spl-boot-order = \
-                       "same-as-spl", &spiflash, &sdhci, &sdmmc;
-       };
-
-       aliases {
-               spi0 = &spi1;
-               spi1 = &spi5;
-       };
-
        leds {
                compatible = "gpio-leds";
                pinctrl-names = "default";