diff options
author | Clément Léger <clement.leger@bootlin.com> | 2022-03-31 10:55:07 +0200 |
---|---|---|
committer | Eugen Hristev <eugen.hristev@microchip.com> | 2022-04-01 15:42:46 +0300 |
commit | d29e55a6c23dac4b8dc51e1fbd19037c4deaf35b (patch) | |
tree | b4ebb1a85782795f89d9e59c181c75314456511b | |
parent | 70fb1ae9dd30b1dc6cf0c6ba585f822ef58106e5 (diff) | |
download | u-boot-d29e55a6c23dac4b8dc51e1fbd19037c4deaf35b.zip u-boot-d29e55a6c23dac4b8dc51e1fbd19037c4deaf35b.tar.gz u-boot-d29e55a6c23dac4b8dc51e1fbd19037c4deaf35b.tar.bz2 |
ARM: dts: at91: sama5d2: add AIC node
When using interrupts property, a global interrupt controller needs to
be added to avoid warnings when compiling device-tree:
arch/arm/dts/at91-sama5d2_xplained.dtb: Warning (interrupts_property):
/ahb/apb/timer@f800c000: Missing interrupt-parent
Add AIC node as the sama5d2 global interrupt controller.
Signed-off-by: Clément Léger <clement.leger@bootlin.com>
-rw-r--r-- | arch/arm/dts/sama5d2.dtsi | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/dts/sama5d2.dtsi b/arch/arm/dts/sama5d2.dtsi index 038cd73..7de58e4 100644 --- a/arch/arm/dts/sama5d2.dtsi +++ b/arch/arm/dts/sama5d2.dtsi @@ -3,6 +3,7 @@ / { model = "Atmel SAMA5D2 family SoC"; compatible = "atmel,sama5d2"; + interrupt-parent = <&aic>; aliases { spi0 = &spi0; @@ -762,6 +763,14 @@ status = "disabled"; }; + aic: interrupt-controller@fc020000 { + #interrupt-cells = <3>; + compatible = "atmel,sama5d2-aic"; + interrupt-controller; + reg = <0xfc020000 0x200>; + atmel,external-irqs = <49>; + }; + i2c1: i2c@fc028000 { compatible = "atmel,sama5d2-i2c"; reg = <0xfc028000 0x100>; |