diff options
author | Maxime Ripard <maxime.ripard@free-electrons.com> | 2014-12-16 16:59:57 -0500 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2015-01-21 03:58:57 -0500 |
commit | 092a0c3b18ce8f2207591846dad5c9071ed2f832 (patch) | |
tree | f9bfdb7753f5dc589815988b2cdb33af667825da /arch/arm/boot/dts/sun6i-a31-app4-evb1.dts | |
parent | 1f9f6a78735f56f5d718565b235c7e0188933e2d (diff) |
ARM: sunxi: DT: Convert the DTs to use a header for the pinctrl nodes
The pinctrl nodes require some extra opaque arguments for the pull up and drive
strength values.
Introduce a new header file and convert the device trees to replace these
opaque numbers by defines.
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 | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/sun6i-a31-app4-evb1.dts b/arch/arm/boot/dts/sun6i-a31-app4-evb1.dts index 0d86e8cb2ca2..be9f5ee6b59e 100644 --- a/arch/arm/boot/dts/sun6i-a31-app4-evb1.dts +++ b/arch/arm/boot/dts/sun6i-a31-app4-evb1.dts | |||
@@ -52,6 +52,7 @@ | |||
52 | #include "sunxi-common-regulators.dtsi" | 52 | #include "sunxi-common-regulators.dtsi" |
53 | 53 | ||
54 | #include <dt-bindings/gpio/gpio.h> | 54 | #include <dt-bindings/gpio/gpio.h> |
55 | #include <dt-bindings/pinctrl/sun4i-a10.h> | ||
55 | 56 | ||
56 | / { | 57 | / { |
57 | model = "Allwinner A31 APP4 EVB1 Evaluation Board"; | 58 | model = "Allwinner A31 APP4 EVB1 Evaluation Board"; |
@@ -66,8 +67,8 @@ | |||
66 | usb1_vbus_pin_a: usb1_vbus_pin@0 { | 67 | usb1_vbus_pin_a: usb1_vbus_pin@0 { |
67 | allwinner,pins = "PH27"; | 68 | allwinner,pins = "PH27"; |
68 | allwinner,function = "gpio_out"; | 69 | allwinner,function = "gpio_out"; |
69 | allwinner,drive = <0>; | 70 | allwinner,drive = <SUN4I_PINCTRL_10_MA>; |
70 | allwinner,pull = <0>; | 71 | allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; |
71 | }; | 72 | }; |
72 | }; | 73 | }; |
73 | 74 | ||