diff options
author | Philippe Schenker <philippe.schenker@toradex.com> | 2023-03-20 18:23:44 +0100 |
---|---|---|
committer | Emanuele Ghidoli <emanuele.ghidoli@toradex.com> | 2023-03-22 10:27:01 +0000 |
commit | e23c36833d51923ea2f2ad9730a9ea54a9a54e6f (patch) | |
tree | a019f8959e8990ea68736fd602ab46269584a437 | |
parent | 88ca78cfba10a6047423138dbf11d14fb9a94d78 (diff) |
arm64: dts: colibri-imx8x: Add wi-fi
Add support for Wi-Fi that is connected to the SoC with PCIe. Make sure
the clock is enabled with a GPIO Hog. Do also make sure the GPIO for
power-down is high (power enabled).
Upstream-Status: Pending
- There is currently no support for PCIe on mainline.
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
-rw-r--r-- | arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi index 9e7c65a36bde..a5fc6adafe46 100644 --- a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi @@ -327,6 +327,18 @@ "USB_BYPASS_N", "Wi-Fi_PDn", "Wi-Fi_WKUP_BT"; + + pcie-clk-on-hog { + gpio-hog; + gpios = <3 GPIO_ACTIVE_HIGH>; + output-high; + }; + + wifi-power-on-hog { + gpio-hog; + gpios = <6 GPIO_ACTIVE_HIGH>; + output-high; + }; }; }; @@ -710,7 +722,17 @@ pwr-delay = <10>; }; -/* TODO on-module PCIe for Wi-Fi */ +/* On-module PCIe for Wi-Fi */ +&pcieb{ + compatible = "fsl,imx8qxp-pcie", "snps,dw-pcie"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_pcieb &pinctrl_wifi>; + ext_osc = <1>; + fsl,max-link-speed = <1>; + hard-wired = <1>; + reset-gpio = <&lsio_gpio4 0 GPIO_ACTIVE_LOW>; + status = "okay"; +}; /* On-module I2S */ &sai0 { |