summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorChen-Yu Tsai <wens@csie.org>2016-07-06 11:10:44 +0200
committerMaxime Ripard <maxime.ripard@free-electrons.com>2016-07-11 08:26:17 +0200
commitf64cb7c724a677396866061a01dc85d38ac0c3b4 (patch)
tree78f38a7eba7664e7167104bb7db8b941b5db1abc /arch
parentARM: dts: sun8i-h3: Rename sinovoip-bpi-m2-plus to bananapi-m2-plus (diff)
downloadlinux-f64cb7c724a677396866061a01dc85d38ac0c3b4.tar.xz
linux-f64cb7c724a677396866061a01dc85d38ac0c3b4.zip
ARM: dts: sun7i: lamobo-r1: Fix GPIO flags in reg_ahci_5v
reg_ahci_5v uses a GPIO in active high mode. Use the proper macro, instead of just 0 for the GPIO flags. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/boot/dts/sun7i-a20-lamobo-r1.dts2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/sun7i-a20-lamobo-r1.dts b/arch/arm/boot/dts/sun7i-a20-lamobo-r1.dts
index 7307f07f82bd..c5126a9c35fc 100644
--- a/arch/arm/boot/dts/sun7i-a20-lamobo-r1.dts
+++ b/arch/arm/boot/dts/sun7i-a20-lamobo-r1.dts
@@ -249,7 +249,7 @@
#include "axp209.dtsi"
&reg_ahci_5v {
- gpio = <&pio 1 3 0>; /* PB3 */
+ gpio = <&pio 1 3 GPIO_ACTIVE_HIGH>; /* PB3 */
status = "okay";
};