Skip to content

Commit

Permalink
LF-9716 arm64: dts: imx93-14x14-evk: correct the GPIO pins for usdhc3
Browse files Browse the repository at this point in the history
According to SPF-55129 A2, the reset pin is #12 from pcal6524,
and the WiFi regulator(M2_nDIS1) is #20 from pcal6524.
Both indexes start from 0 here.

Signed-off-by: Shenwei Wang <[email protected]>
Reviewed-by: Frank Li <[email protected]>
  • Loading branch information
Shenwei Wang committed Aug 8, 2023
1 parent 0c557d5 commit cd21416
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions arch/arm64/boot/dts/freescale/imx93-14x14-evk.dts
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,16 @@

usdhc3_pwrseq: usdhc3_pwrseq {
compatible = "mmc-pwrseq-simple";
reset-gpios = <&pcal6524 20 GPIO_ACTIVE_LOW>;
reset-gpios = <&pcal6524 12 GPIO_ACTIVE_LOW>;
};

reg_usdhc3_vmmc: usdhc3-vmmc {
compatible = "regulator-fixed";
regulator-name = "M2_WiFi_ON";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
gpios = <&pcal6524 20 GPIO_ACTIVE_HIGH>;
enable-active-high;
};

reg_dvdd_sel: regulator-dvdd_sel {
Expand Down Expand Up @@ -617,7 +626,7 @@
pinctrl-1 = <&pinctrl_usdhc3>, <&pinctrl_usdhc3_wlan>;
pinctrl-2 = <&pinctrl_usdhc3>, <&pinctrl_usdhc3_wlan>;
mmc-pwrseq = <&usdhc3_pwrseq>;
pinctrl-assert-gpios = <&pcal6524 13 GPIO_ACTIVE_HIGH>;
vmmc-supply = <&reg_usdhc3_vmmc>;
bus-width = <4>;
keep-power-in-suspend;
non-removable;
Expand Down

0 comments on commit cd21416

Please sign in to comment.