summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/imx51-babbage.dts
diff options
context:
space:
mode:
authorAlexander Shiyan <shc_work@mail.ru>2013-11-19 15:47:27 +0400
committerShawn Guo <shawn.guo@linaro.org>2014-02-09 17:32:51 +0400
commitbdb3eec7a77fb332d7f1f18581a7a5e372ce7644 (patch)
tree6a9d7d8ea2f7858311f867a83568f83f2294a21d /arch/arm/boot/dts/imx51-babbage.dts
parent4e942303eaa10872ca77bbaa054accd3e4bebdbb (diff)
downloadlinux-bdb3eec7a77fb332d7f1f18581a7a5e372ce7644.tar.xz
ARM: dts: i.MX51 boards: Switch to use standard GPIO flags definitions
Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/imx51-babbage.dts')
-rw-r--r--arch/arm/boot/dts/imx51-babbage.dts11
1 files changed, 6 insertions, 5 deletions
diff --git a/arch/arm/boot/dts/imx51-babbage.dts b/arch/arm/boot/dts/imx51-babbage.dts
index 7981e357064a..d3ceabb856c7 100644
--- a/arch/arm/boot/dts/imx51-babbage.dts
+++ b/arch/arm/boot/dts/imx51-babbage.dts
@@ -75,7 +75,7 @@
power {
label = "Power Button";
- gpios = <&gpio2 21 0>;
+ gpios = <&gpio2 21 GPIO_ACTIVE_HIGH>;
linux,code = <116>; /* KEY_POWER */
gpio-key,wakeup;
};
@@ -105,7 +105,7 @@
reg=<0>;
#clock-cells = <0>;
clock-frequency = <26000000>;
- gpios = <&gpio4 26 1>;
+ gpios = <&gpio4 26 GPIO_ACTIVE_LOW>;
};
};
};
@@ -121,8 +121,8 @@
&esdhc2 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_esdhc2>;
- cd-gpios = <&gpio1 6 0>;
- wp-gpios = <&gpio1 5 0>;
+ cd-gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>;
+ wp-gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
status = "okay";
};
@@ -137,7 +137,8 @@
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_ecspi1>;
fsl,spi-num-chipselects = <2>;
- cs-gpios = <&gpio4 24 0>, <&gpio4 25 0>;
+ cs-gpios = <&gpio4 24 GPIO_ACTIVE_HIGH>,
+ <&gpio4 25 GPIO_ACTIVE_HIGH>;
status = "okay";
pmic: mc13892@0 {