rockchip: rk3188: add -u-boot.dtsi for rock-rk3188
authorKever Yang <kever.yang@rock-chips.com>
Wed, 18 Apr 2018 03:13:44 +0000 (11:13 +0800)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Wed, 25 Apr 2018 20:20:05 +0000 (22:20 +0200)
We should a -u-boot.dtsi for those config need by U-Boot only,
and other part sync with kernel.

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
arch/arm/dts/rk3188-radxarock-u-boot.dtsi [new file with mode: 0644]
arch/arm/dts/rk3188-radxarock.dts
arch/arm/dts/rk3188.dtsi

diff --git a/arch/arm/dts/rk3188-radxarock-u-boot.dtsi b/arch/arm/dts/rk3188-radxarock-u-boot.dtsi
new file mode 100644 (file)
index 0000000..5d650b1
--- /dev/null
@@ -0,0 +1,18 @@
+/*
+ * Copyright (c) 2018 Fuzhou Rockchip Electronics Co., Ltd.
+ *
+ * SPDX-License-Identifier:    GPL-2.0+
+ */
+
+&cru {
+       u-boot,dm-spl;
+};
+
+&pinctrl {
+       u-boot,dm-spl;
+};
+
+&uart2 {
+       status = "okay";
+       u-boot,dm-spl;
+};
index 5f5b5e9a1f09b453ae8ea655b2339b526a527d27..0fc4f54af2d44ce0a398a2699537079fa34887cb 100644 (file)
@@ -7,6 +7,7 @@
 /dts-v1/;
 #include <dt-bindings/input/input.h>
 #include "rk3188.dtsi"
+#include "rk3188-radxarock-u-boot.dtsi"
 
 / {
        model = "Radxa Rock";
        status = "okay";
 };
 
-&uart2 {
-       status = "okay";
-       u-boot,dm-spl;
-};
-
 &uart3 {
        status = "okay";
 };
index f4d438eb66e4a0c543e6fa3280479dc7b071e356..1a0684320abd440cae2c56a1c4e478e1d1eec913 100644 (file)
                compatible = "rockchip,rk3188-cru";
                reg = <0x20000000 0x1000>;
                rockchip,grf = <&grf>;
-               u-boot,dm-spl;
 
                #clock-cells = <1>;
                #reset-cells = <1>;
                #address-cells = <1>;
                #size-cells = <1>;
                ranges;
-               u-boot,dm-spl;
 
                gpio0: gpio0@2000a000 {
                        compatible = "rockchip,gpio-bank";