arm64: dts: rockchip: add sdio node for rk3576 boards

Change-Id: I5009993be91644fb51df816ee7ca371d0194ba54
Signed-off-by: Alex Zhao <zzc@rock-chips.com>
This commit is contained in:
Alex Zhao
2024-03-13 17:35:46 +08:00
parent cd5a5d0352
commit 877b786363
3 changed files with 70 additions and 1 deletions

View File

@@ -65,6 +65,22 @@
};
};
sdio_pwrseq: sdio-pwrseq {
compatible = "mmc-pwrseq-simple";
pinctrl-names = "default";
pinctrl-0 = <&wifi_poweren_gpio>;
/*
* On the module itself this is one of these (depending
* on the actual card populated):
* - SDIO_RESET_L_WL_REG_ON
* - PDN (power down when low)
*/
post-power-on-delay-ms = <200>;
reset-gpios = <&gpio1 RK_PC6 GPIO_ACTIVE_LOW>;
status = "disabled";
};
vcc_1v8_s0: vcc-1v8-s0 {
compatible = "regulator-fixed";
regulator-name = "vcc_1v8_s0";
@@ -502,6 +518,23 @@
&sai1m0_sdo0>;
};
&sdio {
max-frequency = <200000000>;
no-sd;
no-mmc;
bus-width = <4>;
disable-wp;
cap-sd-highspeed;
cap-sdio-irq;
keep-power-in-suspend;
mmc-pwrseq = <&sdio_pwrseq>;
non-removable;
pinctrl-names = "default";
pinctrl-0 = <&sdmmc1m0_bus4 &sdmmc1m0_clk &sdmmc1m0_cmd>;
sd-uhs-sdr104;
status = "disabled";
};
&sdmmc {
status = "okay";
};

View File

@@ -450,7 +450,7 @@
};
&sdio {
max-frequency = <150000000>;
max-frequency = <200000000>;
no-sd;
no-mmc;
bus-width = <4>;

View File

@@ -44,6 +44,21 @@
};
};
sdio_pwrseq: sdio-pwrseq {
compatible = "mmc-pwrseq-simple";
pinctrl-names = "default";
pinctrl-0 = <&wifi_poweren_gpio>;
/*
* On the module itself this is one of these (depending
* on the actual card populated):
* - SDIO_RESET_L_WL_REG_ON
* - PDN (power down when low)
*/
post-power-on-delay-ms = <200>;
reset-gpios = <&gpio4 RK_PB4 GPIO_ACTIVE_LOW>;
};
vcc_1v8_s0: vcc-1v8-s0 {
compatible = "regulator-fixed";
regulator-name = "vcc_1v8_s0";
@@ -826,6 +841,23 @@
status = "okay";
};
&sdio {
max-frequency = <200000000>;
no-sd;
no-mmc;
bus-width = <4>;
disable-wp;
cap-sd-highspeed;
cap-sdio-irq;
keep-power-in-suspend;
mmc-pwrseq = <&sdio_pwrseq>;
non-removable;
pinctrl-names = "default";
pinctrl-0 = <&sdmmc1m1_bus4 &sdmmc1m1_clk &sdmmc1m1_cmd>;
sd-uhs-sdr104;
status = "okay";
};
&u2phy0_otg {
vbus-supply = <&vcc5v0_otg>;
rockchip,sel-pipe-phystatus;
@@ -873,3 +905,7 @@
&wireless_bluetooth {
status = "disabled";
};
&wireless_wlan {
WIFI,poweren_gpio = <&gpio4 RK_PB4 GPIO_ACTIVE_HIGH>;
};