]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
rockchip: rk356x-u-boot: Add bootph-all to common pinctrl nodes
authorJonas Karlman <jonas@kwiboo.se>
Fri, 28 Jul 2023 11:53:07 +0000 (11:53 +0000)
committerKever Yang <kever.yang@rock-chips.com>
Mon, 31 Jul 2023 09:34:43 +0000 (17:34 +0800)
Add bootph-all prop to common pinctrl nodes for eMMC, FSPI, SD-card and
UART2 that are typically used by multiple boards. Unreferenced nodes are
removed from the SPL device tree during a normal build.

Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/dts/rk3566-radxa-cm3-io-u-boot.dtsi
arch/arm/dts/rk3568-rock-3a-u-boot.dtsi
arch/arm/dts/rk356x-u-boot.dtsi

index 57b77151c57cb76adcb098ea14ed434b54460074..c925439f71cdd4497a1da288280a49702fd793b3 100644 (file)
        };
 };
 
-&emmc_bus8 {
-       bootph-all;
-};
-
-&emmc_clk {
-       bootph-all;
-};
-
-&emmc_cmd {
-       bootph-all;
-};
-
-&emmc_datastrobe {
-       bootph-all;
-};
-
-&pinctrl {
-       bootph-all;
-};
-
-&pcfg_pull_none {
-       bootph-all;
-};
-
-&pcfg_pull_up_drv_level_2 {
-       bootph-all;
-};
-
-&pcfg_pull_up {
-       bootph-all;
-};
-
-&sdmmc0_bus4 {
-       bootph-all;
-};
-
-&sdmmc0_clk {
-       bootph-all;
-};
-
-&sdmmc0_cmd {
-       bootph-all;
-};
-
-&sdmmc0_det {
-       bootph-all;
-};
-
-&sdmmc0_pwren {
-       bootph-all;
-};
-
 &sdhci {
        cap-mmc-highspeed;
        mmc-ddr-1_8v;
 };
 
-&uart2m0_xfer {
-       bootph-all;
-};
-
 &uart2 {
        clock-frequency = <24000000>;
        bootph-all;
index a6cee5609dfd503a63d46439fa75b8eb138df077..45e06a91b862d1aaf04d4d4154b8d65137390212 100644 (file)
        };
 };
 
-&emmc_bus8 {
-       bootph-all;
-};
-
-&emmc_clk {
-       bootph-all;
-};
-
-&emmc_cmd {
-       bootph-all;
-};
-
-&emmc_datastrobe {
-       bootph-all;
-};
-
-&fspi_pins {
-       bootph-all;
-};
-
 &pcie2x1 {
        pinctrl-0 = <&pcie20m1_pins &pcie_reset_h>;
 };
@@ -45,8 +25,6 @@
 };
 
 &pinctrl {
-       bootph-all;
-
        pcie {
                pcie3x2_reset_h: pcie3x2-reset-h {
                        rockchip,pins = <2 RK_PD6 RK_FUNC_GPIO &pcfg_pull_none>;
        };
 };
 
-&pcfg_pull_none {
-       bootph-all;
-};
-
-&pcfg_pull_up_drv_level_2 {
-       bootph-all;
-};
-
-&pcfg_pull_up {
-       bootph-all;
-};
-
-&sdmmc0_bus4 {
-       bootph-all;
-};
-
-&sdmmc0_clk {
-       bootph-all;
-};
-
-&sdmmc0_cmd {
-       bootph-all;
-};
-
-&sdmmc0_det {
-       bootph-all;
-};
-
 &sdhci {
        cap-mmc-highspeed;
        mmc-ddr-1_8v;
        status = "disabled";
 };
 
-&uart2m0_xfer {
-       bootph-all;
-};
-
 &uart2 {
        clock-frequency = <24000000>;
        bootph-all;
index c340c2bba6ff8b54b08bbfdb66d191009408740a..89c0d830b632fcf0d363b9e68c29e545dfdbe05f 100644 (file)
        status = "okay";
 };
 
+&pinctrl {
+       bootph-all;
+};
+
+&pcfg_pull_none {
+       bootph-all;
+};
+
+&pcfg_pull_up_drv_level_2 {
+       bootph-all;
+};
+
+&pcfg_pull_up {
+       bootph-all;
+};
+
+&emmc_bus8 {
+       bootph-all;
+};
+
+&emmc_clk {
+       bootph-all;
+};
+
+&emmc_cmd {
+       bootph-all;
+};
+
+&emmc_datastrobe {
+       bootph-all;
+};
+
+&emmc_rstnout {
+       bootph-all;
+};
+
+&fspi_pins {
+       bootph-all;
+};
+
+&sdmmc0_bus4 {
+       bootph-all;
+};
+
+&sdmmc0_clk {
+       bootph-all;
+};
+
+&sdmmc0_cmd {
+       bootph-all;
+};
+
+&sdmmc0_det {
+       bootph-all;
+};
+
+&sdmmc0_pwren {
+       bootph-all;
+};
+
+&uart2m0_xfer {
+       bootph-all;
+};
+
 &sdhci {
        bootph-pre-ram;
        status = "okay";