arm64: dts: hikey960: add device node for pmic and regulators
authorWang Xiaoyin <hw.wangxiaoyin@hisilicon.com>
Thu, 15 Jun 2017 03:04:14 +0000 (11:04 +0800)
committerWei Xu <xuwei5@hisilicon.com>
Fri, 16 Jun 2017 14:31:18 +0000 (15:31 +0100)
add device node for hi6421 pmic core and hi6421v530
voltage regulator,include LDO(1,3,9,11,15,16)

Signed-off-by: Wang Xiaoyin <hw.wangxiaoyin@hisilicon.com>
Signed-off-by: Guodong Xu <guodong.xu@linaro.org>
Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts

index ca448f0d155f1fcd2325eaeed7d874358fd86f59..e57933391e75b62d9a2afacb6d89b50850da7527 100644 (file)
                        default-state = "off";
                };
        };
+
+       pmic: pmic@fff34000 {
+               compatible = "hisilicon,hi6421v530-pmic";
+               reg = <0x0 0xfff34000 0x0 0x1000>;
+               interrupt-controller;
+               #interrupt-cells = <2>;
+
+               regulators {
+                       ldo3: LDO3 { /* HDMI */
+                               regulator-name = "VOUT3_1V85";
+                               regulator-min-microvolt = <1800000>;
+                               regulator-max-microvolt = <2200000>;
+                               regulator-enable-ramp-delay = <120>;
+                       };
+
+                       ldo9: LDO9 { /* SDCARD I/O */
+                               regulator-name = "VOUT9_1V8_2V95";
+                               regulator-min-microvolt = <1750000>;
+                               regulator-max-microvolt = <3300000>;
+                               regulator-enable-ramp-delay = <240>;
+                       };
+
+                       ldo11: LDO11 { /* Low Speed Connector */
+                               regulator-name = "VOUT11_1V8_2V95";
+                               regulator-min-microvolt = <1750000>;
+                               regulator-max-microvolt = <3300000>;
+                               regulator-enable-ramp-delay = <240>;
+                       };
+
+                       ldo15: LDO15 { /* UFS VCC */
+                               regulator-name = "VOUT15_3V0";
+                               regulator-min-microvolt = <1750000>;
+                               regulator-max-microvolt = <3000000>;
+                               regulator-boot-on;
+                               regulator-always-on;
+                               regulator-enable-ramp-delay = <120>;
+                       };
+
+                       ldo16: LDO16 { /* SD VDD */
+                               regulator-name = "VOUT16_2V95";
+                               regulator-min-microvolt = <1750000>;
+                               regulator-max-microvolt = <3000000>;
+                               regulator-enable-ramp-delay = <360>;
+                       };
+               };
+       };
 };
 
 &i2c0 {