aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/sun5i-a10s-r7-tv-dongle.dts
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2014-12-16 16:59:57 -0500
committerMaxime Ripard <maxime.ripard@free-electrons.com>2015-01-21 03:58:57 -0500
commit092a0c3b18ce8f2207591846dad5c9071ed2f832 (patch)
treef9bfdb7753f5dc589815988b2cdb33af667825da /arch/arm/boot/dts/sun5i-a10s-r7-tv-dongle.dts
parent1f9f6a78735f56f5d718565b235c7e0188933e2d (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/sun5i-a10s-r7-tv-dongle.dts')
-rw-r--r--arch/arm/boot/dts/sun5i-a10s-r7-tv-dongle.dts13
1 files changed, 7 insertions, 6 deletions
diff --git a/arch/arm/boot/dts/sun5i-a10s-r7-tv-dongle.dts b/arch/arm/boot/dts/sun5i-a10s-r7-tv-dongle.dts
index da2d2535b1bc..7deddfc9df8b 100644
--- a/arch/arm/boot/dts/sun5i-a10s-r7-tv-dongle.dts
+++ b/arch/arm/boot/dts/sun5i-a10s-r7-tv-dongle.dts
@@ -50,6 +50,7 @@
50#include "sunxi-common-regulators.dtsi" 50#include "sunxi-common-regulators.dtsi"
51 51
52#include <dt-bindings/gpio/gpio.h> 52#include <dt-bindings/gpio/gpio.h>
53#include <dt-bindings/pinctrl/sun4i-a10.h>
53 54
54/ { 55/ {
55 model = "R7 A10s hdmi tv-stick"; 56 model = "R7 A10s hdmi tv-stick";
@@ -92,22 +93,22 @@
92 mmc0_cd_pin_r7: mmc0_cd_pin@0 { 93 mmc0_cd_pin_r7: mmc0_cd_pin@0 {
93 allwinner,pins = "PG1"; 94 allwinner,pins = "PG1";
94 allwinner,function = "gpio_in"; 95 allwinner,function = "gpio_in";
95 allwinner,drive = <0>; 96 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
96 allwinner,pull = <1>; 97 allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
97 }; 98 };
98 99
99 led_pins_r7: led_pins@0 { 100 led_pins_r7: led_pins@0 {
100 allwinner,pins = "PB2"; 101 allwinner,pins = "PB2";
101 allwinner,function = "gpio_out"; 102 allwinner,function = "gpio_out";
102 allwinner,drive = <1>; 103 allwinner,drive = <SUN4I_PINCTRL_20_MA>;
103 allwinner,pull = <0>; 104 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
104 }; 105 };
105 106
106 usb1_vbus_pin_r7: usb1_vbus_pin@0 { 107 usb1_vbus_pin_r7: usb1_vbus_pin@0 {
107 allwinner,pins = "PG13"; 108 allwinner,pins = "PG13";
108 allwinner,function = "gpio_out"; 109 allwinner,function = "gpio_out";
109 allwinner,drive = <0>; 110 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
110 allwinner,pull = <0>; 111 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
111 }; 112 };
112 }; 113 };
113 114