ARM: dts: vf-colibri: add carrier boards 3.3V supply
authorStefan Agner <stefan@agner.ch>
Wed, 17 Feb 2016 23:41:00 +0000 (15:41 -0800)
committerShawn Guo <shawnguo@kernel.org>
Mon, 29 Feb 2016 08:17:35 +0000 (16:17 +0800)
Add the carrier boards 3.3V supply as fixed regulator. This allows
to specify the power supply for nodes like backlight.

Signed-off-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/vf-colibri-eval-v3.dtsi

index 291e939..4d8b7f6 100644 (file)
                clock-frequency = <16000000>;
        };
 
+       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";
@@ -72,6 +79,7 @@
 &bl {
        brightness-levels = <0 4 8 16 32 64 128 255>;
        default-brightness-level = <6>;
+       power-supply = <&reg_3v3>;
        status  = "okay";
 };
 
        status = "okay";
 };
 
+&reg_module_3v3 {
+       vin-supply = <&reg_3v3>;
+};
+
 &uart0 {
        status = "okay";
 };