]> Git Repo - linux.git/commitdiff
arm64: dts: meson: g12b: odroid-n2: add the Ethernet PHY interrupt line
authorMartin Blumenstingl <[email protected]>
Sat, 15 Jun 2019 10:43:50 +0000 (12:43 +0200)
committerKevin Hilman <[email protected]>
Thu, 20 Jun 2019 03:37:03 +0000 (20:37 -0700)
The interrupt line of the RTL8211F PHY is routed to the GPIOZ_14 pad.
Describe this in the device tree so the PHY framework doesn't have to
poll the PHY status.

Acked-by: Neil Armstrong <[email protected]>
Tested-by: Neil Armstrong <[email protected]>
Signed-off-by: Martin Blumenstingl <[email protected]>
Signed-off-by: Kevin Hilman <[email protected]>
arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dts

index 82b42c073c5e65352c6efcd851eac889b2606039..81780ffcc7f0d0d3ff3fa766cdf49e6b4b7ff0c8 100644 (file)
                reset-assert-us = <10000>;
                reset-deassert-us = <30000>;
                reset-gpios = <&gpio GPIOZ_15 (GPIO_ACTIVE_LOW | GPIO_OPEN_DRAIN)>;
+
+               interrupt-parent = <&gpio_intc>;
+               /* MAC_INTR on GPIOZ_14 */
+               interrupts = <26 IRQ_TYPE_LEVEL_LOW>;
        };
 };
 
This page took 0.073921 seconds and 4 git commands to generate.