ARM: dts: am57xx: cl-som-am57x: add I2C3 support
authorDmitry Lifshitz <lifshitz@compulab.co.il>
Tue, 1 Dec 2015 18:03:05 +0000 (20:03 +0200)
committerTony Lindgren <tony@atomide.com>
Thu, 3 Dec 2015 16:19:44 +0000 (08:19 -0800)
Enable I2C3 bus and add appropriate pinmux.

Signed-off-by: Dmitry Lifshitz <lifshitz@compulab.co.il>
Acked-by: Igor Grinberg <grinberg@compulab.co.il>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/am57xx-cl-som-am57x.dts

index 58156a93d6e460cab9a0ecd624b2932f105b411a..2074fd42624272de48af18603d5f952a81024397 100644 (file)
                >;
        };
 
+       i2c3_pins_default: i2c3_pins_default {
+               pinctrl-single,pins = <
+                       DRA7XX_CORE_IOPAD(0x36a4, PIN_INPUT| MUX_MODE10)        /* mcasp1_aclkx.i2c3_sda */
+                       DRA7XX_CORE_IOPAD(0x36a8, PIN_INPUT| MUX_MODE10)        /* mcasp1_fsx.i2c3_scl */
+               >;
+       };
+
        i2c4_pins_default: i2c4_pins_default {
                pinctrl-single,pins = <
                        DRA7XX_CORE_IOPAD(0x36ac, PIN_INPUT| MUX_MODE10)        /* mcasp1_acl.i2c4_sda */
        clock-frequency = <400000>;
 };
 
+&i2c3 {
+       status = "okay";
+       pinctrl-names = "default";
+       pinctrl-0 = <&i2c3_pins_default>;
+       clock-frequency = <400000>;
+};
+
 &i2c4 {
        status = "okay";
        pinctrl-names = "default";