ARM: dts: imx53-qsb: Make DA9053 regulator functional
authorFabio Estevam <fabio.estevam@freescale.com>
Wed, 26 Sep 2012 23:27:36 +0000 (20:27 -0300)
committerShawn Guo <shawn.guo@linaro.org>
Fri, 16 Nov 2012 06:18:52 +0000 (14:18 +0800)
Setup the GPIO7_11 pin as interrupt to the DA9053 and also rename the regulator nodes
so that they match with the datasheet.

This allows probing of DA9053 to succeed.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/boot/dts/imx53-qsb.dts

index 5bae4c76979a8c8e6a3e2e48c7dfcdfe7639373e..b0075537195bda29f5a19ef232c4d5d9b2c3a2f6 100644 (file)
@@ -60,6 +60,7 @@
                                                        697  0x80000000 /* MX53_PAD_EIM_DA12__GPIO3_12 */
                                                        701  0x80000000 /* MX53_PAD_EIM_DA13__GPIO3_13 */
                                                        868  0x80000000 /* MX53_PAD_PATA_DA_0__GPIO7_6 */
+                                                       1149 0x80000000 /* MX53_PAD_GPIO_16__GPIO7_11 */
                                                >;
                                        };
 
                                pmic: dialog@48 {
                                        compatible = "dlg,da9053-aa", "dlg,da9052";
                                        reg = <0x48>;
+                                       interrupt-parent = <&gpio7>;
+                                       interrupts = <11 0x8>; /* low-level active IRQ at GPIO7_11 */
 
                                        regulators {
-                                               buck0 {
+                                               buck1_reg: buck1 {
                                                        regulator-min-microvolt = <500000>;
                                                        regulator-max-microvolt = <2075000>;
+                                                       regulator-always-on;
                                                };
 
-                                               buck1 {
+                                               buck2_reg: buck2 {
                                                        regulator-min-microvolt = <500000>;
                                                        regulator-max-microvolt = <2075000>;
+                                                       regulator-always-on;
                                                };
 
-                                               buck2 {
+                                               buck3_reg: buck3 {
                                                        regulator-min-microvolt = <925000>;
                                                        regulator-max-microvolt = <2500000>;
+                                                       regulator-always-on;
                                                };
 
-                                               buck3 {
+                                               buck4_reg: buck4 {
                                                        regulator-min-microvolt = <925000>;
                                                        regulator-max-microvolt = <2500000>;
+                                                       regulator-always-on;
                                                };
 
-                                               ldo4 {
+                                               ldo1_reg: ldo1 {
                                                        regulator-min-microvolt = <600000>;
                                                        regulator-max-microvolt = <1800000>;
+                                                       regulator-boot-on;
+                                                       regulator-always-on;
                                                };
 
-                                               ldo5 {
+                                               ldo2_reg: ldo2 {
+                                                       regulator-min-microvolt = <600000>;
+                                                       regulator-max-microvolt = <1800000>;
+                                                       regulator-always-on;
+                                               };
+
+                                               ldo3_reg: ldo3 {
                                                        regulator-min-microvolt = <600000>;
                                                        regulator-max-microvolt = <1800000>;
+                                                       regulator-always-on;
                                                };
 
-                                               ldo6 {
+                                               ldo4_reg: ldo4 {
                                                        regulator-min-microvolt = <1725000>;
                                                        regulator-max-microvolt = <3300000>;
+                                                       regulator-always-on;
                                                };
 
-                                               ldo7 {
+                                               ldo5_reg: ldo5 {
                                                        regulator-min-microvolt = <1725000>;
                                                        regulator-max-microvolt = <3300000>;
+                                                       regulator-always-on;
                                                };
 
-                                               ldo8 {
+                                               ldo6_reg: ldo6 {
                                                        regulator-min-microvolt = <1200000>;
                                                        regulator-max-microvolt = <3600000>;
+                                                       regulator-always-on;
                                                };
 
-                                               ldo9 {
+                                               ldo7_reg: ldo7 {
                                                        regulator-min-microvolt = <1200000>;
                                                        regulator-max-microvolt = <3600000>;
+                                                       regulator-always-on;
                                                };
 
-                                               ldo10 {
+                                               ldo8_reg: ldo8 {
                                                        regulator-min-microvolt = <1200000>;
                                                        regulator-max-microvolt = <3600000>;
+                                                       regulator-always-on;
                                                };
 
-                                               ldo11 {
+                                               ldo9_reg: ldo9 {
                                                        regulator-min-microvolt = <1200000>;
                                                        regulator-max-microvolt = <3600000>;
+                                                       regulator-always-on;
                                                };
 
-                                               ldo12 {
+                                               ldo10_reg: ldo10 {
                                                        regulator-min-microvolt = <1250000>;
                                                        regulator-max-microvolt = <3650000>;
-                                               };
-
-                                               ldo13 {
-                                                       regulator-min-microvolt = <1200000>;
-                                                       regulator-max-microvolt = <3600000>;
+                                                       regulator-always-on;
                                                };
                                        };
                                };