diff options
author | Chen-Yu Tsai <wens@csie.org> | 2014-10-31 11:05:48 +0800 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2014-10-31 09:25:19 +0100 |
commit | 475c6285cf38480eb39cc62b48c4c95cacd2fc15 (patch) | |
tree | 0679159a561437d71e79d18e5aa564cbcd007b3a /arch/arm/boot/dts/sun9i-a80-optimus.dts | |
parent | 6657a05872c2fe0e891edb2be039ad5c231ae985 (diff) | |
download | blackbird-obmc-linux-475c6285cf38480eb39cc62b48c4c95cacd2fc15.tar.gz blackbird-obmc-linux-475c6285cf38480eb39cc62b48c4c95cacd2fc15.zip |
ARM: dts: sun9i: Enable i2c3 on A80 Optimus board
i2c3 is exposed on the GPIO extension header. Enable it so we can use it.
Also enable internal pull-ups on the pins, as they don't seem to have
external pull-up resistors.
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 | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun9i-a80-optimus.dts b/arch/arm/boot/dts/sun9i-a80-optimus.dts index 5d9bc80afef2..955436aa91d4 100644 --- a/arch/arm/boot/dts/sun9i-a80-optimus.dts +++ b/arch/arm/boot/dts/sun9i-a80-optimus.dts @@ -59,10 +59,23 @@ }; soc { + pio: pinctrl@06000800 { + i2c3_pins_a: i2c3@0 { + /* Enable internal pull-up */ + allwinner,pull = <1>; + }; + }; + uart0: serial@07000000 { pinctrl-names = "default"; pinctrl-0 = <&uart0_pins_a>; status = "okay"; }; + + i2c3: i2c@07003400 { + pinctrl-names = "default"; + pinctrl-0 = <&i2c3_pins_a>; + status = "okay"; + }; }; }; |