aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuodong Xu <guodong.xu@linaro.org>2013-01-24 08:19:17 +0800
committerGuodong Xu <guodong.xu@linaro.org>2013-02-21 16:12:30 +0800
commitcb7e03e898610788696ab6cbfe9f9edb68517d75 (patch)
tree68fa9964cd0ee8a2e17cc45a7a97ff7fac97f379
parent548aec90f8d38329d919bd439c3595e529c24d79 (diff)
regulator:hs:add hi6421 dts support
-rw-r--r--arch/arm/boot/dts/hi4511.dts397
1 files changed, 397 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/hi4511.dts b/arch/arm/boot/dts/hi4511.dts
index dd37369c5288..741eb8073471 100644
--- a/arch/arm/boot/dts/hi4511.dts
+++ b/arch/arm/boot/dts/hi4511.dts
@@ -822,4 +822,401 @@
pinctrl-0 = <&i2c1_pmx_func &i2c1_cfg_func>;
};
};
+
+ regulators {
+ compatible = "hisilicon, hi4511-hi6421", "syscon", "simple-bus";
+ reg = <0xfcc00000 0x00100000>;
+ interrupts = <>;
+
+ hi_ldo0: ldo0@20 {
+ compatible = "hisilicon,hi6421-regulator";
+ regulator-name = "HI6421_LDO0";
+ regulator-min-microvolt = <1500000>;
+ regulatro-max-microvolt = <3000000>;
+ regulator-boot-on;
+ hi6421-ctrl-reg = <0x20>;
+/* hi6421-mode-mask = ;
+ hi6421-enable-mask = ;
+*/
+ hi6421-vset-reg = <0x20>;
+/* hi6421-vsel-mask = ;
+*/
+ hi6421-vset-table = <1500000>, <1800000>,
+ <2400000>, <2500000>,
+ <2600000>, <2700000>,
+ <2850000>, <3000000>;
+ };
+
+ hi_ldo1: ldo1@21 {
+ compatible = "hisilicon,hi6421-regulator";
+ regulator-name = "HI6421_LDO1";
+ regulator-min-microvolt = <1700000>;
+ regulatro-max-microvolt = <2000000>;
+ regulator-boot-on;
+ hi6421-ctrl-reg = <0x21>;
+ hi6421-vset-reg = <0x21>;
+ hi6421-vset-table = <1700000>, <1800000>,
+ <1900000>, <2000000>;
+ };
+
+ hi_ldo2: ldo2@22 {
+ compatible = "hisilicon,hi6421-regulator";
+ regulator-name = "HI6421_LDO2";
+ regulator-min-microvolt = <1050000>;
+ regulatro-max-microvolt = <1400000>;
+ regulator-boot-on;
+ hi6421-ctrl-reg = <0x22>;
+ hi6421-vset-reg = <0x22>;
+ hi6421-vset-table = <1050000>, <1100000>,
+ <1150000>, <1200000>,
+ <1250000>, <1300000>,
+ <1350000>, <1400000>;
+ };
+
+ hi_ldo3: ldo3@23 {
+ compatible = "hisilicon,hi6421-regulator";
+ regulator-name = "HI6421_LDO3";
+ regulator-min-microvolt = <1050000>;
+ regulatro-max-microvolt = <1400000>;
+ regulator-boot-on;
+ hi6421-ctrl-reg = <0x23>;
+ hi6421-vset-reg = <0x23>;
+ hi6421-vset-table = <1050000>, <1100000>,
+ <1150000>, <1200000>,
+ <1250000>, <1300000>,
+ <1350000>, <1400000>;
+ };
+
+ hi_ldo4: ldo4@24 {
+ compatible = "hisilicon,hi6421-regulator";
+ regulator-name = "HI6421_LDO4";
+ regulator-min-microvolt = <1500000>;
+ regulatro-max-microvolt = <3000000>;
+ regulator-boot-on;
+ hi6421-ctrl-reg = <0x24>;
+ hi6421-vset-reg = <0x24>;
+ hi6421-vset-table = <1500000>, <1800000>,
+ <2400000>, <2500000>,
+ <2600000>, <2700000>,
+ <2850000>, <3000000>;
+ };
+
+ hi_ldo5: ldo5@25 {
+ compatible = "hisilicon,hi6421-regulator";
+ regulator-name = "HI6421_LDO5";
+ regulator-min-microvolt = <1500000>;
+ regulatro-max-microvolt = <3000000>;
+ regulator-boot-on;
+ hi6421-ctrl-reg = <0x25>;
+ hi6421-vset-reg = <0x25>;
+ hi6421-vset-table = <1500000>, <1800000>,
+ <2400000>, <2500000>,
+ <2600000>, <2700000>,
+ <2850000>, <3000000>;
+ };
+
+ hi_ldo6: ldo6@26 {
+ compatible = "hisilicon,hi6421-regulator";
+ regulator-name = "HI6421_LDO6";
+ regulator-min-microvolt = <1500000>;
+ regulatro-max-microvolt = <3000000>;
+ regulator-boot-on;
+ hi6421-ctrl-reg = <0x26>;
+ hi6421-vset-reg = <0x26>;
+ hi6421-vset-table = <1500000>, <1800000>,
+ <2400000>, <2500000>,
+ <2600000>, <2700000>,
+ <2850000>, <3000000>;
+ };
+
+ hi_ldo7: ldo7@27 {
+ compatible = "hisilicon,hi6421-regulator";
+ regulator-name = "HI6421_LDO7";
+ regulator-min-microvolt = <1500000>;
+ regulatro-max-microvolt = <3000000>;
+ regulator-boot-on;
+ hi6421-ctrl-reg = <0x27>;
+ hi6421-vset-reg = <0x27>;
+ hi6421-vset-table = <1500000>, <1800000>,
+ <2400000>, <2500000>,
+ <2600000>, <2700000>,
+ <2850000>, <3000000>;
+ };
+
+ hi_ldo8: ldo8@28 {
+ compatible = "hisilicon,hi6421-regulator";
+ regulator-name = "HI6421_LDO8";
+ regulator-min-microvolt = <1500000>;
+ regulatro-max-microvolt = <3300000>;
+ regulator-boot-on;
+ hi6421-ctrl-reg = <0x28>;
+ hi6421-vset-reg = <0x28>;
+ hi6421-vset-table = <1500000>, <1800000>,
+ <2400000>, <2600000>,
+ <2700000>, <2850000>,
+ <3000000>, <3300000>;
+ };
+
+ hi_ldo9: ldo9@29 {
+ compatible = "hisilicon,hi6421-regulator";
+ regulator-name = "HI6421_LDO9";
+ regulator-min-microvolt = <1500000>;
+ regulatro-max-microvolt = <3000000>;
+ regulator-boot-on;
+ hi6421-ctrl-reg = <0x29>;
+ hi6421-vset-reg = <0x29>;
+ hi6421-vset-table = <1500000>, <1800000>,
+ <2400000>, <2500000>,
+ <2600000>, <2700000>,
+ <2850000>, <3000000>;
+ };
+
+ hi_ldo10: ldo10@2a {
+ compatible = "hisilicon,hi6421-regulator";
+ regulator-name = "HI6421_LDO10";
+ regulator-min-microvolt = <1500000>;
+ regulatro-max-microvolt = <3000000>;
+ hi6421-ctrl-reg = <0x2a>;
+ hi6421-vset-reg = <0x2a>;
+ hi6421-vset-table = <1500000>, <1800000>,
+ <2400000>, <2500000>,
+ <2600000>, <2700000>,
+ <2850000>, <3000000>;
+ };
+
+ hi_ldo11: ldo11@2b {
+ compatible = "hisilicon,hi6421-regulator";
+ regulator-name = "HI6421_LDO11";
+ regulator-min-microvolt = <1500000>;
+ regulatro-max-microvolt = <3000000>;
+ hi6421-ctrl-reg = <0x2b>;
+ hi6421-vset-reg = <0x2b>;
+ hi6421-vset-table = <1500000>, <1800000>,
+ <2400000>, <2500000>,
+ <2600000>, <2700000>,
+ <2850000>, <3000000>;
+ };
+
+ hi_ldo12: ldo12@2c {
+ compatible = "hisilicon,hi6421-regulator";
+ regulator-name = "HI6421_LDO12";
+ regulator-min-microvolt = <1500000>;
+ regulatro-max-microvolt = <3000000>;
+ hi6421-ctrl-reg = <0x2c>;
+ hi6421-vset-reg = <0x2c>;
+ hi6421-vset-table = <1500000>, <1800000>,
+ <2400000>, <2500000>,
+ <2600000>, <2700000>,
+ <2850000>, <3000000>;
+ };
+
+ hi_ldo13: ldo13@2d {
+ compatible = "hisilicon,hi6421-regulator";
+ regulator-name = "HI6421_LDO13";
+ regulator-min-microvolt = <1500000>;
+ regulatro-max-microvolt = <3000000>;
+ hi6421-ctrl-reg = <0x2d>;
+ hi6421-vset-reg = <0x2d>;
+ hi6421-vset-table = <1500000>, <1800000>,
+ <2400000>, <2500000>,
+ <2600000>, <2700000>,
+ <2850000>, <3000000>;
+ };
+
+ hi_ldo14: ldo14@2e {
+ compatible = "hisilicon,hi6421-regulator";
+ regulator-name = "HI6421_LDO14";
+ regulator-min-microvolt = <1500000>;
+ regulatro-max-microvolt = <3000000>;
+ hi6421-ctrl-reg = <0x2e>;
+ hi6421-vset-reg = <0x2e>;
+ hi6421-vset-table = <1500000>, <1800000>,
+ <2400000>, <2500000>,
+ <2600000>, <2700000>,
+ <2850000>, <3000000>;
+ };
+
+ hi_ldo15: ldo15@2f {
+ compatible = "hisilicon,hi6421-regulator";
+ regulator-name = "HI6421_LDO15";
+ regulator-min-microvolt = <1500000>;
+ regulatro-max-microvolt = <3000000>;
+ hi6421-ctrl-reg = <0x2f>;
+ hi6421-vset-reg = <0x2f>;
+ hi6421-vset-table = <1500000>, <1800000>,
+ <2400000>, <2600000>,
+ <2700000>, <2850000>,
+ <3000000>, <3300000>;
+ };
+
+ hi_ldo16: ldo16@30 {
+ compatible = "hisilicon,hi6421-regulator";
+ regulator-name = "HI6421_LDO16";
+ regulator-min-microvolt = <1500000>;
+ regulatro-max-microvolt = <3000000>;
+ hi6421-ctrl-reg = <0x30>;
+ hi6421-vset-reg = <0x30>;
+ hi6421-vset-table = <1500000>, <1800000>,
+ <2400000>, <2500000>,
+ <2600000>, <2700000>,
+ <2850000>, <3000000>;
+ };
+
+ hi_ldo17: ldo17@31 {
+ compatible = "hisilicon,hi6421-regulator";
+ regulator-name = "HI6421_LDO17";
+ regulator-min-microvolt = <1500000>;
+ regulatro-max-microvolt = <3000000>;
+ hi6421-ctrl-reg = <0x31>;
+ hi6421-vset-reg = <0x31>;
+ hi6421-vset-table = <1500000>, <1800000>,
+ <2400000>, <2500000>,
+ <2600000>, <2700000>,
+ <2850000>, <3000000>;
+ };
+
+ hi_ldo18: ldo18@32 {
+ compatible = "hisilicon,hi6421-regulator";
+ regulator-name = "HI6421_LDO18";
+ regulator-min-microvolt = <1500000>;
+ regulatro-max-microvolt = <3000000>;
+ hi6421-ctrl-reg = <0x32>;
+ hi6421-vset-reg = <0x32>;
+ hi6421-vset-table = <1500000>, <1800000>,
+ <2400000>, <2500000>,
+ <2600000>, <2700000>,
+ <2850000>, <3000000>;
+ };
+
+ hi_ldo19: ldo19@33 {
+ compatible = "hisilicon,hi6421-regulator";
+ regulator-name = "HI6421_LDO19";
+ regulator-min-microvolt = <1500000>;
+ regulatro-max-microvolt = <3000000>;
+ hi6421-ctrl-reg = <0x2a>;
+ hi6421-vset-reg = <0x2a>;
+ hi6421-vset-table = <1500000>, <1800000>,
+ <2400000>, <2500000>,
+ <2600000>, <2700000>,
+ <2850000>, <3000000>;
+ };
+
+ hi_ldo20: ldo20@34 {
+ compatible = "hisilicon,hi6421-regulator";
+ regulator-name = "HI6421_LDO20";
+ regulator-min-microvolt = <1500000>;
+ regulatro-max-microvolt = <3000000>;
+ hi6421-ctrl-reg = <0x34>;
+ hi6421-vset-reg = <0x34>;
+ hi6421-vset-table = <1500000>, <1800000>,
+ <2400000>, <2500000>,
+ <2600000>, <2700000>,
+ <2850000>, <3000000>;
+ };
+
+ hi_ldoaudio: ldoaudio@36 {
+ compatible = "hisilicon,hi6421-regulator";
+ regulator-name = "HI6421_LDOAUDIO";
+ regulator-min-microvolt = <2800000>;
+ regulatro-max-microvolt = <3300000>;
+ hi6421-ctrl-reg = <0x36>;
+ hi6421-vset-reg = <0x36>;
+ hi6421-vset-table = <2800000>, <2850000>,
+ <2900000>, <2950000>,
+ <3000000>, <3100000>,
+ <3200000>, <3300000>;
+ };
+
+ hi_buck0: buck0@0c {
+ compatible = "hisilicon,hi6421-regulator";
+ regulator-name = "HI6421_BUCK0";
+ regulator-min-microvolt = <700000>;
+ regulatro-max-microvolt = <1600000>;
+ regulator-boot-on;
+ hi6421-ctrl-reg = <0x0c>;
+ hi6421-vset-reg = <0x0d>;
+ hi6421-vset-stage = <128>;
+ };
+
+ hi_buck1: buck1@0e {
+ compatible = "hisilicon,hi6421-regulator";
+ regulator-name = "HI6421_BUCK1";
+ regulator-min-microvolt = <700000>;
+ regulatro-max-microvolt = <1600000>;
+ regulator-boot-on;
+ hi6421-ctrl-reg = <0x0e>;
+ hi6421-vset-reg = <0x0f>;
+ hi6421-vset-stage = <128>;
+ };
+
+ hi_buck2: buck1@10 {
+ compatible = "hisilicon,hi6421-regulator";
+ regulator-name = "HI6421_BUCK2";
+ regulator-min-microvolt = <700000>;
+ regulatro-max-microvolt = <1600000>;
+ regulator-boot-on;
+ hi6421-ctrl-reg = <0x10>;
+ hi6421-vset-reg = <0x11>;
+ hi6421-vset-stage = <128>;
+ };
+
+ hi_buck3: buck3@12 {
+ compatible = "hisilicon,hi6421-regulator";
+ regulator-name = "HI6421_BUCK3";
+ regulator-min-microvolt = <950000>;
+ regulatro-max-microvolt = <1200000>;
+ regulator-boot-on;
+ hi6421-ctrl-reg = <0x12>;
+ hi6421-vset-reg = <0x13>;
+ hi6421-vset-table = <950000>, <1050000>,
+ <1100000>, <1170000>,
+ <1134000>, <1150000>,
+ <1167000>, <1200000>;
+ };
+
+ hi_buck4: buck4@14 {
+ compatible = "hisilicon,hi6421-regulator";
+ regulator-name = "HI6421_BUCK4";
+ regulator-min-microvolt = <1150000>;
+ regulatro-max-microvolt = <2000000>;
+ regulator-boot-on;
+ hi6421-ctrl-reg = <0x14>;
+ hi6421-vset-reg = <0x15>;
+ hi6421-vset-table = <1150000>, <1200000>,
+ <1250000>, <1350000>,
+ <1700000>, <1800000>,
+ <1900000>, <2000000>;
+ };
+
+ hi_buck5: buck5@16 {
+ compatible = "hisilicon,hi6421-regulator";
+ regulator-name = "HI6421_BUCK5";
+ regulator-min-microvolt = <1150000>;
+ regulatro-max-microvolt = <1900000>;
+ regulator-boot-on;
+ hi6421-ctrl-reg = <0x16>;
+ hi6421-vset-reg = <0x17>;
+ hi6421-vset-table = <1150000>, <1200000>,
+ <1250000>, <1350000>,
+ <1600000>, <1700000>,
+ <1800000>, <1900000>;
+ };
+
+ hi_usb_chg_bump: usb_chg_bump@4e {
+ compatible = "hisilicon,hi6421-regulator";
+ regulator-name = "HI6421_USB_CHG_BUMP";
+ regulator-min-microvolt = <5000000>;
+ regulatro-max-microvolt = <5000000>;
+ hi6421-ctrl-reg = <0x4e>;
+ };
+
+ hi_hdmi_chg_bump: hdmi_chg_bump@4e {
+ compatible = "hisilicon,hi6421-regulator";
+ regulator-name = "HI6421_HDMI_CHG_BUMP";
+ regulator-min-microvolt = <5000000>;
+ regulatro-max-microvolt = <5000000>;
+ hi6421-ctrl-reg = <0x4e>;
+ };
+ }; /* end of regulators */
};
+