Commit 0b7fd7cb authored by Guido Gunther's avatar Guido Gunther
Browse files

arm64: dts: librem5: Hog the wifi-en gpio



This makes sure we don't abuse the LED framework and it's
enabled early enough to make wifi work.

Closes: #264
Signed-off-by: Guido Gunther's avatarGuido Günther <guido.gunther@puri.sm>
parent 24c716a9
Pipeline #64510 passed with stage
in 93 minutes and 3 seconds
......@@ -82,7 +82,7 @@
<&pinctrl_sd_pwr>, <&pinctrl_charger>
, <&pinctrl_smc>,
<&pinctrl_gnss>,
<&pinctrl_wwan_pwr>, <&pinctrl_wifi_pwr>,
<&pinctrl_wwan_pwr>,
<&pinctrl_wwan>,
<&pinctrl_bt>
;
......@@ -136,12 +136,6 @@
default-state = "on";
};
wifi-en {
label = "wifi_en";
gpios = <&gpio3 10 GPIO_ACTIVE_HIGH>;
default-state = "on";
};
wwan-nreset {
label = "wwan_nreset";
gpios = <&gpio3 1 GPIO_ACTIVE_HIGH>;
......@@ -442,6 +436,18 @@
};
};
&gpio3 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_wifi_pwr>;
wifi-en-hog {
gpio-hog;
gpios = <10 GPIO_ACTIVE_HIGH>;
output-high;
lane-mapping = "wifi-en";
};
};
&iomuxc {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_hog>;
......
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