aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Miao <eric.miao@linaro.org>2012-01-19 20:37:16 +0800
committerEric Miao <eric.miao@linaro.org>2012-01-19 20:37:16 +0800
commit02f4a02c27e1f2f5c79f57394c3f34ab73936d44 (patch)
tree64661d93468d98cfae67821d887310763b61a627
parent07847a083202ecf47797457e4a87123f381c8077 (diff)
downloadlinux-linaro-02f4a02c27e1f2f5c79f57394c3f34ab73936d44.tar.gz
imx6q: add device tree support for anatop regulatorlt-3.2-imx6
Signed-off-by: Eric Miao <eric.miao@linaro.org>
-rw-r--r--arch/arm/boot/dts/imx6q-sabrelite.dts92
1 files changed, 80 insertions, 12 deletions
diff --git a/arch/arm/boot/dts/imx6q-sabrelite.dts b/arch/arm/boot/dts/imx6q-sabrelite.dts
index 5483df316b2..84758f87edc 100644
--- a/arch/arm/boot/dts/imx6q-sabrelite.dts
+++ b/arch/arm/boot/dts/imx6q-sabrelite.dts
@@ -99,8 +99,8 @@
codec: sgtl5000@0a {
compatible = "fsl,sgtl5000";
reg = <0x0a>;
- VDDA-supply = <&reg_2P5V>;
- VDDIO-supply = <&reg_3P3V>;
+ VDDA-supply = <&reg_2p5>;
+ VDDIO-supply = <&reg_3p0>;
};
};
@@ -194,20 +194,88 @@
regulators {
compatible = "simple-bus";
- reg_2P5V: regulator-2P5V {
- compatible = "regulator-fixed";
- regulator-name = "2P5V";
- regulator-min-microvolt = <2500000>;
- regulator-max-microvolt = <2500000>;
+ reg_vddpu: regulator-vddpu {
+ compatible = "fsl,anatop-regulator";
+ regulator-name = "vddpu";
+ regulator-min-microvolt = <725000>;
+ regulator-max-microvolt = <1300000>;
regulator-always-on;
+ control-reg = <0x20c8140>;
+ vol-bit-shift = <9>;
+ vol-bit-mask = <0x1f>;
+ min-bit-val = <1>;
+ min-voltage = <725000>;
+ max-voltage = <1300000>;
};
- reg_3P3V: regulator-3P3V {
- compatible = "regulator-fixed";
- regulator-name = "3P3V";
- regulator-min-microvolt = <3300000>;
- regulator-max-microvolt = <3300000>;
+ reg_vddcore: regulator-vddcore {
+ compatible = "fsl,anatop-regulator";
+ regulator-name = "vddcore";
+ regulator-min-microvolt = <725000>;
+ regulator-max-microvolt = <1300000>;
regulator-always-on;
+ control-reg = <0x20c8140>;
+ vol-bit-shift = <0>;
+ vol-bit-mask = <0x1f>;
+ min-bit-val = <1>;
+ min-voltage = <725000>;
+ max-voltage = <1300000>;
+ };
+
+ reg_vddsoc: regulator-vddsoc {
+ compatible = "fsl,anatop-regulator";
+ regulator-name = "vddsoc";
+ regulator-min-microvolt = <725000>;
+ regulator-max-microvolt = <1300000>;
+ regulator-always-on;
+ control-reg = <0x20c8140>;
+ vol-bit-shift = <18>;
+ vol-bit-mask = <0x1f>;
+ min-bit-val = <1>;
+ min-voltage = <725000>;
+ max-voltage = <1300000>;
+ };
+
+ reg_2p5: regulator-2p5 {
+ compatible = "fsl,anatop-regulator";
+ regulator-name = "vdd2p5";
+ regulator-min-microvolt = <2000000>;
+ regulator-max-microvolt = <2775000>;
+ regulator-always-on;
+ control-reg = <0x20c8130>;
+ vol-bit-shift = <8>;
+ vol-bit-mask = <0x1f>;
+ min-bit-val = <0>;
+ min-voltage = <2000000>;
+ max-voltage = <2775000>;
+ };
+
+ reg_1p1: regulator-1p1 {
+ compatible = "fsl,anatop-regulator";
+ regulator-name = "vdd1p1";
+ regulator-min-microvolt = <800000>;
+ regulator-max-microvolt = <1400000>;
+ regulator-always-on;
+ control-reg = <0x20c8110>;
+ vol-bit-shift = <8>;
+ vol-bit-mask = <0x1f>;
+ min-bit-val = <4>;
+ min-voltage = <800000>;
+ max-voltage = <1400000>;
+ };
+
+ reg_3p0: regulator-3p0 {
+ compatible = "fsl,anatop-regulator";
+ regulator-name = "vdd3p0";
+ regulator-min-microvolt = <2800000>;
+ regulator-max-microvolt = <3150000>;
+ regulator-always-on;
+ control-reg = <0x20c8120>;
+ vol-bit-shift = <8>;
+ vol-bit-mask = <0x1f>;
+ min-bit-val = <7>;
+ min-voltage = <2800000>;
+ max-voltage = <3150000>;
};
};
};