summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/imx6qdl-gw51xx.dtsi
diff options
context:
space:
mode:
authorTim Harvey <tharvey@gateworks.com>2014-09-09 06:07:28 (GMT)
committerShawn Guo <shawn.guo@freescale.com>2014-09-16 02:27:20 (GMT)
commit326cdb16552c3670fefd583d94fe797e776130b6 (patch)
tree47bee22922f70c8a4a6ca7a1fd3820a5103bc867 /arch/arm/boot/dts/imx6qdl-gw51xx.dtsi
parente32ba7a7dad114d87c4d7411d07af7a26e4119ce (diff)
downloadlinux-326cdb16552c3670fefd583d94fe797e776130b6.tar.xz
ARM: dts: imx: ventana: use gpio constants
Use the gpio contants defined in bindings for active high/low Signed-off-by: Tim Harvey <tharvey@gateworks.com> Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
Diffstat (limited to 'arch/arm/boot/dts/imx6qdl-gw51xx.dtsi')
-rw-r--r--arch/arm/boot/dts/imx6qdl-gw51xx.dtsi14
1 files changed, 8 insertions, 6 deletions
diff --git a/arch/arm/boot/dts/imx6qdl-gw51xx.dtsi b/arch/arm/boot/dts/imx6qdl-gw51xx.dtsi
index 482ef28..fa2cae4 100644
--- a/arch/arm/boot/dts/imx6qdl-gw51xx.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-gw51xx.dtsi
@@ -9,6 +9,8 @@
* http://www.gnu.org/copyleft/gpl.html
*/
+#include <dt-bindings/gpio/gpio.h>
+
/ {
/* these are used by bootloader for disabling nodes */
aliases {
@@ -28,14 +30,14 @@
led0: user1 {
label = "user1";
- gpios = <&gpio4 6 0>; /* 102 -> MX6_PANLEDG */
+ gpios = <&gpio4 6 GPIO_ACTIVE_HIGH>; /* MX6_PANLEDG */
default-state = "on";
linux,default-trigger = "heartbeat";
};
led1: user2 {
label = "user2";
- gpios = <&gpio4 7 0>; /* 103 -> MX6_PANLEDR */
+ gpios = <&gpio4 7 GPIO_ACTIVE_HIGH>; /* MX6_PANLEDR */
default-state = "off";
};
};
@@ -46,7 +48,7 @@
pps {
compatible = "pps-gpio";
- gpios = <&gpio1 26 0>;
+ gpios = <&gpio1 26 GPIO_ACTIVE_HIGH>;
status = "okay";
};
@@ -79,7 +81,7 @@
regulator-name = "usb_otg_vbus";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
- gpio = <&gpio3 22 0>;
+ gpio = <&gpio3 22 GPIO_ACTIVE_HIGH>;
enable-active-high;
};
};
@@ -89,7 +91,7 @@
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_enet>;
phy-mode = "rgmii";
- phy-reset-gpios = <&gpio1 30 0>;
+ phy-reset-gpios = <&gpio1 30 GPIO_ACTIVE_LOW>;
status = "okay";
};
@@ -279,7 +281,7 @@
};
&pcie {
- reset-gpio = <&gpio1 0 0>;
+ reset-gpio = <&gpio1 0 GPIO_ACTIVE_LOW>;
status = "okay";
};