summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/sun4i-a10-pcduino.dts
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/boot/dts/sun4i-a10-pcduino.dts')
-rw-r--r--arch/arm/boot/dts/sun4i-a10-pcduino.dts4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/sun4i-a10-pcduino.dts b/arch/arm/boot/dts/sun4i-a10-pcduino.dts
index 7367eff79dea..48161adfb32c 100644
--- a/arch/arm/boot/dts/sun4i-a10-pcduino.dts
+++ b/arch/arm/boot/dts/sun4i-a10-pcduino.dts
@@ -50,6 +50,8 @@
#include "sun4i-a10.dtsi"
#include "sunxi-common-regulators.dtsi"
+#include <dt-bindings/gpio/gpio.h>
+
/ {
model = "LinkSprite pcDuino";
compatible = "linksprite,a10-pcduino", "allwinner,sun4i-a10";
@@ -75,7 +77,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";
};