Commit 1cb24c9f authored by Angus Ainslie's avatar Angus Ainslie Committed by Martin Kepplinger
Browse files

arm64: dts: librem5: add power sequencing for M.2 cards



Some wifi cards need reset asserted until after the power supplies have been enabled
Signed-off-by: default avatarAngus Ainslie <angus@akkea.ca>
parent ea6bbd8b
......@@ -342,6 +342,14 @@ simple-audio-card,codec {
};
};
usdhc2_pwrseq: pwrseq {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_bt>, <&pinctrl_wifi_disable>;
compatible = "mmc-pwrseq-simple";
reset-gpios = <&gpio3 25 GPIO_ACTIVE_HIGH>, <&gpio4 29 GPIO_ACTIVE_HIGH>;
};
bm818_codec: sound-wwan-codec {
compatible = "broadmobi,bm818", "option,gtm601";
#sound-dai-cells = <0>;
......@@ -463,30 +471,6 @@ pmic-5v-hog {
};
};
&gpio3 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_bt>;
bt-en-hog {
gpio-hog;
gpios = <25 GPIO_ACTIVE_HIGH>;
output-low;
lane-mapping = "bluetooth-not-en";
};
};
&gpio4 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_wifi_disable>;
wifi-en-hog {
gpio-hog;
gpios = <29 GPIO_ACTIVE_HIGH>;
output-low;
lane-mapping = "wifi-not-en";
};
};
&iomuxc {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_hog>;
......@@ -1744,6 +1728,7 @@ &usdhc2 {
pinctrl-2 = <&pinctrl_usdhc2_200mhz>;
bus-width = <4>;
vmmc-supply = <&reg_wifi_3v3>;
mmc-pwrseq = <&usdhc2_pwrseq>;
post-power-on-delay-ms = <1000>;
broken-cd;
disable-wp;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment