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/sun8i-a23-ippo-q8h-v5.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/sun8i-a23-ippo-q8h-v5.dts')
-rw-r--r-- | arch/arm/boot/dts/sun8i-a23-ippo-q8h-v5.dts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/sun8i-a23-ippo-q8h-v5.dts b/arch/arm/boot/dts/sun8i-a23-ippo-q8h-v5.dts index 72ece67258f4..1da31d0e7338 100644 --- a/arch/arm/boot/dts/sun8i-a23-ippo-q8h-v5.dts +++ b/arch/arm/boot/dts/sun8i-a23-ippo-q8h-v5.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 = "Ippo Q8H Dual Core Tablet (v5)"; | 58 | model = "Ippo Q8H Dual Core Tablet (v5)"; |
@@ -80,8 +81,8 @@ | |||
80 | mmc0_cd_pin_q8h: mmc0_cd_pin@0 { | 81 | mmc0_cd_pin_q8h: mmc0_cd_pin@0 { |
81 | allwinner,pins = "PB4"; | 82 | allwinner,pins = "PB4"; |
82 | allwinner,function = "gpio_in"; | 83 | allwinner,function = "gpio_in"; |
83 | allwinner,drive = <0>; | 84 | allwinner,drive = <SUN4I_PINCTRL_10_MA>; |
84 | allwinner,pull = <1>; | 85 | allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; |
85 | }; | 86 | }; |
86 | }; | 87 | }; |
87 | 88 | ||