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

arm64: dts: librem5: Wire up WIFI regulator



Connect it to the corresponding GPIO.

Closes: #264
Signed-off-by: Guido Gunther's avatarGuido Günther <agx@sigxcpu.org>
parent 24c716a9
Pipeline #64517 passed with stage
in 91 minutes and 14 seconds
...@@ -82,7 +82,7 @@ ...@@ -82,7 +82,7 @@
<&pinctrl_sd_pwr>, <&pinctrl_charger> <&pinctrl_sd_pwr>, <&pinctrl_charger>
, <&pinctrl_smc>, , <&pinctrl_smc>,
<&pinctrl_gnss>, <&pinctrl_gnss>,
<&pinctrl_wwan_pwr>, <&pinctrl_wifi_pwr>, <&pinctrl_wwan_pwr>,
<&pinctrl_wwan>, <&pinctrl_wwan>,
<&pinctrl_bt> <&pinctrl_bt>
; ;
...@@ -136,12 +136,6 @@ ...@@ -136,12 +136,6 @@
default-state = "on"; default-state = "on";
}; };
wifi-en {
label = "wifi_en";
gpios = <&gpio3 10 GPIO_ACTIVE_HIGH>;
default-state = "on";
};
wwan-nreset { wwan-nreset {
label = "wwan_nreset"; label = "wwan_nreset";
gpios = <&gpio3 1 GPIO_ACTIVE_HIGH>; gpios = <&gpio3 1 GPIO_ACTIVE_HIGH>;
...@@ -270,9 +264,15 @@ ...@@ -270,9 +264,15 @@
reg_wifi_3v3: regulator-wifi-3v3 { reg_wifi_3v3: regulator-wifi-3v3 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_wifi_pwr>;
regulator-name = "3V3_WIFI"; regulator-name = "3V3_WIFI";
regulator-min-microvolt = <3300000>; regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>; regulator-max-microvolt = <3300000>;
gpio = <&gpio3 10 GPIO_ACTIVE_HIGH>;
enable-active-high;
vin-supply = <&reg_vdd_3v3>;
regulator-always-on;
}; };
sound { sound {
......
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