Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1728066
| From | Juergen Borleis <jbe@pengutronix.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 9/9] ARM: dts: TQma53: describe the full power supply tree |
| Date | 2017-09-07 11:10 +0200 |
| Message-ID | <un0YX-6kj-45@gated-at.bofh.it> (permalink) |
| References | <un0YV-6kj-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
|<--- mba53 devel baseboard --->|<----- TQma53 CPU card ----->|
| | |
+12 V -|-o--> 3.3 V ----> internal use | |
| | | |
| \--> 5.0 V -o--> internal use | /--> 3.8 V --> PMIC |
| | | | |
| \---------------->|-o--> 3.2 V --> internal use |
| |
Signed-off-by: Juergen Borleis <jbe@pengutronix.de>
---
arch/arm/boot/dts/imx53-mba53.dts | 36 +++++++++++++++++++++++++++++++++++-
arch/arm/boot/dts/imx53-tqma53.dtsi | 9 +++++++++
2 files changed, 44 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/imx53-mba53.dts b/arch/arm/boot/dts/imx53-mba53.dts
index fb50ed8cc8f47..b5e1b9b373bf5 100644
--- a/arch/arm/boot/dts/imx53-mba53.dts
+++ b/arch/arm/boot/dts/imx53-mba53.dts
@@ -44,6 +44,32 @@
};
};
+ main_power_in_12p0v: mainpowerin {
+ /* external power-in */
+ compatible = "regulator-fixed";
+ regulator-name = "12P0V";
+ regulator-min-microvolt = <12000000>;
+ regulator-max-microvolt = <12000000>;
+ regulator-always-on;
+ };
+
+ reg_5p0v: base5p0v {
+ compatible = "regulator-fixed";
+ regulator-name = "5P0V";
+ regulator-min-microvolt = <5000000>;
+ regulator-max-microvolt = <5000000>;
+ vin-supply = <&main_power_in_12p0v>;
+ regulator-always-on;
+ };
+
+ reg_3p3v: base3p3v {
+ compatible = "regulator-fixed";
+ regulator-name = "3P3V";
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ vin-supply = <&main_power_in_12p0v>;
+ regulator-always-on;
+ };
reg_backlight: backlight {
compatible = "regulator-fixed";
@@ -67,6 +93,14 @@
};
};
+®_3p2v {
+ vin-supply = <®_5p0v>;
+};
+
+®_3p8v {
+ vin-supply = <®_5p0v>;
+};
+
&ldb {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_lvds1_1>;
@@ -192,7 +226,7 @@
};
&esdhc2 {
- vmmc-supply = <®_3p2v>;
+ vmmc-supply = <®_3p3v>;
status = "okay";
};
diff --git a/arch/arm/boot/dts/imx53-tqma53.dtsi b/arch/arm/boot/dts/imx53-tqma53.dtsi
index 1ab5fbab1d728..ff4608b7318f4 100644
--- a/arch/arm/boot/dts/imx53-tqma53.dtsi
+++ b/arch/arm/boot/dts/imx53-tqma53.dtsi
@@ -27,6 +27,14 @@
regulator-max-microvolt = <3200000>;
regulator-always-on;
};
+
+ reg_3p8v: card3p8v {
+ compatible = "regulator-fixed";
+ regulator-name = "3P8V";
+ regulator-min-microvolt = <3800000>;
+ regulator-max-microvolt = <3800000>;
+ regulator-always-on;
+ };
};
&esdhc2 {
@@ -264,6 +272,7 @@
fsl,mc13xxx-uses-rtc;
interrupt-parent = <&gpio2>;
interrupts = <6 IRQ_TYPE_LEVEL_HIGH>;
+ /* power supply input is ®_3p8v */
};
sensor1: lm75@48 {
--
2.11.0
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Cleanup devicetree for the i.MX53 based TQma53 + mba53 development kit Juergen Borleis <jbe@pengutronix.de> - 2017-09-07 11:10 +0200 [PATCH 4/9] ARM: dts: TQma53: ESDHC2: use correct IO lines power supply Juergen Borleis <jbe@pengutronix.de> - 2017-09-07 11:10 +0200 [PATCH 5/9] ARM: dts: TQma53: define eMMC's power supply Juergen Borleis <jbe@pengutronix.de> - 2017-09-07 11:10 +0200 [PATCH 9/9] ARM: dts: TQma53: describe the full power supply tree Juergen Borleis <jbe@pengutronix.de> - 2017-09-07 11:10 +0200 [PATCH 1/9] ARM: dts: TQma53: regulators are no bus Juergen Borleis <jbe@pengutronix.de> - 2017-09-07 11:10 +0200 [PATCH 6/9] ARM: dts: TQma53: fix and move regulator to its correct location Juergen Borleis <jbe@pengutronix.de> - 2017-09-07 11:10 +0200
csiph-web