mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00
arm64: dts: imx8mq-librem5: add power sequencing for M.2 cards
Some wifi cards need reset asserted until after the power supplies have been enabled. So wire up the W_DISABLE signal for the SDIO port (WIFI_REG_ON net) and the BT_REG_ON net to use it for power sequencing. Signed-off-by: Angus Ainslie <angus@akkea.ca> Signed-off-by: Martin Kepplinger <martin.kepplinger@puri.sm> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
This commit is contained in:
parent
c3817595d6
commit
2344af0d5b
1 changed files with 23 additions and 0 deletions
|
@ -198,6 +198,14 @@
|
|||
};
|
||||
};
|
||||
|
||||
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>;
|
||||
|
@ -312,6 +320,13 @@
|
|||
>;
|
||||
};
|
||||
|
||||
pinctrl_bt: btgrp {
|
||||
fsl,pins = <
|
||||
/* BT_REG_ON */
|
||||
MX8MQ_IOMUXC_SAI5_MCLK_GPIO3_IO25 0x83
|
||||
>;
|
||||
};
|
||||
|
||||
pinctrl_charger_in: chargeringrp {
|
||||
fsl,pins = <
|
||||
/* CHRG_INT */
|
||||
|
@ -643,6 +658,13 @@
|
|||
>;
|
||||
};
|
||||
|
||||
pinctrl_wifi_disable: wifidisablegrp {
|
||||
fsl,pins = <
|
||||
/* WIFI_REG_ON */
|
||||
MX8MQ_IOMUXC_SAI3_RXC_GPIO4_IO29 0x83
|
||||
>;
|
||||
};
|
||||
|
||||
pinctrl_wifi_pwr: wifipwrgrp {
|
||||
fsl,pins = <
|
||||
/* WIFI3V3_EN */
|
||||
|
@ -1212,6 +1234,7 @@
|
|||
pinctrl-2 = <&pinctrl_usdhc2_200mhz>;
|
||||
bus-width = <4>;
|
||||
vmmc-supply = <®_wifi_3v3>;
|
||||
mmc-pwrseq = <&usdhc2_pwrseq>;
|
||||
post-power-on-delay-ms = <1000>;
|
||||
cd-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>;
|
||||
disable-wp;
|
||||
|
|
Loading…
Add table
Reference in a new issue