summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/sun8i-h3.dtsi
diff options
context:
space:
mode:
authorJorik Jonker <jorik@kippendief.biz>2016-09-12 20:12:46 +0200
committerMaxime Ripard <maxime.ripard@free-electrons.com>2016-09-21 10:48:09 +0200
commit85e6f7ff7d01b31c654295aaa09b9ed0fe914e98 (patch)
treefb8624f027d5160fa8aabc3dfe4080878ec9832d /arch/arm/boot/dts/sun8i-h3.dtsi
parentdts: sun8i-h3: associate exposed UARTs on Orange Pi Boards (diff)
downloadlinux-85e6f7ff7d01b31c654295aaa09b9ed0fe914e98.tar.xz
linux-85e6f7ff7d01b31c654295aaa09b9ed0fe914e98.zip
dts: sun8i-h3: add pinmux definitions for I2C0-2
These are the only possible pins for these peripherals according to the datasheet. Signed-off-by: Jorik Jonker <jorik@kippendief.biz> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'arch/arm/boot/dts/sun8i-h3.dtsi')
-rw-r--r--arch/arm/boot/dts/sun8i-h3.dtsi21
1 files changed, 21 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun8i-h3.dtsi b/arch/arm/boot/dts/sun8i-h3.dtsi
index 83fcb6a2e618..2c958c40bd92 100644
--- a/arch/arm/boot/dts/sun8i-h3.dtsi
+++ b/arch/arm/boot/dts/sun8i-h3.dtsi
@@ -327,6 +327,27 @@
interrupt-controller;
#interrupt-cells = <3>;
+ i2c0_pins: i2c0 {
+ allwinner,pins = "PA11", "PA12";
+ allwinner,function = "i2c0";
+ allwinner,drive = <SUN4I_PINCTRL_10_MA>;
+ allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+ };
+
+ i2c1_pins: i2c1 {
+ allwinner,pins = "PA18", "PA19";
+ allwinner,function = "i2c1";
+ allwinner,drive = <SUN4I_PINCTRL_10_MA>;
+ allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+ };
+
+ i2c2_pins: i2c2 {
+ allwinner,pins = "PE12", "PE13";
+ allwinner,function = "i2c2";
+ allwinner,drive = <SUN4I_PINCTRL_10_MA>;
+ allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+ };
+
mmc0_pins_a: mmc0@0 {
allwinner,pins = "PF0", "PF1", "PF2", "PF3",
"PF4", "PF5";