diff options
author | Chen-Yu Tsai <wens@csie.org> | 2014-10-31 11:05:51 +0800 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2014-10-31 09:25:52 +0100 |
commit | fec99debbc922af2b9ff8043ab9f195415e9d447 (patch) | |
tree | 4a3c65975b6225e9a189cbb85e175f739b61e9e1 /arch/arm/boot | |
parent | 2a950b2ca039b0e49c350b8690dcc096077ca2d3 (diff) | |
download | op-kernel-dev-fec99debbc922af2b9ff8043ab9f195415e9d447.zip op-kernel-dev-fec99debbc922af2b9ff8043ab9f195415e9d447.tar.gz |
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')
-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 87b1355..506948f 100644 --- a/arch/arm/boot/dts/sun9i-a80-optimus.dts +++ b/arch/arm/boot/dts/sun9i-a80-optimus.dts @@ -71,6 +71,11 @@ allwinner,drive = <0>; allwinner,pull = <0>; }; + + uart4_pins_a: uart4@0 { + /* Enable internal pull-up */ + allwinner,pull = <1>; + }; }; uart0: serial@07000000 { @@ -79,6 +84,12 @@ status = "okay"; }; + uart4: serial@07001000 { + pinctrl-names = "default"; + pinctrl-0 = <&uart4_pins_a>; + status = "okay"; + }; + i2c3: i2c@07003400 { pinctrl-names = "default"; pinctrl-0 = <&i2c3_pins_a>; |