Skip to content

Commit

Permalink
ARM: dts: berlin: add scu and chipctrl device nodes for BG2/BG2Q
Browse files Browse the repository at this point in the history
This adds scu and general purpose registers device nodes required for
SMP on Berlin BG2 and BG2Q SoCs. The secondary CPUs will pick their jump
address from general purpose (SW generic) register 1.

Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: Antoine Tenart <antoine.tenart@free-electrons.com>
Acked-by: Jisheng Zhang <jszhang@marvell.com>
Tested-by: Antoine Tenart <antoine.tenart@free-electrons.com>
  • Loading branch information
Sebastian Hesselbarth committed May 19, 2014
1 parent 55d3de5 commit 0bd4b34
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
10 changes: 10 additions & 0 deletions arch/arm/boot/dts/berlin2.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,11 @@
cache-level = <2>;
};

scu: snoop-control-unit@ad0000 {
compatible = "arm,cortex-a9-scu";
reg = <0xad0000 0x58>;
};

gic: interrupt-controller@ad1000 {
compatible = "arm,cortex-a9-gic";
reg = <0xad1000 0x1000>, <0xad0100 0x0100>;
Expand Down Expand Up @@ -176,6 +181,11 @@
};
};

generic-regs@ea0184 {
compatible = "marvell,berlin-generic-regs", "syscon";
reg = <0xea0184 0x10>;
};

apb@fc0000 {
compatible = "simple-bus";
#address-cells = <1>;
Expand Down
10 changes: 10 additions & 0 deletions arch/arm/boot/dts/berlin2q.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,11 @@
cache-level = <2>;
};

scu: snoop-control-unit@ad0000 {
compatible = "arm,cortex-a9-scu";
reg = <0xad0000 0x58>;
};

local-timer@ad0600 {
compatible = "arm,cortex-a9-twd-timer";
reg = <0xad0600 0x20>;
Expand Down Expand Up @@ -183,6 +188,11 @@
};
};

generic-regs@ea0110 {
compatible = "marvell,berlin-generic-regs", "syscon";
reg = <0xea0110 0x10>;
};

apb@fc0000 {
compatible = "simple-bus";
#address-cells = <1>;
Expand Down

0 comments on commit 0bd4b34

Please sign in to comment.