arm64: tegra: Make BCM89610 PHY interrupt as active low
authorBhadram Varka <vbhadram@nvidia.com>
Wed, 2 May 2018 15:14:40 +0000 (20:44 +0530)
committerThierry Reding <treding@nvidia.com>
Thu, 3 May 2018 09:48:16 +0000 (11:48 +0200)
Need to configure PHY interrupt as active low for P3310 Tegra186
platform otherwise it results in spurious interrupts.

This issue wasn't seen before because the generic PHY driver without
interrupt support was used.

Signed-off-by: Bhadram Varka <vbhadram@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi

index a8baad7..13f57ff 100644 (file)
@@ -46,7 +46,7 @@
                                compatible = "ethernet-phy-ieee802.3-c22";
                                reg = <0x0>;
                                interrupt-parent = <&gpio>;
-                               interrupts = <TEGRA_MAIN_GPIO(M, 5) IRQ_TYPE_LEVEL_HIGH>;
+                               interrupts = <TEGRA_MAIN_GPIO(M, 5) IRQ_TYPE_LEVEL_LOW>;
                        };
                };
        };