summaryrefslogtreecommitdiffstats
path: root/arch/arm64/boot/dts/amlogic
diff options
context:
space:
mode:
authorMartin Blumenstingl2017-12-02 22:40:37 +0100
committerKevin Hilman2017-12-08 19:46:43 +0100
commit45293920c62cc391ce0b601646d90b33e379ee96 (patch)
tree20ab7cd582e7277b2118825fd210a322f2e096b7 /arch/arm64/boot/dts/amlogic
parentARM64: dts: meson: add comments with the GPIO for the PHY interrupts (diff)
downloadkernel-qcow2-linux-45293920c62cc391ce0b601646d90b33e379ee96.tar.gz
kernel-qcow2-linux-45293920c62cc391ce0b601646d90b33e379ee96.tar.xz
kernel-qcow2-linux-45293920c62cc391ce0b601646d90b33e379ee96.zip
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')
-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>;
};
};