ARM: dts: sun7i: lamobo-r1: Fix GPIO flags in reg_ahci_5v
authorChen-Yu Tsai <wens@csie.org>
Wed, 6 Jul 2016 09:10:44 +0000 (17:10 +0800)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Mon, 11 Jul 2016 06:26:17 +0000 (08:26 +0200)
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>
arch/arm/boot/dts/sun7i-a20-lamobo-r1.dts

index 7307f07f82bd34946b5eb949abb1983cd5540c6a..c5126a9c35fc775b6a080be52faacf00fbc99d12 100644 (file)
 #include "axp209.dtsi"
 
 &reg_ahci_5v {
-       gpio = <&pio 1 3 0>; /* PB3 */
+       gpio = <&pio 1 3 GPIO_ACTIVE_HIGH>; /* PB3 */
        status = "okay";
 };