]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
rockchip: odroid-go2: Include pinctrl for sdmmc, sfc and uart in SPL
authorJonas Karlman <jonas@kwiboo.se>
Sun, 31 Aug 2025 16:49:26 +0000 (16:49 +0000)
committerKever Yang <kever.yang@rock-chips.com>
Sat, 1 Nov 2025 13:17:43 +0000 (21:17 +0800)
Include pinctrl nodes and props for sdmmc, sfc and uart in SPL to ensure
pins are configured according to the device tree.

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

index 06e2c190b1f95c37c58724a754724a401d62642d..6f40654d5e846626a1e1dbfbd3faecc4ad48773e 100644 (file)
        bootph-all;
        clock-frequency = <24000000>;
 };
+
+&uart1_cts {
+       bootph-pre-sram;
+       bootph-pre-ram;
+};
+
+&uart1_xfer {
+       bootph-pre-sram;
+       bootph-pre-ram;
+};
index 2894133cfe6d5e9ed6723e356c3593307f24e6b5..196604a9987c9688329b63ba99f4aaccdae984f5 100644 (file)
        bootph-all;
 };
 
+&pcfg_pull_none {
+       bootph-all;
+};
+
+&pcfg_pull_none_8ma {
+       bootph-pre-ram;
+       bootph-some-ram;
+};
+
+&pcfg_pull_up {
+       bootph-all;
+};
+
+&pcfg_pull_up_8ma {
+       bootph-pre-ram;
+       bootph-some-ram;
+};
+
 &pmucru {
        bootph-all;
 };
        u-boot,spl-fifo-mode;
 };
 
+&sdmmc_bus4 {
+       bootph-pre-ram;
+       bootph-some-ram;
+};
+
+&sdmmc_clk {
+       bootph-pre-ram;
+       bootph-some-ram;
+};
+
+&sdmmc_cmd {
+       bootph-pre-ram;
+       bootph-some-ram;
+};
+
+&sdmmc_det {
+       bootph-pre-ram;
+       bootph-some-ram;
+};
+
 &sfc {
        bootph-some-ram;
 };
 
+&sfc_bus2 {
+       bootph-pre-ram;
+       bootph-some-ram;
+};
+
+&sfc_clk {
+       bootph-pre-ram;
+       bootph-some-ram;
+};
+
+&sfc_cs0 {
+       bootph-pre-ram;
+       bootph-some-ram;
+};
+
 &uart2 {
        bootph-all;
        clock-frequency = <24000000>;
 };
 
+&uart2m1_xfer {
+       bootph-pre-sram;
+       bootph-pre-ram;
+};
+
 &xin24m {
        bootph-all;
 };
index 6bc0d12440c98ca8ddd7e41e23738f311b746e82..b0947fe2c8b2b1bc6d672b4c6c2ccb1857ad18f4 100644 (file)
@@ -51,7 +51,7 @@ CONFIG_CMD_USB_MASS_STORAGE=y
 CONFIG_EFI_PARTITION_ENTRIES_NUMBERS=64
 CONFIG_SPL_OF_CONTROL=y
 CONFIG_OF_LIVE=y
-CONFIG_OF_SPL_REMOVE_PROPS="pinctrl-0 pinctrl-names interrupt-parent assigned-clocks assigned-clock-rates assigned-clock-parents"
+CONFIG_OF_SPL_REMOVE_PROPS="interrupt-parent assigned-clocks assigned-clock-rates assigned-clock-parents"
 CONFIG_ENV_IS_IN_MMC=y
 CONFIG_SPL_DM_SEQ_ALIAS=y
 CONFIG_REGMAP=y