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-a31s-cs908.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-a31s-cs908.dts')
-rw-r--r-- | arch/arm/boot/dts/sun6i-a31s-cs908.dts | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/sun6i-a31s-cs908.dts b/arch/arm/boot/dts/sun6i-a31s-cs908.dts index dc57ffa3e82c..bc3734f67cf0 100644 --- a/arch/arm/boot/dts/sun6i-a31s-cs908.dts +++ b/arch/arm/boot/dts/sun6i-a31s-cs908.dts | |||
@@ -48,6 +48,8 @@ | |||
48 | /dts-v1/; | 48 | /dts-v1/; |
49 | #include "sun6i-a31s.dtsi" | 49 | #include "sun6i-a31s.dtsi" |
50 | 50 | ||
51 | #include <dt-bindings/pinctrl/sun4i-a10.h> | ||
52 | |||
51 | / { | 53 | / { |
52 | model = "CSQ CS908 top set box"; | 54 | model = "CSQ CS908 top set box"; |
53 | compatible = "csq,cs908", "allwinner,sun6i-a31s"; | 55 | compatible = "csq,cs908", "allwinner,sun6i-a31s"; |
@@ -73,8 +75,8 @@ | |||
73 | usb1_vbus_pin_csq908: usb1_vbus_pin@0 { | 75 | usb1_vbus_pin_csq908: usb1_vbus_pin@0 { |
74 | allwinner,pins = "PC27"; | 76 | allwinner,pins = "PC27"; |
75 | allwinner,function = "gpio_out"; | 77 | allwinner,function = "gpio_out"; |
76 | allwinner,drive = <0>; | 78 | allwinner,drive = <SUN4I_PINCTRL_10_MA>; |
77 | allwinner,pull = <0>; | 79 | allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; |
78 | }; | 80 | }; |
79 | }; | 81 | }; |
80 | 82 | ||