]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
rockchip: dts: rk3399: Create initial rk3399-u-boot.dtsi
authorJagan Teki <jagan@amarulasolutions.com>
Mon, 11 Mar 2019 08:20:03 +0000 (13:50 +0530)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Tue, 30 Apr 2019 22:00:05 +0000 (00:00 +0200)
u-boot,dm-pre-reloc is required for SDMMC booted rk3399 boards and
which is U-Boot specific devicetrees binding.

Move it on global rk3399-u-boot.dtsi file and rest of the U-Boot
bindings will move it future based on the requirement.

This would help to sync the devicetrees from Linux whenever required
instead of adding specific nodes.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
arch/arm/dts/rk3399-evb.dts
arch/arm/dts/rk3399-firefly.dts
arch/arm/dts/rk3399-puma.dtsi
arch/arm/dts/rk3399-u-boot.dtsi [new file with mode: 0644]

index ce004d0d18dfb580d2a371427d7ccf4247434c65..9162f3dd508521cb9d1b288c308e29af8fb511dd 100644 (file)
 };
 
 &sdmmc {
-       u-boot,dm-pre-reloc;
        bus-width = <4>;
        status = "okay";
 };
index f90e7e88db143e1882c427d04e77eed4763de602..46f2ffaf8dd7003a44a0fed0715a437d00242c90 100644 (file)
 };
 
 &sdmmc {
-       u-boot,dm-pre-reloc;
        bus-width = <4>;
        status = "okay";
 };
index aec13a28f1abc340ae9e035959fdc4fe99191e9b..319a610022c3d218cea885f43c6c227013ee9be1 100644 (file)
 };
 
 &sdmmc {
-       u-boot,dm-pre-reloc;
        clock-frequency = <150000000>;
        max-frequency = <40000000>;
        supports-sd;
diff --git a/arch/arm/dts/rk3399-u-boot.dtsi b/arch/arm/dts/rk3399-u-boot.dtsi
new file mode 100644 (file)
index 0000000..f533ed9
--- /dev/null
@@ -0,0 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0+
+/*
+ * Copyright (C) 2019 Jagan Teki <jagan@amarulasolutions.com>
+ */
+
+&sdmmc {
+       u-boot,dm-pre-reloc;
+};