OSDN Git Service

ARM: dts: imx7s: add anatop vdd1p2 regulator
authorAnson Huang <Anson.Huang@nxp.com>
Sat, 17 Mar 2018 07:36:55 +0000 (15:36 +0800)
committerShawn Guo <shawnguo@kernel.org>
Mon, 16 Apr 2018 14:15:41 +0000 (22:15 +0800)
Add i.MX7S/D anatop vdd1p2 regulator.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx7s.dtsi

index c9b56dc..a6fe324 100644 (file)
                                        anatop-max-voltage = <1200000>;
                                        anatop-enable-bit = <0>;
                                };
+
+                               reg_1p2: regulator-vdd1p2@30360220 {
+                                       reg = <0x30360220>;
+                                       compatible = "fsl,anatop-regulator";
+                                       regulator-name = "vdd1p2";
+                                       regulator-min-microvolt = <1100000>;
+                                       regulator-max-microvolt = <1300000>;
+                                       anatop-reg-offset = <0x220>;
+                                       anatop-vol-bit-shift = <8>;
+                                       anatop-vol-bit-width = <5>;
+                                       anatop-min-bit-val = <0x14>;
+                                       anatop-min-voltage = <1100000>;
+                                       anatop-max-voltage = <1300000>;
+                                       anatop-enable-bit = <0>;
+                               };
                        };
 
                        snvs: snvs@30370000 {