ARM: ux500: Add Device Tree nodes for AB8500 External regulators
authorLee Jones <lee.jones@linaro.org>
Fri, 7 Jun 2013 16:11:19 +0000 (17:11 +0100)
committerLinus Walleij <linus.walleij@stericsson.com>
Tue, 6 Aug 2013 21:48:48 +0000 (23:48 +0200)
The AB8500 has 3 external regulators which are used to control outside
voltage sources. Some of the core AB8500 use these external regulators
as a supply, so they must be obtainable via Device Tree.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/boot/dts/dbx5x0.dtsi

index aa2246988e72a51214930ed568bb7086dcbde310..77abea56c11201d0eae21b3592246d3c914d1f8d 100644 (file)
                                        stericsson,earpeice-cmv = <950>; /* Units in mV. */
                                };
 
+                               ext_regulators: ab8500-ext-regulators {
+                                       compatible = "stericsson,ab8500-ext-regulator";
+
+                                       ab8500_ext1_reg: ab8500_ext1 {
+                                               regulator-compatible = "ab8500_ext1";
+                                               regulator-min-microvolt = <1800000>;
+                                               regulator-max-microvolt = <1800000>;
+                                               regulator-boot-on;
+                                               regulator-always-on;
+                                       };
+
+                                       ab8500_ext2_reg: ab8500_ext2 {
+                                               regulator-compatible = "ab8500_ext2";
+                                               regulator-min-microvolt = <1360000>;
+                                               regulator-max-microvolt = <1360000>;
+                                               regulator-boot-on;
+                                               regulator-always-on;
+                                       };
+
+                                       ab8500_ext3_reg: ab8500_ext3 {
+                                               regulator-compatible = "ab8500_ext3";
+                                               regulator-min-microvolt = <3400000>;
+                                               regulator-max-microvolt = <3400000>;
+                                               regulator-boot-on;
+                                       };
+                               };
+
                                ab8500-regulators {
                                        compatible = "stericsson,ab8500-regulator";