]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: dts: sun8i: a83t: Add I2C device nodes and pinmux settings
authorChen-Yu Tsai <wens@csie.org>
Thu, 14 Dec 2017 04:23:49 +0000 (12:23 +0800)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Fri, 15 Dec 2017 14:42:37 +0000 (15:42 +0100)
commit26a89a76f27f9a6cb365a9f2521f8393fa2de684
tree063ba2621340df0538e6a67c4ddb875139b677f3
parent8ef838fd47a524abbd9b2e3fd91f7228806f2f7e
ARM: dts: sun8i: a83t: Add I2C device nodes and pinmux settings

The A83T has 3 I2C controllers under the standard bus. There is one
more in the R_ block section. The pin functions for the 3 controllers
are on PH 0~6. I2C2 can also be used on pins PE14 and PE15, but these
pins can also mux the CSI (camera sensor interface) controller's
embedded I2C controller. The latter seems to be preferred in the
reference designs for I2C camera sensor access, freeing I2C2 for other
uses.

This patch adds device nodes for the three standard I2C controllers,
as well as pinmux settings for the PH pins. For I2C0 and I2C1, since
they only have one possible setting, just set them by default.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm/boot/dts/sun8i-a83t.dtsi