]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: aspeed: Add coprocessor interrupt controller
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 24 Jul 2018 04:24:02 +0000 (14:24 +1000)
committerJoel Stanley <joel@jms.id.au>
Wed, 25 Jul 2018 08:08:03 +0000 (17:38 +0930)
Add a node for the CVIC (the coprocessor interrupt controller) and
add a label to the SRAM node so it can be referenced from the board
device-tree file.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Joel Stanley <joel@jms.id.au>
arch/arm/boot/dts/aspeed-g4.dtsi
arch/arm/boot/dts/aspeed-g5.dtsi

index 680336ac06f81cd871a077682bcb99faa00c224b..b23a983f95a5379f9224d3dd602a1e2ee0df094d 100644 (file)
@@ -92,6 +92,12 @@ vic: interrupt-controller@1e6c0080 {
                        reg = <0x1e6c0080 0x80>;
                };
 
+               cvic: copro-interrupt-controller@1e6c2000 {
+                       compatible = "aspeed,ast2400-cvic", "aspeed-cvic";
+                       valid-sources = <0x7fffffff>;
+                       reg = <0x1e6c2000 0x80>;
+               };
+
                mac0: ethernet@1e660000 {
                        compatible = "aspeed,ast2400-mac", "faraday,ftgmac100";
                        reg = <0x1e660000 0x180>;
@@ -177,7 +183,7 @@ adc: adc@1e6e9000 {
                                status = "disabled";
                        };
 
-                       sram@1e720000 {
+                       sram: sram@1e720000 {
                                compatible = "mmio-sram";
                                reg = <0x1e720000 0x8000>;      // 32K
                        };
index 02e70ad3ab70dfef3ffc52ae2d4c1d1731866659..87fdc146ff525af94c8db648f8f46b8c3c1084d4 100644 (file)
@@ -127,6 +127,13 @@ vic: interrupt-controller@1e6c0080 {
                        reg = <0x1e6c0080 0x80>;
                };
 
+               cvic: copro-interrupt-controller@1e6c2000 {
+                       compatible = "aspeed,ast2500-cvic", "aspeed-cvic";
+                       valid-sources = <0xffffffff>;
+                       copro-sw-interrupts = <1>;
+                       reg = <0x1e6c2000 0x80>;
+               };
+
                mac0: ethernet@1e660000 {
                        compatible = "aspeed,ast2500-mac", "faraday,ftgmac100";
                        reg = <0x1e660000 0x180>;
@@ -229,7 +236,7 @@ adc: adc@1e6e9000 {
                                status = "disabled";
                        };
 
-                       sram@1e720000 {
+                       sram: sram@1e720000 {
                                compatible = "mmio-sram";
                                reg = <0x1e720000 0x9000>;      // 36K
                        };