summaryrefslogtreecommitdiff
path: root/arch/arm/dts/rk3399-puma-u-boot.dtsi
diff options
context:
space:
mode:
authorPeter Robinson <pbrobinson@gmail.com>2020-01-20 09:18:18 +0000
committerKever Yang <kever.yang@rock-chips.com>2020-02-19 16:45:38 +0800
commitab800e5a6f28866626317b0038df3bcf8aa47f71 (patch)
tree1566d81dae6d6858be3cb072d74862749f10fb4b /arch/arm/dts/rk3399-puma-u-boot.dtsi
parent5532e3bb246a93cc64490be275285e7531b2cc40 (diff)
arm: dts: rockchip: puma: move U-Boot specific bits to u-boot.dtsi
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>
Diffstat (limited to 'arch/arm/dts/rk3399-puma-u-boot.dtsi')
-rw-r--r--arch/arm/dts/rk3399-puma-u-boot.dtsi24
1 files changed, 24 insertions, 0 deletions
diff --git a/arch/arm/dts/rk3399-puma-u-boot.dtsi b/arch/arm/dts/rk3399-puma-u-boot.dtsi
new file mode 100644
index 0000000000..52f62b5d39
--- /dev/null
+++ b/arch/arm/dts/rk3399-puma-u-boot.dtsi
@@ -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;
+ };
+
+};