aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHeiko Stuebner <heiko@sntech.de>2013-06-17 16:17:16 -0400
committerHeiko Stuebner <heiko@sntech.de>2014-03-01 11:21:53 -0500
commit46b8219c519be424ab96b5b7fabee171c1e6b4c7 (patch)
tree62b96c33951890d103a9c28ae785b8a0804c029b
parentde18e01478d3a65112521de04b67e9029b99f55d (diff)
ARM: rockchip: add power-management-unit
The pmu is needed to bring up the cores during smp operations and later also other system parts. Therefore add a node and documentation for it. Signed-off-by: Heiko Stuebner <heiko@sntech.de> Tested-by: Ulrich Prinz <ulrich.prinz@googlemail.com>
-rw-r--r--Documentation/devicetree/bindings/arm/rockchip/pmu.txt16
-rw-r--r--arch/arm/boot/dts/rk3xxx.dtsi5
2 files changed, 21 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 @@
1Rockchip power-management-unit:
2-------------------------------
3
4The pmu is used to turn off and on different power domains of the SoCs
5This includes the power to the CPU cores.
6
7Required node properties:
8- compatible value : = "rockchip,rk3066-pmu";
9- reg : physical base address and the size of the registers window
10
11Example:
12
13 pmu@20004000 {
14 compatible = "rockchip,rk3066-pmu";
15 reg = <0x20004000 0x100>;
16 };
diff --git a/arch/arm/boot/dts/rk3xxx.dtsi b/arch/arm/boot/dts/rk3xxx.dtsi
index 0a3d5b131eba..26e5a968d49d 100644
--- a/arch/arm/boot/dts/rk3xxx.dtsi
+++ b/arch/arm/boot/dts/rk3xxx.dtsi
@@ -31,6 +31,11 @@
31 reg = <0x1013c000 0x100>; 31 reg = <0x1013c000 0x100>;
32 }; 32 };
33 33
34 pmu@20004000 {
35 compatible = "rockchip,rk3066-pmu";
36 reg = <0x20004000 0x100>;
37 };
38
34 gic: interrupt-controller@1013d000 { 39 gic: interrupt-controller@1013d000 {
35 compatible = "arm,cortex-a9-gic"; 40 compatible = "arm,cortex-a9-gic";
36 interrupt-controller; 41 interrupt-controller;