summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/sun4i-a10-mini-xplus.dts
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2014-12-16 22:59:55 +0100
committerMaxime Ripard <maxime.ripard@free-electrons.com>2015-01-21 09:58:56 +0100
commitbca12924f09dc03f2bda3b3e39408fee920a343b (patch)
tree4d523b55a8db22235de423887ce2092bb19e467e /arch/arm/boot/dts/sun4i-a10-mini-xplus.dts
parentARM: sunxi: DT: Convert to device tree includes (diff)
downloadlinux-bca12924f09dc03f2bda3b3e39408fee920a343b.tar.xz
linux-bca12924f09dc03f2bda3b3e39408fee920a343b.zip
ARM: sunxi: DT: convert DTs to use common GPIOs includes
Replace the various raw GPIO flags by their definition in the common dt-bindings header. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'arch/arm/boot/dts/sun4i-a10-mini-xplus.dts')
-rw-r--r--arch/arm/boot/dts/sun4i-a10-mini-xplus.dts4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/sun4i-a10-mini-xplus.dts b/arch/arm/boot/dts/sun4i-a10-mini-xplus.dts
index e55639988e5d..1db02eb3796c 100644
--- a/arch/arm/boot/dts/sun4i-a10-mini-xplus.dts
+++ b/arch/arm/boot/dts/sun4i-a10-mini-xplus.dts
@@ -51,6 +51,8 @@
#include "sun4i-a10.dtsi"
#include "sunxi-common-regulators.dtsi"
+#include <dt-bindings/gpio/gpio.h>
+
/ {
model = "PineRiver Mini X-Plus";
compatible = "pineriver,mini-xplus", "allwinner,sun4i-a10";
@@ -61,7 +63,7 @@
pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_reference_design>;
vmmc-supply = <&reg_vcc3v3>;
bus-width = <4>;
- cd-gpios = <&pio 7 1 0>; /* PH1 */
+ cd-gpios = <&pio 7 1 GPIO_ACTIVE_HIGH>; /* PH1 */
cd-inverted;
status = "okay";
};