Add sirq node for Actions Semi S700 SoC with 3 SIRQ pins support,
in which external interrupt controllers can be connected.

Example:
atc260x: atc2603c@65 {
        interrupt-parent = <&sirq>;
        interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
};

Signed-off-by: Parthiban Nallathambi <[email protected]>
Signed-off-by: Saravanan Sekar <[email protected]>
---
 arch/arm64/boot/dts/actions/s700.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/arch/arm64/boot/dts/actions/s700.dtsi 
b/arch/arm64/boot/dts/actions/s700.dtsi
index 192c7b39c8c1..d87602ebd689 100644
--- a/arch/arm64/boot/dts/actions/s700.dtsi
+++ b/arch/arm64/boot/dts/actions/s700.dtsi
@@ -174,6 +174,16 @@
                        #clock-cells = <1>;
                };
 
+               sirq: interrupt-controller@e01b0200 {
+                       compatible = "actions,owl-sirq";
+                       reg = <0x0 0xe01b0000 0x0 0x1000>;
+                       interrupt-controller;
+                       #interrupt-cells = <3>;
+                       actions,sirq-shared-reg;
+                       actions,sirq-reg-offset = <0x200 0x200 0x200>;
+                       actions,ext-irq-range = <13 15>;
+               };
+
                sps: power-controller@e01b0100 {
                        compatible = "actions,s700-sps";
                        reg = <0x0 0xe01b0100 0x0 0x100>;
-- 
2.17.2

Reply via email to