[PATCH RFC 3/3] DT: ARM: mxs: enable regulator support for i.MX28
Stefan Wahren
info at lategoodbye.de
Sun Sep 7 04:37:49 PDT 2014
This patch enables the regulator support for i.MX28.
Signed-off-by: Stefan Wahren <stefan.wahren at i2se.com>
---
arch/arm/boot/dts/imx28.dtsi | 50 +++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 49 insertions(+), 1 deletion(-)
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 at 80044000 {
+ compatible = "fsl,imx28-power";
+ #address-cells = <1>;
+ #size-cells = <0>;
reg = <0x80044000 0x2000>;
- status = "disabled";
+
+ /*
+ reg_curr: regulator-overall_current at 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 at 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 at 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 at 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 at 80046000 {
--
1.8.1.4
More information about the linux-arm-kernel
mailing list