summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi
diff options
context:
space:
mode:
authorStefan Agner <stefan@agner.ch>2017-03-29 16:21:13 -0700
committerShawn Guo <shawnguo@kernel.org>2017-04-10 16:16:21 +0800
commit746380186d12159de1697c80e406783888478670 (patch)
tree9414b090bcf5b0cb3f98000f1d0fb288f748dfc3 /arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi
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>
Diffstat (limited to 'arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi')
-rw-r--r--arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi17
1 files changed, 17 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 @@
panel: panel {
compatible = "edt,et057090dhu";
backlight = <&bl>;
+ power-supply = <&reg_3v3>;
port {
panel_in: endpoint {
@@ -55,11 +56,27 @@
};
};
};
+
+ reg_3v3: regulator-3v3 {
+ compatible = "regulator-fixed";
+ regulator-name = "3.3V";
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ };
+
+ reg_5v0: regulator-5v0 {
+ compatible = "regulator-fixed";
+ regulator-name = "5V";
+ regulator-min-microvolt = <5000000>;
+ regulator-max-microvolt = <5000000>;
+ };
};
&bl {
brightness-levels = <0 4 8 16 32 64 128 255>;
default-brightness-level = <6>;
+ power-supply = <&reg_3v3>;
+
status = "okay";
};