Commit 2a324671 authored by Fabio Estevam's avatar Fabio Estevam Committed by Shawn Guo

ARM: dts: imx53-qsb: Make DA9053 regulator functional

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: default avatarFabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: default avatarShawn Guo <shawn.guo@linaro.org>
parent e9dc615c
...@@ -60,6 +60,7 @@ pinctrl_hog: hoggrp { ...@@ -60,6 +60,7 @@ pinctrl_hog: hoggrp {
697 0x80000000 /* MX53_PAD_EIM_DA12__GPIO3_12 */ 697 0x80000000 /* MX53_PAD_EIM_DA12__GPIO3_12 */
701 0x80000000 /* MX53_PAD_EIM_DA13__GPIO3_13 */ 701 0x80000000 /* MX53_PAD_EIM_DA13__GPIO3_13 */
868 0x80000000 /* MX53_PAD_PATA_DA_0__GPIO7_6 */ 868 0x80000000 /* MX53_PAD_PATA_DA_0__GPIO7_6 */
1149 0x80000000 /* MX53_PAD_GPIO_16__GPIO7_11 */
>; >;
}; };
...@@ -106,76 +107,93 @@ accelerometer: mma8450@1c { ...@@ -106,76 +107,93 @@ accelerometer: mma8450@1c {
pmic: dialog@48 { pmic: dialog@48 {
compatible = "dlg,da9053-aa", "dlg,da9052"; compatible = "dlg,da9053-aa", "dlg,da9052";
reg = <0x48>; reg = <0x48>;
interrupt-parent = <&gpio7>;
interrupts = <11 0x8>; /* low-level active IRQ at GPIO7_11 */
regulators { regulators {
buck0 { buck1_reg: buck1 {
regulator-min-microvolt = <500000>; regulator-min-microvolt = <500000>;
regulator-max-microvolt = <2075000>; regulator-max-microvolt = <2075000>;
regulator-always-on;
}; };
buck1 { buck2_reg: buck2 {
regulator-min-microvolt = <500000>; regulator-min-microvolt = <500000>;
regulator-max-microvolt = <2075000>; regulator-max-microvolt = <2075000>;
regulator-always-on;
}; };
buck2 { buck3_reg: buck3 {
regulator-min-microvolt = <925000>; regulator-min-microvolt = <925000>;
regulator-max-microvolt = <2500000>; regulator-max-microvolt = <2500000>;
regulator-always-on;
}; };
buck3 { buck4_reg: buck4 {
regulator-min-microvolt = <925000>; regulator-min-microvolt = <925000>;
regulator-max-microvolt = <2500000>; regulator-max-microvolt = <2500000>;
regulator-always-on;
}; };
ldo4 { ldo1_reg: ldo1 {
regulator-min-microvolt = <600000>; regulator-min-microvolt = <600000>;
regulator-max-microvolt = <1800000>; regulator-max-microvolt = <1800000>;
regulator-boot-on;
regulator-always-on;
}; };
ldo5 { ldo2_reg: ldo2 {
regulator-min-microvolt = <600000>; regulator-min-microvolt = <600000>;
regulator-max-microvolt = <1800000>; 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-min-microvolt = <1725000>;
regulator-max-microvolt = <3300000>; regulator-max-microvolt = <3300000>;
regulator-always-on;
}; };
ldo7 { ldo5_reg: ldo5 {
regulator-min-microvolt = <1725000>; regulator-min-microvolt = <1725000>;
regulator-max-microvolt = <3300000>; regulator-max-microvolt = <3300000>;
regulator-always-on;
}; };
ldo8 { ldo6_reg: ldo6 {
regulator-min-microvolt = <1200000>; regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <3600000>; regulator-max-microvolt = <3600000>;
regulator-always-on;
}; };
ldo9 { ldo7_reg: ldo7 {
regulator-min-microvolt = <1200000>; regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <3600000>; regulator-max-microvolt = <3600000>;
regulator-always-on;
}; };
ldo10 { ldo8_reg: ldo8 {
regulator-min-microvolt = <1200000>; regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <3600000>; regulator-max-microvolt = <3600000>;
regulator-always-on;
}; };
ldo11 { ldo9_reg: ldo9 {
regulator-min-microvolt = <1200000>; regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <3600000>; regulator-max-microvolt = <3600000>;
regulator-always-on;
}; };
ldo12 { ldo10_reg: ldo10 {
regulator-min-microvolt = <1250000>; regulator-min-microvolt = <1250000>;
regulator-max-microvolt = <3650000>; regulator-max-microvolt = <3650000>;
}; regulator-always-on;
ldo13 {
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <3600000>;
}; };
}; };
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment