Commit 4d6480ac authored by Lothar Waßmann's avatar Lothar Waßmann Committed by Shawn Guo

ARM: dts: imx28-tx28: use GPIO flags

Signed-off-by: default avatarLothar Waßmann <LW@KARO-electronics.de>
Signed-off-by: default avatarShawn Guo <shawn.guo@freescale.com>
parent e905e7f8
...@@ -37,7 +37,7 @@ memory { ...@@ -37,7 +37,7 @@ memory {
onewire { onewire {
compatible = "w1-gpio"; compatible = "w1-gpio";
gpios = <&gpio2 7 0>; gpios = <&gpio2 7 GPIO_ACTIVE_HIGH>;
status = "disabled"; status = "disabled";
}; };
...@@ -52,7 +52,7 @@ reg_usb0_vbus: regulator@0 { ...@@ -52,7 +52,7 @@ reg_usb0_vbus: regulator@0 {
regulator-name = "usb0_vbus"; regulator-name = "usb0_vbus";
regulator-min-microvolt = <5000000>; regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>; regulator-max-microvolt = <5000000>;
gpio = <&gpio0 18 0>; gpio = <&gpio0 18 GPIO_ACTIVE_HIGH>;
enable-active-high; enable-active-high;
}; };
...@@ -62,7 +62,7 @@ reg_usb1_vbus: regulator@1 { ...@@ -62,7 +62,7 @@ reg_usb1_vbus: regulator@1 {
regulator-name = "usb1_vbus"; regulator-name = "usb1_vbus";
regulator-min-microvolt = <5000000>; regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>; regulator-max-microvolt = <5000000>;
gpio = <&gpio3 27 0>; gpio = <&gpio3 27 GPIO_ACTIVE_HIGH>;
enable-active-high; enable-active-high;
}; };
...@@ -90,7 +90,7 @@ reg_can_xcvr: regulator@4 { ...@@ -90,7 +90,7 @@ reg_can_xcvr: regulator@4 {
regulator-name = "CAN XCVR"; regulator-name = "CAN XCVR";
regulator-min-microvolt = <3300000>; regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>; regulator-max-microvolt = <3300000>;
gpio = <&gpio1 0 0>; gpio = <&gpio1 0 GPIO_ACTIVE_HIGH>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&tx28_flexcan_xcvr_pins>; pinctrl-0 = <&tx28_flexcan_xcvr_pins>;
}; };
...@@ -101,7 +101,7 @@ reg_lcd: regulator@5 { ...@@ -101,7 +101,7 @@ reg_lcd: regulator@5 {
regulator-name = "LCD POWER"; regulator-name = "LCD POWER";
regulator-min-microvolt = <3300000>; regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>; regulator-max-microvolt = <3300000>;
gpio = <&gpio1 31 0>; gpio = <&gpio1 31 GPIO_ACTIVE_HIGH>;
enable-active-high; enable-active-high;
}; };
...@@ -111,7 +111,7 @@ reg_lcd_reset: regulator@6 { ...@@ -111,7 +111,7 @@ reg_lcd_reset: regulator@6 {
regulator-name = "LCD RESET"; regulator-name = "LCD RESET";
regulator-min-microvolt = <3300000>; regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>; regulator-max-microvolt = <3300000>;
gpio = <&gpio3 30 0>; gpio = <&gpio3 30 GPIO_ACTIVE_HIGH>;
startup-delay-us = <300000>; startup-delay-us = <300000>;
enable-active-high; enable-active-high;
regulator-always-on; regulator-always-on;
...@@ -143,7 +143,7 @@ leds { ...@@ -143,7 +143,7 @@ leds {
user_led: user { user_led: user {
label = "Heartbeat"; label = "Heartbeat";
gpios = <&gpio4 10 0>; gpios = <&gpio4 10 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "heartbeat"; linux,default-trigger = "heartbeat";
}; };
}; };
...@@ -172,16 +172,16 @@ backlight { ...@@ -172,16 +172,16 @@ backlight {
matrix_keypad: matrix-keypad@0 { matrix_keypad: matrix-keypad@0 {
compatible = "gpio-matrix-keypad"; compatible = "gpio-matrix-keypad";
col-gpios = < col-gpios = <
&gpio5 0 0 &gpio5 0 GPIO_ACTIVE_HIGH
&gpio5 1 0 &gpio5 1 GPIO_ACTIVE_HIGH
&gpio5 2 0 &gpio5 2 GPIO_ACTIVE_HIGH
&gpio5 3 0 &gpio5 3 GPIO_ACTIVE_HIGH
>; >;
row-gpios = < row-gpios = <
&gpio5 4 0 &gpio5 4 GPIO_ACTIVE_HIGH
&gpio5 5 0 &gpio5 5 GPIO_ACTIVE_HIGH
&gpio5 6 0 &gpio5 6 GPIO_ACTIVE_HIGH
&gpio5 7 0 &gpio5 7 GPIO_ACTIVE_HIGH
>; >;
/* sample keymap */ /* sample keymap */
linux,keymap = < linux,keymap = <
...@@ -284,8 +284,8 @@ polytouch: edt-ft5x06@38 { ...@@ -284,8 +284,8 @@ polytouch: edt-ft5x06@38 {
pinctrl-0 = <&tx28_edt_ft5x06_pins>; pinctrl-0 = <&tx28_edt_ft5x06_pins>;
interrupt-parent = <&gpio2>; interrupt-parent = <&gpio2>;
interrupts = <5 0>; interrupts = <5 0>;
reset-gpios = <&gpio2 6 1>; reset-gpios = <&gpio2 6 GPIO_ACTIVE_LOW>;
wake-gpios = <&gpio4 9 0>; wake-gpios = <&gpio4 9 GPIO_ACTIVE_HIGH>;
}; };
touchscreen: tsc2007@48 { touchscreen: tsc2007@48 {
...@@ -295,7 +295,7 @@ touchscreen: tsc2007@48 { ...@@ -295,7 +295,7 @@ touchscreen: tsc2007@48 {
pinctrl-0 = <&tx28_tsc2007_pins>; pinctrl-0 = <&tx28_tsc2007_pins>;
interrupt-parent = <&gpio3>; interrupt-parent = <&gpio3>;
interrupts = <20 0>; interrupts = <20 0>;
pendown-gpio = <&gpio3 20 1>; pendown-gpio = <&gpio3 20 GPIO_ACTIVE_LOW>;
ti,x-plate-ohms = /bits/ 16 <660>; ti,x-plate-ohms = /bits/ 16 <660>;
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment