diff options
author | Chen-Yu Tsai <wens@csie.org> | 2014-10-30 23:05:51 -0400 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2014-10-31 04:25:52 -0400 |
commit | fec99debbc922af2b9ff8043ab9f195415e9d447 (patch) | |
tree | 4a3c65975b6225e9a189cbb85e175f739b61e9e1 /arch/arm/boot/dts/sun9i-a80-optimus.dts | |
parent | 2a950b2ca039b0e49c350b8690dcc096077ca2d3 (diff) |
ARM: dts: sun9i: Enable uart4 for A80 Optimus board
The A80 Optimus board exposes uart4 on the GPIO expansion header.
Enable it so we can use it.
Also enable the internal pull-ups, as there doesn't seem to be
external pull-up resistors for pins on the expansion header.
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'arch/arm/boot/dts/sun9i-a80-optimus.dts')
-rw-r--r-- | arch/arm/boot/dts/sun9i-a80-optimus.dts | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun9i-a80-optimus.dts b/arch/arm/boot/dts/sun9i-a80-optimus.dts index 87b1355e3cd7..506948f582ee 100644 --- a/arch/arm/boot/dts/sun9i-a80-optimus.dts +++ b/arch/arm/boot/dts/sun9i-a80-optimus.dts | |||
@@ -71,6 +71,11 @@ | |||
71 | allwinner,drive = <0>; | 71 | allwinner,drive = <0>; |
72 | allwinner,pull = <0>; | 72 | allwinner,pull = <0>; |
73 | }; | 73 | }; |
74 | |||
75 | uart4_pins_a: uart4@0 { | ||
76 | /* Enable internal pull-up */ | ||
77 | allwinner,pull = <1>; | ||
78 | }; | ||
74 | }; | 79 | }; |
75 | 80 | ||
76 | uart0: serial@07000000 { | 81 | uart0: serial@07000000 { |
@@ -79,6 +84,12 @@ | |||
79 | status = "okay"; | 84 | status = "okay"; |
80 | }; | 85 | }; |
81 | 86 | ||
87 | uart4: serial@07001000 { | ||
88 | pinctrl-names = "default"; | ||
89 | pinctrl-0 = <&uart4_pins_a>; | ||
90 | status = "okay"; | ||
91 | }; | ||
92 | |||
82 | i2c3: i2c@07003400 { | 93 | i2c3: i2c@07003400 { |
83 | pinctrl-names = "default"; | 94 | pinctrl-names = "default"; |
84 | pinctrl-0 = <&i2c3_pins_a>; | 95 | pinctrl-0 = <&i2c3_pins_a>; |