arm: dts: phy3250: add lcd and backlight fixed regulators
authorVladimir Zapolskiy <vz@mleia.com>
Mon, 21 Dec 2015 19:54:25 +0000 (21:54 +0200)
committerVladimir Zapolskiy <vz@mleia.com>
Thu, 11 Feb 2016 01:06:32 +0000 (03:06 +0200)
Phytec PHY3250 board has GPIO controlled regulators for LCD and
backlight, add their descriptions to board DTS file.

Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
arch/arm/boot/dts/phy3250.dts

index 7d253bb6265ac13e1e478e2f46270f2df1a63b5b..8ac368f48edab73f5fa84c9d3f5ac2abcf05d0aa 100644 (file)
                reg = <0x80000000 0x4000000>;
        };
 
+       regulators {
+               backlight_reg: regulator@0 {
+                       compatible = "regulator-fixed";
+                       regulator-name = "backlight_reg";
+                       regulator-min-microvolt = <1800000>;
+                       regulator-max-microvolt = <1800000>;
+                       gpio = <&gpio 5 4 0>;
+                       enable-active-high;
+                       regulator-boot-on;
+               };
+
+               lcd_reg: regulator@1 {
+                       compatible = "regulator-fixed";
+                       regulator-name = "lcd_reg";
+                       regulator-min-microvolt = <1800000>;
+                       regulator-max-microvolt = <1800000>;
+                       gpio = <&gpio 5 0 0>;
+                       enable-active-high;
+                       regulator-boot-on;
+               };
+       };
+
        ahb {
                mac: ethernet@31060000 {
                        phy-mode = "rmii";