diff options
author | Alexander Stein <alexander.stein@ew.tq-group.com> | 2023-12-18 13:54:41 +0100 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2024-02-03 12:40:31 +0800 |
commit | 90ca55dc1382887f9e63460dca092b9b7a79db03 (patch) | |
tree | 857cc4315872f1f55c0c0ed914852b49e5867482 /arch/arm/boot/dts/nxp | |
parent | ad3af2957802e3c44aee91aa61c5a1de9699deb7 (diff) |
ARM: dts: imx7[d]-mba7: hog Mini PCIe signals
PCIE_DIS & PCIE_RST (correctly named W_DISABLE# & PERST#) affect USB
devices as well. So hog them to make USB devices attached to Mini PCIe
connector available, despite PCIe being disabled.
Supply voltages are enabled unconditionally.
Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/nxp')
-rw-r--r-- | arch/arm/boot/dts/nxp/imx/imx7d-mba7.dts | 28 |
1 files changed, 24 insertions, 4 deletions
diff --git a/arch/arm/boot/dts/nxp/imx/imx7d-mba7.dts b/arch/arm/boot/dts/nxp/imx/imx7d-mba7.dts index 34adf76b713e..8f2f3898d9d1 100644 --- a/arch/arm/boot/dts/nxp/imx/imx7d-mba7.dts +++ b/arch/arm/boot/dts/nxp/imx/imx7d-mba7.dts @@ -46,9 +46,25 @@ }; }; +&gpio2 { + pcie-dis-hog { + gpio-hog; + gpios = <29 GPIO_ACTIVE_HIGH>; + output-high; + line-name = "pcie-dis"; + }; + + pcie-rst-hog { + gpio-hog; + gpios = <12 GPIO_ACTIVE_HIGH>; + output-high; + line-name = "pcie-rst"; + }; +}; + &iomuxc { pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_hog_mba7_1>; + pinctrl-0 = <&pinctrl_hog_mba7_1>, <&pinctrl_hog_pcie>; pinctrl_enet2: enet2grp { fsl,pins = @@ -76,15 +92,19 @@ <MX7D_PAD_EPDC_PWR_STAT__GPIO2_IO31 0x40000078>; }; - pinctrl_pcie: pciegrp { + pinctrl_hog_pcie: hogpciegrp { fsl,pins = - /* #pcie_wake */ - <MX7D_PAD_EPDC_PWR_COM__GPIO2_IO30 0x70>, /* #pcie_rst */ <MX7D_PAD_SD2_CLK__GPIO5_IO12 0x70>, /* #pcie_dis */ <MX7D_PAD_EPDC_BDR1__GPIO2_IO29 0x70>; }; + + pinctrl_pcie: pciegrp { + fsl,pins = + /* #pcie_wake */ + <MX7D_PAD_EPDC_PWR_COM__GPIO2_IO30 0x70>; + }; }; &iomuxc_lpsr { |