mirror of
https://github.com/torvalds/linux.git
synced 2026-10-12 21:31:03 +02:00
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>
This commit is contained in:
parent
ad3af29578
commit
90ca55dc13
|
|
@ -46,9 +46,25 @@ ethphy2_0: ethernet-phy@0 {
|
|||
};
|
||||
};
|
||||
|
||||
&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 @@ pinctrl_enet2_phy: enet2phygrp {
|
|||
<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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user