arm64: dts: ti: k3-j721e-main: Add Main NavSS Interrupt controller node
authorSuman Anna <s-anna@ti.com>
Fri, 31 May 2019 00:48:48 +0000 (19:48 -0500)
committerTero Kristo <t-kristo@ti.com>
Wed, 19 Jun 2019 08:59:49 +0000 (11:59 +0300)
Add the Interrupt controller node for the Interrupt Router present within
the Main NavSS module. This Interrupt Router can route 192 interrupts to
the GIC_SPI in 3 sets of 64 interrupts each. Note that the last set is
reserved for the host ID A72_3 for hypervisor usecases, so the node is
added only with 2 sets for the Linux kernel context (host id A72_2). This
is specified through the ti,sci-rm-range-girq property.

Signed-off-by: Suman Anna <s-anna@ti.com>
Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Tero Kristo <t-kristo@ti.com>
arch/arm64/boot/dts/ti/k3-j721e-main.dtsi

index d42912044a5d6d0078d3c8a79ddc40220dccecc6..36c51ff9a898ff51aa656c8dc4ec8ded0fa24dc1 100644 (file)
                #iommu-cells = <1>;
        };
 
+       cbass_main_navss: interconnect0 {
+               compatible = "simple-bus";
+               #address-cells = <2>;
+               #size-cells = <2>;
+               ranges;
+
+               main_navss_intr: interrupt-controller1 {
+                       compatible = "ti,sci-intr";
+                       ti,intr-trigger-type = <4>;
+                       interrupt-controller;
+                       interrupt-parent = <&gic500>;
+                       #interrupt-cells = <2>;
+                       ti,sci = <&dmsc>;
+                       ti,sci-dst-id = <14>;
+                       ti,sci-rm-range-girq = <0>, <2>;
+               };
+       };
+
        secure_proxy_main: mailbox@32c00000 {
                compatible = "ti,am654-secure-proxy";
                #mbox-cells = <1>;