diff options
author | Martin Blumenstingl <martin.blumenstingl@googlemail.com> | 2017-12-03 00:40:37 +0300 |
---|---|---|
committer | Kevin Hilman <khilman@baylibre.com> | 2017-12-08 21:46:43 +0300 |
commit | 45293920c62cc391ce0b601646d90b33e379ee96 (patch) | |
tree | 20ab7cd582e7277b2118825fd210a322f2e096b7 /arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts | |
parent | 50290cfe50bd94deb221731a25347d0ac12d9f40 (diff) | |
download | linux-45293920c62cc391ce0b601646d90b33e379ee96.tar.xz |
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.dts | 3 |
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>; }; }; |