OSDN Git Service

ARM: tegra: colibri_t20: add gpio hog to unreset usb ethernet chip
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>
Sun, 2 Sep 2018 10:08:53 +0000 (12:08 +0200)
committerThierry Reding <treding@nvidia.com>
Wed, 26 Sep 2018 14:55:16 +0000 (16:55 +0200)
Add GPIO hog to unreset ASIX AX88772B USB Ethernet chip.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm/boot/dts/tegra20-colibri.dtsi

index 9ec56f4..281e0dd 100644 (file)
                clock-names = "pll_a", "pll_a_out0", "mclk";
        };
 };
+
+&gpio {
+       lan-reset-n {
+               gpio-hog;
+               gpios = <TEGRA_GPIO(V, 4) GPIO_ACTIVE_HIGH>;
+               output-high;
+               line-name = "LAN_RESET#";
+       };
+};