Skip to content

Commit

Permalink
ARM: dts: aspeed: Add coprocessor interrupt controller
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
ozbenh authored and shenki committed Jul 25, 2018
1 parent a2df75a commit 2450cea
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
8 changes: 7 additions & 1 deletion arch/arm/boot/dts/aspeed-g4.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,12 @@
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>;
Expand Down Expand Up @@ -177,7 +183,7 @@
status = "disabled";
};

sram@1e720000 {
sram: sram@1e720000 {
compatible = "mmio-sram";
reg = <0x1e720000 0x8000>; // 32K
};
Expand Down
9 changes: 8 additions & 1 deletion arch/arm/boot/dts/aspeed-g5.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,13 @@
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>;
Expand Down Expand Up @@ -229,7 +236,7 @@
status = "disabled";
};

sram@1e720000 {
sram: sram@1e720000 {
compatible = "mmio-sram";
reg = <0x1e720000 0x9000>; // 36K
};
Expand Down

0 comments on commit 2450cea

Please sign in to comment.