ARM: SPEAr3xx: DT: add shirq node for interrupt multiplexor
authorShiraz Hashim <shiraz.hashim@st.com>
Fri, 3 Aug 2012 10:30:18 +0000 (16:00 +0530)
committerViresh Kumar <viresh.kumar@linaro.org>
Mon, 26 Nov 2012 11:25:32 +0000 (16:55 +0530)
shirq layer has been adapted to DT, add corresponding nodes in all
SPEAr3xx variants.

Signed-off-by: Shiraz Hashim <shiraz.hashim@st.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
arch/arm/boot/dts/spear300.dtsi
arch/arm/boot/dts/spear310.dtsi
arch/arm/boot/dts/spear320.dtsi

index fdac8713367a3b306b2276eab668166b09f7ee20..090adc65601504d4744f3d8156d3fdc464c60521 100644 (file)
                        status = "disabled";
                };
 
+               shirq: interrupt-controller@0x50000000 {
+                       compatible = "st,spear300-shirq";
+                       reg = <0x50000000 0x1000>;
+                       interrupts = <28>;
+                       #interrupt-cells = <1>;
+                       interrupt-controller;
+               };
+
                apb {
                        #address-cells = <1>;
                        #size-cells = <1>;
                                compatible = "arm,pl061", "arm,primecell";
                                gpio-controller;
                                reg = <0xa9000000 0x1000>;
+                               interrupts = <8>;
+                               interrupt-parent = <&shirq>;
                                status = "disabled";
                        };
 
                        kbd@a0000000 {
                                compatible = "st,spear300-kbd";
                                reg = <0xa0000000 0x1000>;
+                               interrupts = <7>;
+                               interrupt-parent = <&shirq>;
                                status = "disabled";
                        };
                };
index 930303e48df932e42f1c9d4042cbe5290fff4d20..e814e5e9708318f968ca03224efae27d92242bb6 100644 (file)
                        status = "disabled";
                };
 
+               shirq: interrupt-controller@0xb4000000 {
+                       compatible = "st,spear310-shirq";
+                       reg = <0xb4000000 0x1000>;
+                       interrupts = <28 29 30 1>;
+                       #interrupt-cells = <1>;
+                       interrupt-controller;
+               };
+
                apb {
                        #address-cells = <1>;
                        #size-cells = <1>;
                        serial@b2000000 {
                                compatible = "arm,pl011", "arm,primecell";
                                reg = <0xb2000000 0x1000>;
+                               interrupts = <8>;
+                               interrupt-parent = <&shirq>;
                                status = "disabled";
                        };
 
                        serial@b2080000 {
                                compatible = "arm,pl011", "arm,primecell";
                                reg = <0xb2080000 0x1000>;
+                               interrupts = <9>;
+                               interrupt-parent = <&shirq>;
                                status = "disabled";
                        };
 
                        serial@b2100000 {
                                compatible = "arm,pl011", "arm,primecell";
                                reg = <0xb2100000 0x1000>;
+                               interrupts = <10>;
+                               interrupt-parent = <&shirq>;
                                status = "disabled";
                        };
 
                        serial@b2180000 {
                                compatible = "arm,pl011", "arm,primecell";
                                reg = <0xb2180000 0x1000>;
+                               interrupts = <11>;
+                               interrupt-parent = <&shirq>;
                                status = "disabled";
                        };
 
                        serial@b2200000 {
                                compatible = "arm,pl011", "arm,primecell";
                                reg = <0xb2200000 0x1000>;
+                               interrupts = <12>;
+                               interrupt-parent = <&shirq>;
                                status = "disabled";
                        };
 
index 6ff0d1e0e46101106fc5e08065fd1e89ae63aba5..c056a84deabf90cfdf0ae937faaabf6fd5ff13ec 100644 (file)
@@ -30,7 +30,8 @@
                clcd@90000000 {
                        compatible = "arm,pl110", "arm,primecell";
                        reg = <0x90000000 0x1000>;
-                       interrupts = <33>;
+                       interrupts = <8>;
+                       interrupt-parent = <&shirq>;
                        status = "disabled";
                };
 
                sdhci@70000000 {
                        compatible = "st,sdhci-spear";
                        reg = <0x70000000 0x100>;
-                       interrupts = <29>;
+                       interrupts = <10>;
+                       interrupt-parent = <&shirq>;
                        status = "disabled";
                };
 
+               shirq: interrupt-controller@0xb3000000 {
+                       compatible = "st,spear320-shirq";
+                       reg = <0xb3000000 0x1000>;
+                       interrupts = <30 28 29 1>;
+                       #interrupt-cells = <1>;
+                       interrupt-controller;
+               };
+
                spi1: spi@a5000000 {
                        compatible = "arm,pl022", "arm,primecell";
                        reg = <0xa5000000 0x1000>;
+                       interrupts = <15>;
+                       interrupt-parent = <&shirq>;
                        #address-cells = <1>;
                        #size-cells = <0>;
                        status = "disabled";
@@ -64,6 +76,8 @@
                spi2: spi@a6000000 {
                        compatible = "arm,pl022", "arm,primecell";
                        reg = <0xa6000000 0x1000>;
+                       interrupts = <16>;
+                       interrupt-parent = <&shirq>;
                        #address-cells = <1>;
                        #size-cells = <0>;
                        status = "disabled";
                                #size-cells = <0>;
                                compatible = "snps,designware-i2c";
                                reg = <0xa7000000 0x1000>;
+                               interrupts = <21>;
+                               interrupt-parent = <&shirq>;
                                status = "disabled";
                        };
 
                        serial@a3000000 {
                                compatible = "arm,pl011", "arm,primecell";
                                reg = <0xa3000000 0x1000>;
+                               interrupts = <13>;
+                               interrupt-parent = <&shirq>;
                                status = "disabled";
                        };
 
                        serial@a4000000 {
                                compatible = "arm,pl011", "arm,primecell";
                                reg = <0xa4000000 0x1000>;
+                               interrupts = <14>;
+                               interrupt-parent = <&shirq>;
                                status = "disabled";
                        };