summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/amlogic/meson-gxm-q200.dts
diff options
context:
space:
mode:
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>2017-12-03 00:40:36 +0300
committerKevin Hilman <khilman@baylibre.com>2017-12-08 21:46:33 +0300
commit50290cfe50bd94deb221731a25347d0ac12d9f40 (patch)
treec7f417cbff54bf55f732e7fe684b4ce522931d07 /arch/arm64/boot/dts/amlogic/meson-gxm-q200.dts
parent0cb6c604232ccb6bbbd148c7451f99f9101b46d7 (diff)
downloadlinux-50290cfe50bd94deb221731a25347d0ac12d9f40.tar.xz
ARM64: dts: meson: add comments with the GPIO for the PHY interrupts
Currently one has to look/calculate the GPIO for the PHY interrupts manually. Add a comment for the existing PHY interrupt lines to make it easier to find out which GPIO is used. This is done using the following calculation: - number of GPIO AO pins (14 on GXBB: GPIOAO_0..13) - add the offset of the pin which is used for the interrupt (for example GPIOZ_15 = 15 on Odroid-C2) 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-q200.dts')
-rw-r--r--arch/arm64/boot/dts/amlogic/meson-gxm-q200.dts1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/amlogic/meson-gxm-q200.dts b/arch/arm64/boot/dts/amlogic/meson-gxm-q200.dts
index 66c6da7e112c..9847fce443a8 100644
--- a/arch/arm64/boot/dts/amlogic/meson-gxm-q200.dts
+++ b/arch/arm64/boot/dts/amlogic/meson-gxm-q200.dts
@@ -111,6 +111,7 @@
reg = <0>;
max-speed = <1000>;
interrupt-parent = <&gpio_intc>;
+ /* MAC_INTR on GPIOH_3 */
interrupts = <29 IRQ_TYPE_LEVEL_LOW>;
};
};