ARM: dts: sunxi: h3/h5: Add r_i2c pinmux node
authorOndrej Jirman <megous@megous.com>
Tue, 6 Feb 2018 04:48:58 +0000 (12:48 +0800)
committerChen-Yu Tsai <wens@csie.org>
Fri, 20 Apr 2018 06:39:07 +0000 (14:39 +0800)
H3/H5 SoCs contain an I2C controller optionally available
on the PL0 and PL1 pins. This patch adds pinmux configuration
for this controller.

Signed-off-by: Ondrej Jirman <megous@megous.com>
[Icenowy: change commit message, node name and function name]
Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
Reviewed-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
arch/arm/boot/dts/sunxi-h3-h5.dtsi

index 1be1a02..92b8fa9 100644 (file)
                                pins = "PL11";
                                function = "s_cir_rx";
                        };
+
+                       r_i2c_pins: r-i2c {
+                               pins = "PL0", "PL1";
+                               function = "s_i2c";
+                       };
                };
        };
 };