]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: AM33XX: dts: fix regulator 'gpio' property names
authorLothar Waßmann <LW@KARO-electronics.de>
Wed, 7 May 2014 08:35:24 +0000 (10:35 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Wed, 27 Aug 2014 08:32:23 +0000 (10:32 +0200)
arch/arm/boot/dts/am335x-tx48.dts

index 0b8a108a984dd543d4ce8eb4465725c86e0cfbda..82218fd3600277f3db7228f1661692920aedb71d 100644 (file)
                        pinctrl-0 = <&pinctrl_lcd_pwr>;
                        regulator-min-microvolt = <3300000>;
                        regulator-max-microvolt = <3300000>;
-                       gpios = <&gpio1 22 GPIO_ACTIVE_HIGH>;
+                       gpio = <&gpio1 22 GPIO_ACTIVE_HIGH>;
+                       enable-active-high;
+                       regulator-boot-on;
+               };
+
+               reg_lcd_rst: regulator@6 {
+                       compatible = "regulator-fixed";
+                       regulator-name = "LCD reset";
+                       pinctrl-names = "default";
+                       pinctrl-0 = <&pinctrl_lcd_rst>;
+                       regulator-min-microvolt = <3300000>;
+                       regulator-max-microvolt = <3300000>;
+                       gpio = <&gpio1 19 GPIO_ACTIVE_HIGH>;
+                       enable-active-high;
+                       regulator-boot-on;
                };
 
-               reg_vmmc: regulator@6 {
+               reg_vmmc: regulator@7 {
                        compatible = "regulator-fixed";
                        regulator-name = "vmmc";
                        regulator-min-microvolt = <3300000>;
                        regulator-max-microvolt = <3300000>;
                };
 
-               reg_can_xcvr: regulator@7 {
+               reg_can_xcvr: regulator@8 {
                        compatible = "regulator-fixed";
                        regulator-name = "can-xcvr";
                        pinctrl-names = "default";
                        pinctrl-0 = <&pinctrl_can_xcvr>;
                        regulator-min-microvolt = <3300000>;
                        regulator-max-microvolt = <3300000>;
-                       gpios = <&gpio0 22 GPIO_ACTIVE_LOW>;
+                       gpio = <&gpio0 22 GPIO_ACTIVE_LOW>;
                };
 
-               reg_usbotg: regulator@8 {
+               reg_usbotg: regulator@9 {
                        compatible = "regulator-fixed";
                        regulator-name = "usbotg-vbus";
                        regulator-min-microvolt = <3300000>;
                        regulator-max-microvolt = <3300000>;
                        pinctrl-names = "default";
                        pinctrl-0 = <&pinctrl_reg_usbotg>;
-                       gpios = <&gpio2 30 GPIO_ACTIVE_HIGH>;
+                       gpio = <&gpio2 30 GPIO_ACTIVE_HIGH>;
+                       enable-active-high;
+                       regulator-boot-on;
                };
 
-               reg_usbhost: regulator@9 {
+               reg_usbhost: regulator@10 {
                        compatible = "regulator-fixed";
                        regulator-name = "usbhost-vbus";
                        regulator-min-microvolt = <3300000>;
 
        pinctrl_lcd_pwr: lcdpwrgrp {
                pinctrl-single,pins = <
-                       0x58 (PIN_OUTPUT_PULLDOWN | MUX_MODE7)  /* gpmc_a6.gpio1_22 */
+                       0x58 (PIN_OUTPUT | MUX_MODE7)           /* gpmc_a6.gpio1_22 */
+               >;
+       };
+
+       pinctrl_lcd_rst: lcdrstgrp {
+               pinctrl-single,pins = <
+                       0x4c (PIN_OUTPUT | MUX_MODE7)           /* gpmc_a3.gpio1_19 */
                >;
        };
 
 
        pinctrl_reg_usbotg: usbotggrp-2 {
                pinctrl-single,pins = <
-                       0x100 (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* mmc0_clk.gpio2_30                    USBOTG_VBUSEN */
+                       0x100 (PIN_OUTPUT | MUX_MODE7)          /* mmc0_clk.gpio2_30                    USBOTG_VBUSEN */
                >;
        };
 
 };
 
 &usb0_phy {
-       status = "okay";
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_usbotg>;
        vcc-supply = <&reg_usbotg>;
+       status = "okay";
 };
 
 &usb1 {