aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuodong Xu <guodong.xu@linaro.org>2013-04-22 16:28:28 +0800
committerGuodong Xu <guodong.xu@linaro.org>2013-04-23 18:27:19 +0800
commitaddbfe4057c2f76fe6977c45b4b63f6c86863b80 (patch)
treef8484880aa8d7d85a55bf7e933fa36467cf923fd
parentedd17d20b91676c4285dc7aecc5eddbe5aa28bee (diff)
ARM: dts: add power-management
Add power-management device tree node Signed-off-by: Guodong Xu <guodong.xu@linaro.org>
-rw-r--r--arch/arm/boot/dts/hi4511.dts13
1 files changed, 12 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/hi4511.dts b/arch/arm/boot/dts/hi4511.dts
index 1f312e7559ad..c145c87ff1e5 100644
--- a/arch/arm/boot/dts/hi4511.dts
+++ b/arch/arm/boot/dts/hi4511.dts
@@ -15,7 +15,7 @@
compatible = "hisilicon,hi3620-hi4511";
chosen {
- bootargs = "console=ttyAMA0,115200 root=/dev/nfs nfsroot=192.168.1.100:/nfsroot/ ip=192.168.1.101:192.168.1.100::255.255.255.0::eth0:on mem=512m earlyprintk";
+ bootargs = "console=ttyAMA0,115200 root=/dev/nfs nfsroot=192.168.1.100:/nfsroot/ ip=192.168.1.101:192.168.1.100::255.255.255.0::eth0:on mem=512m earlyprintk no_console_suspend";
};
cpus {
@@ -831,6 +831,17 @@
status = "disabled";
};
+ power_management {
+ compatible = "hisilicon,hs-power-management";
+ reg = <0xfcc00000 0x0240>, /* pmu_spi_base_addr */
+ <0xf8000000 0x14000>, /* secram_base_addr */
+ <0xfca09000 0x1000>, /* pctrl_base_addr */
+ <0xfc000000 0x2000>, /* a9_per_base_addr */
+ <0xfcb00000 0x1000>, /* uart0_base_addr, console workaround */
+ <0xfc803000 0x1000>; /* io_base, console workaround */
+ pmu-power-hold-gpios = <&gpio19 6 0>;
+ };
+
pmic: pmic@fcc00000 {
compatible = "hisilicon,hi6421-pmic";
reg = <0xfcc00000 0x0180>; /* 0x60 << 2 */