Commit 818e8729 authored by Marcel Ziswiler's avatar Marcel Ziswiler Committed by Thierry Reding

ARM: tegra: apalis-tk1: Hog group for ethernet, PCIe, reset GPIOs

The Apalis TK1 module uses some dedicated GPIOs as I210 gigabit Ethernet
controller reset and to control RESET_MOCI aka reset module output
carrier input on MXM3 pin 26. The Apalis Evaluation Board furthermore
uses Apalis GPIO7 on MXM3 pin 15 as reset signal for its PLX PEX 8605
PCIe Switch.
Signed-off-by: default avatarMarcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
parent 405698f0
......@@ -275,3 +275,13 @@ reg_usbh_vbus: regulator-usbh-vbus {
vin-supply = <&reg_5v0>;
};
};
&gpio {
/* Apalis GPIO7 MXM3 pin 15 PLX PEX 8605 PCIe Switch Reset */
pex_perst_n {
gpio-hog;
gpios = <TEGRA_GPIO(DD, 1) GPIO_ACTIVE_HIGH>;
output-high;
line-name = "PEX_PERST_N";
};
};
......@@ -2070,3 +2070,21 @@ gpu-shutdown-trip {
};
};
};
&gpio {
/* I210 Gigabit Ethernet Controller Reset */
lan_reset_n {
gpio-hog;
gpios = <TEGRA_GPIO(S, 2) GPIO_ACTIVE_HIGH>;
output-high;
line-name = "LAN_RESET_N";
};
/* Control MXM3 pin 26 Reset Module Output Carrier Input */
reset_moci_ctrl {
gpio-hog;
gpios = <TEGRA_GPIO(U, 4) GPIO_ACTIVE_HIGH>;
output-high;
line-name = "RESET_MOCI_CTRL";
};
};
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment