]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commitdiff
arm64: dts: meson: g12b: odroid-n2: add the Ethernet PHY interrupt line
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Sat, 15 Jun 2019 10:43:50 +0000 (12:43 +0200)
committerKevin Hilman <khilman@baylibre.com>
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 <narmstrong@baylibre.com>
Tested-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
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>;
        };
 };