diff options
author | Pierre-Jean Texier <texier.pj2@gmail.com> | 2018-08-17 23:23:17 +0200 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2018-09-03 06:25:22 +0200 |
commit | cf69efe57ae87db10bdb0214549eded1920ad694 (patch) | |
tree | 6221723ddf9452c0f8530b163ac776378f7c1871 /arch/arm/boot/dts/imx7s-warp.dts | |
parent | ARM: dts: imx6q-icore-mipi: Use 1.5 version of i.Core MX6 (diff) | |
download | linux-cf69efe57ae87db10bdb0214549eded1920ad694.tar.xz linux-cf69efe57ae87db10bdb0214549eded1920ad694.zip |
ARM: dts: imx7s-warp: enable i2c3 device support
The WaRP7 has one mikroBUS socket on the back to plug click boards.
This patch allows to interact with some of these
i2c modules (EEPROM, RTC and so on).
Signed-off-by: Pierre-Jean Texier <texier.pj2@gmail.com>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/imx7s-warp.dts')
-rw-r--r-- | arch/arm/boot/dts/imx7s-warp.dts | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx7s-warp.dts b/arch/arm/boot/dts/imx7s-warp.dts index fa390da636de..b3d095132195 100644 --- a/arch/arm/boot/dts/imx7s-warp.dts +++ b/arch/arm/boot/dts/imx7s-warp.dts @@ -216,6 +216,13 @@ status = "okay"; }; +&i2c3 { + clock-frequency = <100000>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_i2c3>; + status = "okay"; +}; + &i2c4 { clock-frequency = <100000>; pinctrl-names = "default"; @@ -346,6 +353,13 @@ >; }; + pinctrl_i2c3: i2c3grp { + fsl,pins = < + MX7D_PAD_I2C3_SDA__I2C3_SDA 0x4000007f + MX7D_PAD_I2C3_SCL__I2C3_SCL 0x4000007f + >; + }; + pinctrl_i2c4: i2c4grp { fsl,pins = < MX7D_PAD_I2C4_SCL__I2C4_SCL 0x4000007f |