rockchip: rk3288-tinker: Only include required DT nodes in TPL
authorJonas Karlman <jonas@kwiboo.se>
Tue, 5 Nov 2024 16:00:26 +0000 (16:00 +0000)
committerTom Rini <trini@konsulko.com>
Sat, 11 Jan 2025 00:56:15 +0000 (18:56 -0600)
Drop the unneeded bootph-all prop from dmc node, it is already defined
in soc u-boot.dtsi.

Remove booth-all prop from gpio7 node, this node is not needed in TPL.

Adjust bootph props to include pinctrl related nodes for UART2.

Remove the explicit bootph-all prop from the pinctrl node, any bootph-
prop will automatically be propagated to the pinctrl node.

Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/dts/rk3288-tinker-u-boot.dtsi

index 032dac2..1665e4f 100644 (file)
@@ -6,7 +6,6 @@
 #include "rk3288-u-boot.dtsi"
 
 &dmc {
-       bootph-all;
        rockchip,pctl-timing = <0x215 0xc8 0x0 0x35 0x26 0x2 0x70 0x2000d
                0x6 0x0 0x8 0x4 0x17 0x24 0xd 0x6
                0x4 0x8 0x4 0x76 0x4 0x0 0x30 0x0
@@ -18,6 +17,7 @@
 };
 
 &gpio7 {
+       /delete-property/ bootph-all;
        bootph-pre-ram;
 };
 
@@ -29,7 +29,7 @@
 };
 
 &pcfg_pull_none {
-       bootph-pre-ram;
+       bootph-all;
 };
 
 &pcfg_pull_none_drv_8ma {
 };
 
 &pcfg_pull_up {
-       bootph-pre-ram;
+       bootph-all;
 };
 
 &pcfg_pull_up_drv_8ma {
        bootph-pre-ram;
 };
 
-&pinctrl {
-       bootph-all;
-};
-
 &sdmmc {
        bootph-pre-ram;
 };
@@ -77,7 +73,8 @@
 };
 
 &uart2_xfer {
-       bootph-all;
+       bootph-pre-sram;
+       bootph-pre-ram;
 };
 
 &vcc_sd {