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/sun7i-a20-olinuxino-lime.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/sun7i-a20-olinuxino-lime.dts')
-rw-r--r-- | arch/arm/boot/dts/sun7i-a20-olinuxino-lime.dts | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/arch/arm/boot/dts/sun7i-a20-olinuxino-lime.dts b/arch/arm/boot/dts/sun7i-a20-olinuxino-lime.dts index 0423b1cbb365..f74405cd18b6 100644 --- a/arch/arm/boot/dts/sun7i-a20-olinuxino-lime.dts +++ b/arch/arm/boot/dts/sun7i-a20-olinuxino-lime.dts | |||
@@ -53,6 +53,7 @@ | |||
53 | #include "sunxi-common-regulators.dtsi" | 53 | #include "sunxi-common-regulators.dtsi" |
54 | 54 | ||
55 | #include <dt-bindings/gpio/gpio.h> | 55 | #include <dt-bindings/gpio/gpio.h> |
56 | #include <dt-bindings/pinctrl/sun4i-a10.h> | ||
56 | 57 | ||
57 | / { | 58 | / { |
58 | model = "Olimex A20-OLinuXino-LIME"; | 59 | model = "Olimex A20-OLinuXino-LIME"; |
@@ -100,15 +101,15 @@ | |||
100 | ahci_pwr_pin_olinuxinolime: ahci_pwr_pin@1 { | 101 | ahci_pwr_pin_olinuxinolime: ahci_pwr_pin@1 { |
101 | allwinner,pins = "PC3"; | 102 | allwinner,pins = "PC3"; |
102 | allwinner,function = "gpio_out"; | 103 | allwinner,function = "gpio_out"; |
103 | allwinner,drive = <0>; | 104 | allwinner,drive = <SUN4I_PINCTRL_10_MA>; |
104 | allwinner,pull = <0>; | 105 | allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; |
105 | }; | 106 | }; |
106 | 107 | ||
107 | led_pins_olinuxinolime: led_pins@0 { | 108 | led_pins_olinuxinolime: led_pins@0 { |
108 | allwinner,pins = "PH2"; | 109 | allwinner,pins = "PH2"; |
109 | allwinner,function = "gpio_out"; | 110 | allwinner,function = "gpio_out"; |
110 | allwinner,drive = <1>; | 111 | allwinner,drive = <SUN4I_PINCTRL_20_MA>; |
111 | allwinner,pull = <0>; | 112 | allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; |
112 | }; | 113 | }; |
113 | }; | 114 | }; |
114 | 115 | ||