Commit bb1ff7ed authored by Otavio Salvador's avatar Otavio Salvador Committed by Shawn Guo

ARM: dts: imx7d-pico: Improve WiFi regulator name

There are different models of WiFi being used in the SoM and the
handle name was too restrictive. This reworks it to a more generic and
meaningful name.
Signed-off-by: default avatarOtavio Salvador <otavio@ossystems.com.br>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent 26255a52
...@@ -13,11 +13,11 @@ memory@80000000 { ...@@ -13,11 +13,11 @@ memory@80000000 {
reg = <0x80000000 0>; reg = <0x80000000 0>;
}; };
reg_ap6212: regulator-ap6212 { reg_wlreg_on: regulator-wlreg_on {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_reg_ap6212>; pinctrl-0 = <&pinctrl_reg_wlreg_on>;
regulator-name = "AP6212"; regulator-name = "wlreg_on";
regulator-min-microvolt = <3300000>; regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>; regulator-max-microvolt = <3300000>;
gpio = <&gpio4 16 GPIO_ACTIVE_HIGH>; gpio = <&gpio4 16 GPIO_ACTIVE_HIGH>;
...@@ -241,7 +241,7 @@ &usdhc2 { /* Wifi SDIO */ ...@@ -241,7 +241,7 @@ &usdhc2 { /* Wifi SDIO */
non-removable; non-removable;
keep-power-in-suspend; keep-power-in-suspend;
wakeup-source; wakeup-source;
vmmc-supply = <&reg_ap6212>; vmmc-supply = <&reg_wlreg_on>;
mmc-pwrseq = <&usdhc2_pwrseq>; mmc-pwrseq = <&usdhc2_pwrseq>;
status = "okay"; status = "okay";
}; };
...@@ -302,7 +302,7 @@ MX7D_PAD_SAI1_RX_SYNC__I2C4_SCL 0x4000007f ...@@ -302,7 +302,7 @@ MX7D_PAD_SAI1_RX_SYNC__I2C4_SCL 0x4000007f
>; >;
}; };
pinctrl_reg_ap6212: regap6212grp { pinctrl_reg_wlreg_on: regregongrp {
fsl,pins = < fsl,pins = <
MX7D_PAD_ECSPI1_SCLK__GPIO4_IO16 0x59 MX7D_PAD_ECSPI1_SCLK__GPIO4_IO16 0x59
>; >;
......
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