diff options
author | Maxime Ripard <maxime.ripard@free-electrons.com> | 2014-12-16 16:59:55 -0500 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2015-01-21 03:58:56 -0500 |
commit | bca12924f09dc03f2bda3b3e39408fee920a343b (patch) | |
tree | 4d523b55a8db22235de423887ce2092bb19e467e /arch/arm/boot/dts/sun6i-a31-app4-evb1.dts | |
parent | 7145570159fb20654b507026a8e388f739fffa5c (diff) |
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/sun6i-a31-app4-evb1.dts')
-rw-r--r-- | arch/arm/boot/dts/sun6i-a31-app4-evb1.dts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/sun6i-a31-app4-evb1.dts b/arch/arm/boot/dts/sun6i-a31-app4-evb1.dts index 42a11f4795f7..0d86e8cb2ca2 100644 --- a/arch/arm/boot/dts/sun6i-a31-app4-evb1.dts +++ b/arch/arm/boot/dts/sun6i-a31-app4-evb1.dts | |||
@@ -51,6 +51,8 @@ | |||
51 | #include "sun6i-a31.dtsi" | 51 | #include "sun6i-a31.dtsi" |
52 | #include "sunxi-common-regulators.dtsi" | 52 | #include "sunxi-common-regulators.dtsi" |
53 | 53 | ||
54 | #include <dt-bindings/gpio/gpio.h> | ||
55 | |||
54 | / { | 56 | / { |
55 | model = "Allwinner A31 APP4 EVB1 Evaluation Board"; | 57 | model = "Allwinner A31 APP4 EVB1 Evaluation Board"; |
56 | compatible = "allwinner,app4-evb1", "allwinner,sun6i-a31"; | 58 | compatible = "allwinner,app4-evb1", "allwinner,sun6i-a31"; |
@@ -87,7 +89,7 @@ | |||
87 | 89 | ||
88 | reg_usb1_vbus: usb1-vbus { | 90 | reg_usb1_vbus: usb1-vbus { |
89 | pinctrl-0 = <&usb1_vbus_pin_a>; | 91 | pinctrl-0 = <&usb1_vbus_pin_a>; |
90 | gpio = <&pio 7 27 0>; | 92 | gpio = <&pio 7 27 GPIO_ACTIVE_HIGH>; |
91 | status = "okay"; | 93 | status = "okay"; |
92 | }; | 94 | }; |
93 | }; | 95 | }; |