diff options
author | Stefan Agner <stefan.agner@toradex.com> | 2018-01-31 17:43:07 +0100 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2018-10-11 19:40:16 +0200 |
commit | c0b1bc4fc40f5345a16af2b09cd04ef0f4a68c05 (patch) | |
tree | 5d6e3541262e74afe164e4c84d36eb4408d38698 | |
parent | 3dba694c1d44066a65c1cae9b81a2b2419eb1bcb (diff) |
apalis-imx8qm: add USB HSIC support
With that external USBH2/3 do work now. Also the on-module
Azurewave AW-CM276NF Wi-Fi/Bluetooth enumerates after downloading
the firmware over PCIe.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
(cherry picked from commit 321682bbb78507ae3dc84a3cd8ced2186b00818c)
(cherry picked from commit 01e32582a087bef1d5b382907f6ac65bf7afa196)
-rw-r--r-- | arch/arm64/boot/dts/freescale/fsl-imx8qm-apalis.dts | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/freescale/fsl-imx8qm-apalis.dts b/arch/arm64/boot/dts/freescale/fsl-imx8qm-apalis.dts index b3f402bd4e2e..80f2a265ec2a 100644 --- a/arch/arm64/boot/dts/freescale/fsl-imx8qm-apalis.dts +++ b/arch/arm64/boot/dts/freescale/fsl-imx8qm-apalis.dts @@ -351,6 +351,19 @@ >; }; + pinctrl_usb_hsic_idle: usbh1_1 { + fsl,pins = < + SC_P_USB_HSIC0_DATA_CONN_USB_HSIC0_DATA 0xc60000c5 + SC_P_USB_HSIC0_STROBE_CONN_USB_HSIC0_STROBE 0xc60000c5 + >; + }; + + pinctrl_usb_hsic_active: usbh1_2 { + fsl,pins = < + SC_P_USB_HSIC0_STROBE_CONN_USB_HSIC0_STROBE 0xc60000d5 + >; + }; + pinctrl_gpio8: gpio8 { fsl,pins = < SC_P_MLB_DATA_LSIO_GPIO3_IO28 0x00000021 @@ -411,6 +424,7 @@ adp-disable; power-polarity-active-high; disable-over-current; + ci-disable-lpm; status = "okay"; }; @@ -419,6 +433,17 @@ status = "okay"; }; +&usbh1 { + pinctrl-names = "idle", "active"; + pinctrl-0 = <&pinctrl_usb_hsic_idle>; + pinctrl-1 = <&pinctrl_usb_hsic_active>; + srp-disable; + hnp-disable; + adp-disable; + disable-over-current; + status = "okay"; +}; + &fec1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_fec1>; |