]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
ARM64: dts: meson-gxm: add the PHY interrupt line on Khadas VIM2
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Sat, 2 Dec 2017 21:40:37 +0000 (22:40 +0100)
committerKevin Hilman <khilman@baylibre.com>
Fri, 8 Dec 2017 18:46:43 +0000 (10:46 -0800)
The INTB/PMEB pin of the RTL8211F PHY on the Khadas VIM2 is routed to
GPIOZ_15. Add the corresponding interrupt using the GPIO interrupt
controller so the PHY framework doesn't have to poll the PHY for it's
status.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Reviewed-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts

index d2595c08ebe7d5b89e0920ca55e8c292f5e988e2..1448c3dba08e8df2bf3650af1213b8b9ffca8de4 100644 (file)
        external_phy: ethernet-phy@0 {
                /* Realtek RTL8211F (0x001cc916) */
                reg = <0>;
+               interrupt-parent = <&gpio_intc>;
+               /* MAC_INTR on GPIOZ_15 */
+               interrupts = <25 IRQ_TYPE_LEVEL_LOW>;
        };
 };