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/sun9i-a80.dtsi | |
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/sun9i-a80.dtsi')
-rw-r--r-- | arch/arm/boot/dts/sun9i-a80.dtsi | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/arch/arm/boot/dts/sun9i-a80.dtsi b/arch/arm/boot/dts/sun9i-a80.dtsi index 90d0450850e9..de31b210e2c1 100644 --- a/arch/arm/boot/dts/sun9i-a80.dtsi +++ b/arch/arm/boot/dts/sun9i-a80.dtsi | |||
@@ -49,6 +49,8 @@ | |||
49 | 49 | ||
50 | #include "skeleton64.dtsi" | 50 | #include "skeleton64.dtsi" |
51 | 51 | ||
52 | #include <dt-bindings/pinctrl/sun4i-a10.h> | ||
53 | |||
52 | / { | 54 | / { |
53 | interrupt-parent = <&gic>; | 55 | interrupt-parent = <&gic>; |
54 | 56 | ||
@@ -355,22 +357,22 @@ | |||
355 | i2c3_pins_a: i2c3@0 { | 357 | i2c3_pins_a: i2c3@0 { |
356 | allwinner,pins = "PG10", "PG11"; | 358 | allwinner,pins = "PG10", "PG11"; |
357 | allwinner,function = "i2c3"; | 359 | allwinner,function = "i2c3"; |
358 | allwinner,drive = <0>; | 360 | allwinner,drive = <SUN4I_PINCTRL_10_MA>; |
359 | allwinner,pull = <0>; | 361 | allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; |
360 | }; | 362 | }; |
361 | 363 | ||
362 | uart0_pins_a: uart0@0 { | 364 | uart0_pins_a: uart0@0 { |
363 | allwinner,pins = "PH12", "PH13"; | 365 | allwinner,pins = "PH12", "PH13"; |
364 | allwinner,function = "uart0"; | 366 | allwinner,function = "uart0"; |
365 | allwinner,drive = <0>; | 367 | allwinner,drive = <SUN4I_PINCTRL_10_MA>; |
366 | allwinner,pull = <0>; | 368 | allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; |
367 | }; | 369 | }; |
368 | 370 | ||
369 | uart4_pins_a: uart4@0 { | 371 | uart4_pins_a: uart4@0 { |
370 | allwinner,pins = "PG12", "PG13", "PG14", "PG15"; | 372 | allwinner,pins = "PG12", "PG13", "PG14", "PG15"; |
371 | allwinner,function = "uart4"; | 373 | allwinner,function = "uart4"; |
372 | allwinner,drive = <0>; | 374 | allwinner,drive = <SUN4I_PINCTRL_10_MA>; |
373 | allwinner,pull = <0>; | 375 | allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; |
374 | }; | 376 | }; |
375 | }; | 377 | }; |
376 | 378 | ||