summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi
diff options
context:
space:
mode:
authorHuqiang Qin <huqiang.qin@amlogic.com>2023-07-24 09:01:08 +0300
committerLinus Walleij <linus.walleij@linaro.org>2023-08-07 16:35:24 +0300
commit6387e0aa812297c4204d805b3df053fd58b699d1 (patch)
tree9888fcffcc11a2b4ffc04989baea5087696be7d1 /arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi
parenteb3d3349a3de70cd8b5994dcf87389219e719261 (diff)
downloadlinux-6387e0aa812297c4204d805b3df053fd58b699d1.tar.xz
arm64: dts: Replace the IRQ number with the IRQID macro definition
Replacing IRQ numbers with IRQID macro definitions makes node properties easier to understand and also makes GPIO interrupts easier to use. Associated platforms: - Amlogic Meson-G12A - Amlogic Meson-G12B - Amlogic Meson-SM1 Signed-off-by: Huqiang Qin <huqiang.qin@amlogic.com> Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org> Link: https://lore.kernel.org/r/20230724060108.1403662-4-huqiang.qin@amlogic.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi')
-rw-r--r--arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi
index 24d0442dffb2..01aa970b2f8c 100644
--- a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi
@@ -185,7 +185,7 @@
interrupt-parent = <&gpio_intc>;
/* MAC_INTR on GPIOZ_14 */
- interrupts = <26 IRQ_TYPE_LEVEL_LOW>;
+ interrupts = <IRQID_GPIOZ_14 IRQ_TYPE_LEVEL_LOW>;
};
};