summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts
diff options
context:
space:
mode:
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>2017-12-02 22:40:37 +0100
committerKevin Hilman <khilman@baylibre.com>2017-12-08 10:46:43 -0800
commit45293920c62cc391ce0b601646d90b33e379ee96 (patch)
tree20ab7cd582e7277b2118825fd210a322f2e096b7 /arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts
parent50290cfe50bd94deb221731a25347d0ac12d9f40 (diff)
ARM64: dts: meson-gxm: add the PHY interrupt line on Khadas VIM2
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>
Diffstat (limited to 'arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts')
-rw-r--r--arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts b/arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts
index d2595c08ebe7..1448c3dba08e 100644
--- a/arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts
+++ b/arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts
@@ -244,6 +244,9 @@
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>;
};
};