diff options
author | Olof Johansson <olof@lixom.net> | 2014-03-09 01:55:31 -0500 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2014-03-09 01:55:31 -0500 |
commit | c381585fcc2426da35a6388fcc72a91ecd4f9add (patch) | |
tree | e76ef91de1726ec83656dac09184c5768541f527 /Documentation/devicetree/bindings/arm | |
parent | 6c41a9979c3f2d5c9cf3458dda3fdb6542535df8 (diff) | |
parent | a7a2b3118b410fb3cd3a8363b157c56f4211ee05 (diff) |
Merge tag 'v3.15-rockchip-smp' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip into next/soc
Merge Rockchip SMP support from Heiko Stübner:
SMP-support for RK3066 and RK3188 SoCs from Rockchip.
* tag 'v3.15-rockchip-smp' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip:
ARM: rockchip: add smp bringup code
ARM: rockchip: add power-management-unit
ARM: rockchip: add sram dt nodes and documentation
ARM: rockchip: add snoop-control-unit
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'Documentation/devicetree/bindings/arm')
-rw-r--r-- | Documentation/devicetree/bindings/arm/rockchip/pmu.txt | 16 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/arm/rockchip/smp-sram.txt | 30 |
2 files changed, 46 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/arm/rockchip/pmu.txt b/Documentation/devicetree/bindings/arm/rockchip/pmu.txt new file mode 100644 index 000000000000..3ee9b428b2f7 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/rockchip/pmu.txt | |||
@@ -0,0 +1,16 @@ | |||
1 | Rockchip power-management-unit: | ||
2 | ------------------------------- | ||
3 | |||
4 | The pmu is used to turn off and on different power domains of the SoCs | ||
5 | This includes the power to the CPU cores. | ||
6 | |||
7 | Required node properties: | ||
8 | - compatible value : = "rockchip,rk3066-pmu"; | ||
9 | - reg : physical base address and the size of the registers window | ||
10 | |||
11 | Example: | ||
12 | |||
13 | pmu@20004000 { | ||
14 | compatible = "rockchip,rk3066-pmu"; | ||
15 | reg = <0x20004000 0x100>; | ||
16 | }; | ||
diff --git a/Documentation/devicetree/bindings/arm/rockchip/smp-sram.txt b/Documentation/devicetree/bindings/arm/rockchip/smp-sram.txt new file mode 100644 index 000000000000..d9416fb8db6f --- /dev/null +++ b/Documentation/devicetree/bindings/arm/rockchip/smp-sram.txt | |||
@@ -0,0 +1,30 @@ | |||
1 | Rockchip SRAM for smp bringup: | ||
2 | ------------------------------ | ||
3 | |||
4 | Rockchip's smp-capable SoCs use the first part of the sram for the bringup | ||
5 | of the cores. Once the core gets powered up it executes the code that is | ||
6 | residing at the very beginning of the sram. | ||
7 | |||
8 | Therefore a reserved section sub-node has to be added to the mmio-sram | ||
9 | declaration. | ||
10 | |||
11 | Required sub-node properties: | ||
12 | - compatible : should be "rockchip,rk3066-smp-sram" | ||
13 | |||
14 | The rest of the properties should follow the generic mmio-sram discription | ||
15 | found in ../../misc/sram.txt | ||
16 | |||
17 | Example: | ||
18 | |||
19 | sram: sram@10080000 { | ||
20 | compatible = "mmio-sram"; | ||
21 | reg = <0x10080000 0x10000>; | ||
22 | #address-cells = <1>; | ||
23 | #size-cells = <1>; | ||
24 | ranges; | ||
25 | |||
26 | smp-sram@10080000 { | ||
27 | compatible = "rockchip,rk3066-smp-sram"; | ||
28 | reg = <0x10080000 0x50>; | ||
29 | }; | ||
30 | }; | ||