aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Agner <stefan@agner.ch>2017-03-29 19:21:13 -0400
committerShawn Guo <shawnguo@kernel.org>2017-04-10 04:16:21 -0400
commit746380186d12159de1697c80e406783888478670 (patch)
tree9414b090bcf5b0cb3f98000f1d0fb288f748dfc3
parentc9171bb5a9ed0d5168e0788189042a33b73d7616 (diff)
ARM: dts: imx7-colibri: add Carrier Board 3.3V/5V regulators
Model the Carrier Board power distribution by adding a fixed 3.3V and 5V regulator. The 3.3V regulator is connected to the backlight as well as the display supply. The 5V regulator is used to supply USB VBUS. Signed-off-by: Stefan Agner <stefan@agner.ch> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
-rw-r--r--arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi17
-rw-r--r--arch/arm/boot/dts/imx7d-colibri-eval-v3.dts1
2 files changed, 18 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi b/arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi
index 7a98a45a0d95..18bebd6d8d47 100644
--- a/arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi
+++ b/arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi
@@ -48,6 +48,7 @@
48 panel: panel { 48 panel: panel {
49 compatible = "edt,et057090dhu"; 49 compatible = "edt,et057090dhu";
50 backlight = <&bl>; 50 backlight = <&bl>;
51 power-supply = <&reg_3v3>;
51 52
52 port { 53 port {
53 panel_in: endpoint { 54 panel_in: endpoint {
@@ -55,11 +56,27 @@
55 }; 56 };
56 }; 57 };
57 }; 58 };
59
60 reg_3v3: regulator-3v3 {
61 compatible = "regulator-fixed";
62 regulator-name = "3.3V";
63 regulator-min-microvolt = <3300000>;
64 regulator-max-microvolt = <3300000>;
65 };
66
67 reg_5v0: regulator-5v0 {
68 compatible = "regulator-fixed";
69 regulator-name = "5V";
70 regulator-min-microvolt = <5000000>;
71 regulator-max-microvolt = <5000000>;
72 };
58}; 73};
59 74
60&bl { 75&bl {
61 brightness-levels = <0 4 8 16 32 64 128 255>; 76 brightness-levels = <0 4 8 16 32 64 128 255>;
62 default-brightness-level = <6>; 77 default-brightness-level = <6>;
78 power-supply = <&reg_3v3>;
79
63 status = "okay"; 80 status = "okay";
64}; 81};
65 82
diff --git a/arch/arm/boot/dts/imx7d-colibri-eval-v3.dts b/arch/arm/boot/dts/imx7d-colibri-eval-v3.dts
index bd01d2cc642d..a608a14d8c85 100644
--- a/arch/arm/boot/dts/imx7d-colibri-eval-v3.dts
+++ b/arch/arm/boot/dts/imx7d-colibri-eval-v3.dts
@@ -57,6 +57,7 @@
57 regulator-min-microvolt = <5000000>; 57 regulator-min-microvolt = <5000000>;
58 regulator-max-microvolt = <5000000>; 58 regulator-max-microvolt = <5000000>;
59 gpio = <&gpio4 7 GPIO_ACTIVE_LOW>; 59 gpio = <&gpio4 7 GPIO_ACTIVE_LOW>;
60 vin-supply = <&reg_5v0>;
60 }; 61 };
61}; 62};
62 63