diff options
author | Huqiang Qin <huqiang.qin@amlogic.com> | 2023-07-24 08:01:08 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2023-08-07 15:35:24 +0200 |
commit | 6387e0aa812297c4204d805b3df053fd58b699d1 (patch) | |
tree | 9888fcffcc11a2b4ffc04989baea5087696be7d1 /arch/arm64/boot/dts/amlogic/meson-g12b-bananapi-cm4.dtsi | |
parent | pinctrl: Replace the IRQ number in the driver with the IRQID macro definition (diff) | |
download | linux-6387e0aa812297c4204d805b3df053fd58b699d1.tar.xz linux-6387e0aa812297c4204d805b3df053fd58b699d1.zip |
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-bananapi-cm4.dtsi')
-rw-r--r-- | arch/arm64/boot/dts/amlogic/meson-g12b-bananapi-cm4.dtsi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-bananapi-cm4.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12b-bananapi-cm4.dtsi index 97e522921b06..428b35e1d79c 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12b-bananapi-cm4.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12b-bananapi-cm4.dtsi @@ -201,7 +201,7 @@ interrupt-parent = <&gpio_intc>; /* MAC_INTR on GPIOZ_14 */ - interrupts = <26 IRQ_TYPE_LEVEL_LOW>; + interrupts = <IRQID_GPIOZ_14 IRQ_TYPE_LEVEL_LOW>; }; }; |