ARM: dts: sun8i: a83t: Add I2C2 pinmux setting for PE pins
authorChen-Yu Tsai <wens@csie.org>
Mon, 8 Apr 2019 16:57:43 +0000 (00:57 +0800)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Tue, 9 Apr 2019 07:58:24 +0000 (09:58 +0200)
I2C2 is available on the PE pingroup, on the same pins as the camera
sensor interface (CSI) controller's camera control interface pins.
This provides an option to use I2C2 instead of that control interface
to configure camera sensors.

Add a pinctrl node for it. The property /omit-if-no-ref/ is added to
keep the device tree blob size down if it is unused.

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

index 60859c19270f1eec0a518d42b8c743233b04a156..b105a85467b3766e5be05ed8fa5331a94f1d68c3 100644 (file)
                                function = "i2c1";
                        };
 
+                       /omit-if-no-ref/
+                       i2c2_pe_pins: i2c2-pe-pins {
+                               pins = "PE14", "PE15";
+                               function = "i2c2";
+                       };
+
                        i2c2_ph_pins: i2c2-ph-pins {
                                pins = "PH4", "PH5";
                                function = "i2c2";