summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/sun9i-a80-optimus.dts
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2014-12-17 00:59:55 +0300
committerMaxime Ripard <maxime.ripard@free-electrons.com>2015-01-21 11:58:56 +0300
commitbca12924f09dc03f2bda3b3e39408fee920a343b (patch)
tree4d523b55a8db22235de423887ce2092bb19e467e /arch/arm/boot/dts/sun9i-a80-optimus.dts
parent7145570159fb20654b507026a8e388f739fffa5c (diff)
downloadlinux-bca12924f09dc03f2bda3b3e39408fee920a343b.tar.xz
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/sun9i-a80-optimus.dts')
-rw-r--r--arch/arm/boot/dts/sun9i-a80-optimus.dts6
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/sun9i-a80-optimus.dts b/arch/arm/boot/dts/sun9i-a80-optimus.dts
index 7fe242a8134b..8868c946e034 100644
--- a/arch/arm/boot/dts/sun9i-a80-optimus.dts
+++ b/arch/arm/boot/dts/sun9i-a80-optimus.dts
@@ -50,6 +50,8 @@
/dts-v1/;
#include "sun9i-a80.dtsi"
+#include <dt-bindings/gpio/gpio.h>
+
/ {
model = "Merrii A80 Optimus Board";
compatible = "merrii,a80-optimus", "allwinner,sun9i-a80";
@@ -106,14 +108,14 @@
led2 {
label = "optimus:led2:usr";
- gpios = <&pio 7 1 0>;
+ gpios = <&pio 7 1 GPIO_ACTIVE_HIGH>;
};
/* led3 is on PM15, in R_PIO */
led4 {
label = "optimus:led4:usr";
- gpios = <&pio 7 0 0>;
+ gpios = <&pio 7 0 GPIO_ACTIVE_HIGH>;
};
};
};