summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/ste-hrefv60plus.dtsi
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2016-03-24 15:29:30 +0100
committerLinus Walleij <linus.walleij@linaro.org>2016-03-29 09:34:08 +0200
commit1b1e8e024b9ea4c07e05a44b9aeb48d5d89a06e0 (patch)
treec3a4321abb48587ab069fb56ef7040c0f11f9ca6 /arch/arm/boot/dts/ste-hrefv60plus.dtsi
parentLinux 4.6-rc1 (diff)
downloadlinux-1b1e8e024b9ea4c07e05a44b9aeb48d5d89a06e0.tar.xz
linux-1b1e8e024b9ea4c07e05a44b9aeb48d5d89a06e0.zip
ARM: dts: ux500: use the GPIO DT header
Use the <dt-bindings/gpio/gpio.h> header instead of using hardcoded values for the GPIO flags. Eradicate the totally bogus "0x4" flag used and set that to GPIO_ACTIVE_HIGH as is proper, switch the inverted card detect on the Snowball to flag using GPIO_ACTIVE_LOW instead of using the MMC-specific inversion flag. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/ste-hrefv60plus.dtsi')
-rw-r--r--arch/arm/boot/dts/ste-hrefv60plus.dtsi6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/boot/dts/ste-hrefv60plus.dtsi b/arch/arm/boot/dts/ste-hrefv60plus.dtsi
index 149a72e7e37a..45d7af326718 100644
--- a/arch/arm/boot/dts/ste-hrefv60plus.dtsi
+++ b/arch/arm/boot/dts/ste-hrefv60plus.dtsi
@@ -20,12 +20,12 @@
soc {
// External Micro SD slot
sdi0_per1@80126000 {
- cd-gpios = <&gpio2 31 0x4>; // 95
+ cd-gpios = <&gpio2 31 GPIO_ACTIVE_HIGH>; // 95
};
vmmci: regulator-gpio {
- gpios = <&gpio0 5 0x4>;
- enable-gpio = <&gpio5 9 0x4>;
+ gpios = <&gpio0 5 GPIO_ACTIVE_HIGH>;
+ enable-gpio = <&gpio5 9 GPIO_ACTIVE_HIGH>;
};
pinctrl {