aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBalaji T K <balajitk@ti.com>2014-02-19 09:56:40 -0500
committerChris Ball <chris@printf.net>2014-03-04 11:44:52 -0500
commitcd042fe5c1f67a7b60e027802a0784b95c4dee6f (patch)
treeccc2eab7e336fefd3d70cd0bd31e2b545c552376
parente99448ff1f738412bbfec595b5e682c1f0a50279 (diff)
ARM: dts: add pbias dt node
Add pbias regulator node as a child of system control module - syscon. Signed-off-by: Balaji T K <balajitk@ti.com> Acked-by: Tony Lindgren <tony@atomide.com> Tested-by: Florian Vaussard <florian.vaussard@epfl.ch> Tested-by: Stefan Roese <sr@denx.de> Signed-off-by: Chris Ball <chris@printf.net>
-rw-r--r--arch/arm/boot/dts/dra7.dtsi17
-rw-r--r--arch/arm/boot/dts/omap2430.dtsi17
-rw-r--r--arch/arm/boot/dts/omap3.dtsi17
-rw-r--r--arch/arm/boot/dts/omap4.dtsi17
-rw-r--r--arch/arm/boot/dts/omap5.dtsi17
5 files changed, 85 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/dra7.dtsi b/arch/arm/boot/dts/dra7.dtsi
index 1fd75aa4639d..881e49262d09 100644
--- a/arch/arm/boot/dts/dra7.dtsi
+++ b/arch/arm/boot/dts/dra7.dtsi
@@ -149,6 +149,22 @@
149 ti,hwmods = "counter_32k"; 149 ti,hwmods = "counter_32k";
150 }; 150 };
151 151
152 dra7_ctrl_general: tisyscon@4a002e00 {
153 compatible = "syscon";
154 reg = <0x4a002e00 0x7c>;
155 };
156
157 pbias_regulator: pbias_regulator {
158 compatible = "ti,pbias-omap";
159 reg = <0 0x4>;
160 syscon = <&dra7_ctrl_general>;
161 pbias_mmc_reg: pbias_mmc_omap5 {
162 regulator-name = "pbias_mmc_omap5";
163 regulator-min-microvolt = <1800000>;
164 regulator-max-microvolt = <3000000>;
165 };
166 };
167
152 dra7_pmx_core: pinmux@4a003400 { 168 dra7_pmx_core: pinmux@4a003400 {
153 compatible = "pinctrl-single"; 169 compatible = "pinctrl-single";
154 reg = <0x4a003400 0x0464>; 170 reg = <0x4a003400 0x0464>;
@@ -524,6 +540,7 @@
524 dmas = <&sdma 61>, <&sdma 62>; 540 dmas = <&sdma 61>, <&sdma 62>;
525 dma-names = "tx", "rx"; 541 dma-names = "tx", "rx";
526 status = "disabled"; 542 status = "disabled";
543 pbias-supply = <&pbias_mmc_reg>;
527 }; 544 };
528 545
529 mmc2: mmc@480b4000 { 546 mmc2: mmc@480b4000 {
diff --git a/arch/arm/boot/dts/omap2430.dtsi b/arch/arm/boot/dts/omap2430.dtsi
index d624345666f5..a5837b37c5e2 100644
--- a/arch/arm/boot/dts/omap2430.dtsi
+++ b/arch/arm/boot/dts/omap2430.dtsi
@@ -29,6 +29,22 @@
29 pinctrl-single,function-mask = <0x3f>; 29 pinctrl-single,function-mask = <0x3f>;
30 }; 30 };
31 31
32 omap2_scm_general: tisyscon@49002270 {
33 compatible = "syscon";
34 reg = <0x49002270 0x240>;
35 };
36
37 pbias_regulator: pbias_regulator {
38 compatible = "ti,pbias-omap";
39 reg = <0x230 0x4>;
40 syscon = <&omap2_scm_general>;
41 pbias_mmc_reg: pbias_mmc_omap2430 {
42 regulator-name = "pbias_mmc_omap2430";
43 regulator-min-microvolt = <1800000>;
44 regulator-max-microvolt = <3000000>;
45 };
46 };
47
32 gpio1: gpio@4900c000 { 48 gpio1: gpio@4900c000 {
33 compatible = "ti,omap2-gpio"; 49 compatible = "ti,omap2-gpio";
34 reg = <0x4900c000 0x200>; 50 reg = <0x4900c000 0x200>;
@@ -183,6 +199,7 @@
183 ti,dual-volt; 199 ti,dual-volt;
184 dmas = <&sdma 61>, <&sdma 62>; 200 dmas = <&sdma 61>, <&sdma 62>;
185 dma-names = "tx", "rx"; 201 dma-names = "tx", "rx";
202 pbias-supply = <&pbias_mmc_reg>;
186 }; 203 };
187 204
188 mmc2: mmc@480b4000 { 205 mmc2: mmc@480b4000 {
diff --git a/arch/arm/boot/dts/omap3.dtsi b/arch/arm/boot/dts/omap3.dtsi
index a5fc83b9c835..c42514a8e18b 100644
--- a/arch/arm/boot/dts/omap3.dtsi
+++ b/arch/arm/boot/dts/omap3.dtsi
@@ -176,6 +176,22 @@
176 pinctrl-single,function-mask = <0xff1f>; 176 pinctrl-single,function-mask = <0xff1f>;
177 }; 177 };
178 178
179 omap3_scm_general: tisyscon@48002270 {
180 compatible = "syscon";
181 reg = <0x48002270 0x2f0>;
182 };
183
184 pbias_regulator: pbias_regulator {
185 compatible = "ti,pbias-omap";
186 reg = <0x2b0 0x4>;
187 syscon = <&omap3_scm_general>;
188 pbias_mmc_reg: pbias_mmc_omap2430 {
189 regulator-name = "pbias_mmc_omap2430";
190 regulator-min-microvolt = <1800000>;
191 regulator-max-microvolt = <3000000>;
192 };
193 };
194
179 gpio1: gpio@48310000 { 195 gpio1: gpio@48310000 {
180 compatible = "ti,omap3-gpio"; 196 compatible = "ti,omap3-gpio";
181 reg = <0x48310000 0x200>; 197 reg = <0x48310000 0x200>;
@@ -390,6 +406,7 @@
390 ti,dual-volt; 406 ti,dual-volt;
391 dmas = <&sdma 61>, <&sdma 62>; 407 dmas = <&sdma 61>, <&sdma 62>;
392 dma-names = "tx", "rx"; 408 dma-names = "tx", "rx";
409 pbias-supply = <&pbias_mmc_reg>;
393 }; 410 };
394 411
395 mmc2: mmc@480b4000 { 412 mmc2: mmc@480b4000 {
diff --git a/arch/arm/boot/dts/omap4.dtsi b/arch/arm/boot/dts/omap4.dtsi
index d3f8a6e8ca20..070e4f45092b 100644
--- a/arch/arm/boot/dts/omap4.dtsi
+++ b/arch/arm/boot/dts/omap4.dtsi
@@ -186,6 +186,22 @@
186 pinctrl-single,function-mask = <0x7fff>; 186 pinctrl-single,function-mask = <0x7fff>;
187 }; 187 };
188 188
189 omap4_padconf_global: tisyscon@4a1005a0 {
190 compatible = "syscon";
191 reg = <0x4a1005a0 0x170>;
192 };
193
194 pbias_regulator: pbias_regulator {
195 compatible = "ti,pbias-omap";
196 reg = <0x60 0x4>;
197 syscon = <&omap4_padconf_global>;
198 pbias_mmc_reg: pbias_mmc_omap4 {
199 regulator-name = "pbias_mmc_omap4";
200 regulator-min-microvolt = <1800000>;
201 regulator-max-microvolt = <3000000>;
202 };
203 };
204
189 sdma: dma-controller@4a056000 { 205 sdma: dma-controller@4a056000 {
190 compatible = "ti,omap4430-sdma"; 206 compatible = "ti,omap4430-sdma";
191 reg = <0x4a056000 0x1000>; 207 reg = <0x4a056000 0x1000>;
@@ -419,6 +435,7 @@
419 ti,needs-special-reset; 435 ti,needs-special-reset;
420 dmas = <&sdma 61>, <&sdma 62>; 436 dmas = <&sdma 61>, <&sdma 62>;
421 dma-names = "tx", "rx"; 437 dma-names = "tx", "rx";
438 pbias-supply = <&pbias_mmc_reg>;
422 }; 439 };
423 440
424 mmc2: mmc@480b4000 { 441 mmc2: mmc@480b4000 {
diff --git a/arch/arm/boot/dts/omap5.dtsi b/arch/arm/boot/dts/omap5.dtsi
index a72813a9663e..1f328ad9476f 100644
--- a/arch/arm/boot/dts/omap5.dtsi
+++ b/arch/arm/boot/dts/omap5.dtsi
@@ -192,6 +192,22 @@
192 pinctrl-single,function-mask = <0x7fff>; 192 pinctrl-single,function-mask = <0x7fff>;
193 }; 193 };
194 194
195 omap5_padconf_global: tisyscon@4a002da0 {
196 compatible = "syscon";
197 reg = <0x4A002da0 0xec>;
198 };
199
200 pbias_regulator: pbias_regulator {
201 compatible = "ti,pbias-omap";
202 reg = <0x60 0x4>;
203 syscon = <&omap5_padconf_global>;
204 pbias_mmc_reg: pbias_mmc_omap5 {
205 regulator-name = "pbias_mmc_omap5";
206 regulator-min-microvolt = <1800000>;
207 regulator-max-microvolt = <3000000>;
208 };
209 };
210
195 sdma: dma-controller@4a056000 { 211 sdma: dma-controller@4a056000 {
196 compatible = "ti,omap4430-sdma"; 212 compatible = "ti,omap4430-sdma";
197 reg = <0x4a056000 0x1000>; 213 reg = <0x4a056000 0x1000>;
@@ -471,6 +487,7 @@
471 ti,needs-special-reset; 487 ti,needs-special-reset;
472 dmas = <&sdma 61>, <&sdma 62>; 488 dmas = <&sdma 61>, <&sdma 62>;
473 dma-names = "tx", "rx"; 489 dma-names = "tx", "rx";
490 pbias-supply = <&pbias_mmc_reg>;
474 }; 491 };
475 492
476 mmc2: mmc@480b4000 { 493 mmc2: mmc@480b4000 {