ARM: dts: at91: sam9x60: Add AIC node
authorManikandan Muralidharan <manikandan.m@microchip.com>
Mon, 10 Feb 2025 06:51:37 +0000 (12:21 +0530)
committerEugen Hristev <eugen.hristev@linaro.org>
Wed, 12 Feb 2025 08:30:23 +0000 (10:30 +0200)
Add Advanced Interrupt Controller node and define it as interrupt
parent in sam9x60 SoC DT.

Signed-off-by: Manikandan Muralidharan <manikandan.m@microchip.com>
Reviewed-by: Eugen Hristev <eugen.hristev@linaro.org>
arch/arm/dts/sam9x60.dtsi

index 3b684fc..4ff1085 100644 (file)
@@ -17,6 +17,7 @@
 /{
        model = "Microchip SAM9X60 SoC";
        compatible = "microchip,sam9x60";
+       interrupt-parent = <&aic>;
 
        aliases {
                serial0 = &dbgu;
                                reg = <0xffffea00 0x100>;
                        };
 
+                       aic: interrupt-controller@fffff100 {
+                               compatible = "microchip,sam9x60-aic";
+                               #interrupt-cells = <3>;
+                               interrupt-controller;
+                               reg = <0xfffff100 0x100>;
+                               atmel,external-irqs = <31>;
+                       };
+
                        dbgu: serial@fffff200 {
                                compatible = "atmel,at91sam9260-dbgu", "atmel,at91sam9260-usart";
                                reg = <0xfffff200 0x200>;