diff mbox

[RFC,3/3] DT: ARM: mxs: enable regulator support for i.MX28

Message ID 1410089869-6611-4-git-send-email-info@lategoodbye.de (mailing list archive)
State New, archived
Headers show

Commit Message

Stefan Wahren Sept. 7, 2014, 11:37 a.m. UTC
This patch enables the regulator support for i.MX28.

Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
---
 arch/arm/boot/dts/imx28.dtsi | 50 +++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 49 insertions(+), 1 deletion(-)
diff mbox

Patch

diff --git a/arch/arm/boot/dts/imx28.dtsi b/arch/arm/boot/dts/imx28.dtsi
index a95cc53..10c7cdf 100644
--- a/arch/arm/boot/dts/imx28.dtsi
+++ b/arch/arm/boot/dts/imx28.dtsi
@@ -979,8 +979,56 @@ 
 			};
 
 			power: power@80044000 {
+				compatible = "fsl,imx28-power";
+				#address-cells = <1>;
+				#size-cells = <0>;
 				reg = <0x80044000 0x2000>;
-				status = "disabled";
+
+				/*
+				reg_curr: regulator-overall_current@80044010 {
+					reg = <0x80044010>;
+					compatible = "fsl,mxs-regulator";
+					regulator-name = "overall_current";
+					regulator-min-microvolt = <>;
+					regulator-max-microvolt = <>;
+					regulator-min-microamp = <>;
+					regulator-max-microamp = <>;
+					regulator-always-on;
+					regulator-boot-on;
+				};
+				*/
+
+				reg_vddd: regulator-vddd@80044040 {
+					reg = <0x80044040>;
+					compatible = "fsl,mxs-regulator";
+					regulator-name = "vddd";
+					regulator-min-microvolt = <800000>;
+					regulator-max-microvolt = <1575000>;
+					regulator-always-on;
+					mxs-max-reg-val = <0x1f>;
+				};
+
+				reg_vdda: regulator-vdda@80044050 {
+					reg = <0x80044050>;
+					compatible = "fsl,mxs-regulator";
+					regulator-name = "vdda";
+					regulator-min-microvolt = <1500000>;
+					regulator-max-microvolt = <2275000>;
+					regulator-always-on;
+					mxs-max-reg-val = <0x1f>;
+				};
+
+				reg_vddio: regulator-vddio@80044060 {
+					reg = <0x80044060>;
+					compatible = "fsl,mxs-regulator";
+					regulator-name = "vddio";
+					regulator-min-microvolt = <2800000>;
+					regulator-max-microvolt = <3600000>;
+					regulator-microvolt-offset = <80000>;
+					regulator-always-on;
+					mxs-max-reg-val = <0x10>;
+					mxs-default-microvolt = <3300000>;
+				};
 			};
 
 			saif1: saif@80046000 {