From: Dmitry Lifshitz Date: Tue, 1 Dec 2015 18:03:05 +0000 (+0200) Subject: ARM: dts: am57xx: cl-som-am57x: add I2C3 support X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5691b61f23e508085405367573dc6120d1754a24;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git ARM: dts: am57xx: cl-som-am57x: add I2C3 support Enable I2C3 bus and add appropriate pinmux. Signed-off-by: Dmitry Lifshitz Acked-by: Igor Grinberg Signed-off-by: Tony Lindgren --- diff --git a/arch/arm/boot/dts/am57xx-cl-som-am57x.dts b/arch/arm/boot/dts/am57xx-cl-som-am57x.dts index 58156a93d6e4..2074fd426242 100644 --- a/arch/arm/boot/dts/am57xx-cl-som-am57x.dts +++ b/arch/arm/boot/dts/am57xx-cl-som-am57x.dts @@ -52,6 +52,13 @@ >; }; + 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 */ @@ -73,6 +80,13 @@ clock-frequency = <400000>; }; +&i2c3 { + status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&i2c3_pins_default>; + clock-frequency = <400000>; +}; + &i2c4 { status = "okay"; pinctrl-names = "default";