]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: dts: rockchip: rk3588: Move bootph-all props to common file
authorEugen Hristev <eugen.hristev@collabora.com>
Tue, 4 Jul 2023 19:05:11 +0000 (22:05 +0300)
committerKever Yang <kever.yang@rock-chips.com>
Mon, 31 Jul 2023 09:34:43 +0000 (17:34 +0800)
Move bootph-all prop to common SoC dt file, because they are typically used
by multiple boards.
Unreferenced nodes are removed from the SPL device tree during a
normal build.

Suggested-by: Jonas Karlman <jonas@kwiboo.se>
Signed-off-by: Eugen Hristev <eugen.hristev@collabora.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/dts/rk3588-rock-5b-u-boot.dtsi
arch/arm/dts/rk3588s-u-boot.dtsi

index 549b242be0a02d3d45c2ac8dab6ac2c801bd172e..1b2fcbb0bb1179657e8938f96a92039a17436f37 100644 (file)
        status = "okay";
 };
 
-&emmc_bus8 {
-       bootph-all;
-};
-
-&emmc_clk {
-       bootph-all;
-};
-
-&emmc_cmd {
-       bootph-all;
-};
-
-&emmc_data_strobe {
-       bootph-all;
-};
-
-&emmc_rstnout {
-       bootph-all;
-};
-
 &fspim2_pins {
        bootph-all;
 };
 };
 
 &pinctrl {
-       bootph-all;
-
        pcie {
                pcie_reset_h: pcie-reset-h {
                        rockchip,pins = <3 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>;
        };
 };
 
-&pcfg_pull_none {
-       bootph-all;
-};
-
-&pcfg_pull_up_drv_level_2 {
-       bootph-all;
-};
-
-&pcfg_pull_up {
-       bootph-all;
-};
-
 &sdmmc {
        bus-width = <4>;
        status = "okay";
 };
 
-&sdmmc_bus4 {
-       bootph-all;
-};
-
-&sdmmc_clk {
-       bootph-all;
-};
-
-&sdmmc_cmd {
-       bootph-all;
-};
-
-&sdmmc_det {
-       bootph-all;
-};
-
 &sdhci {
        cap-mmc-highspeed;
        mmc-ddr-1_8v;
        };
 };
 
-&uart2m0_xfer {
-       bootph-all;
-};
-
 &usb_host0_ehci {
        companion = <&usb_host0_ohci>;
        phys = <&u2phy2_host>;
index 489c5edd6249662ab91af7d685d6c6380d0d9118..245bc8b27c323783985c9dc84fb28ee3ed905710 100644 (file)
        };
 };
 
+&emmc_bus8 {
+       bootph-all;
+};
+
+&emmc_clk {
+       bootph-all;
+};
+
+&emmc_cmd {
+       bootph-all;
+};
+
+&emmc_data_strobe {
+       bootph-all;
+};
+
+&emmc_rstnout {
+       bootph-all;
+};
+
+&pinctrl {
+       bootph-all;
+};
+
+&pcfg_pull_none {
+       bootph-all;
+};
+
+&pcfg_pull_up_drv_level_2 {
+       bootph-all;
+};
+
+&pcfg_pull_up {
+       bootph-all;
+};
+
 &xin24m {
        bootph-all;
        status = "okay";
        u-boot,spl-fifo-mode;
 };
 
+&sdmmc_bus4 {
+       bootph-all;
+};
+
+&sdmmc_clk {
+       bootph-all;
+};
+
+&sdmmc_cmd {
+       bootph-all;
+};
+
+&sdmmc_det {
+       bootph-all;
+};
+
 &uart2 {
        clock-frequency = <24000000>;
        bootph-pre-ram;
        status = "okay";
 };
 
+&uart2m0_xfer {
+       bootph-all;
+};
+
 &ioc {
        bootph-pre-ram;
 };