Skip to content
Snippets Groups Projects
Commit dcf4b5bb authored by Dietmar Muscholik's avatar Dietmar Muscholik
Browse files

dts:maury.dtsi: mmc-pwrseq added to usdc3

 a mmc-pwrseq has been added to usdhc3 that pulls WIFI_PWRDWN to high,
 that also forces the stm32 to be probed before usdhc3, so WIFI_CLK_EN
 can be enabled as hog-gpio
parent 9b234ba6
Branches linux-5.15.71-maury
No related tags found
1 merge request!532dts:maury.dtsi: specify phy id in compatible string for ethernet-phys
Pipeline #131209 passed with stage
in 20 seconds
......@@ -559,6 +559,14 @@ &usdhc2 { // uSD
status = "okay";
};
/ {
wifi_pwrseq: wifi-pwrseq {
compatible = "mmc-pwrseq-simple";
reset-gpios = <&stm32 38 GPIO_ACTIVE_LOW>;
status = "okay";
};
};
&usdhc3 { // WiFi
// more than 100MHz will not work
pinctrl-names = "default", "state_100mhz";
......@@ -568,6 +576,7 @@ &usdhc3 { // WiFi
non-removable;
vmmc-supply = <&reg_3v3_run>;
vqmmc-supply = <&reg_1v8_run>;
mmc-pwrseq = <&wifi_pwrseq>;
no-sd;
no-mmc;
keep-power-in-suspend;
......@@ -797,6 +806,13 @@ gpio26 {
line-name = "USB_HUB_RES#";
output-low;
};
gpio37 {
gpio-hog;
gpios = <37 (GPIO_OPEN_DRAIN | GPIO_ACTIVE_HIGH)>;
line-name = "WIFI_CLK_EN";
output-high;
};
};
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment