diff options
author | Jagan Teki <jagan@amarulasolutions.com> | 2017-03-24 21:48:39 +0530 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2017-04-10 16:16:16 +0800 |
commit | e13d0250e84807175e28baace173851e6ecc6266 (patch) | |
tree | d5b004acced0a63aab80e17af812abdd182bd7e9 /arch/arm/boot/dts/imx6ul-isiot.dtsi | |
parent | 0760c782cf0b334e0a9d011ad46802e66d9be6b0 (diff) | |
download | lwn-e13d0250e84807175e28baace173851e6ecc6266.tar.gz lwn-e13d0250e84807175e28baace173851e6ecc6266.zip |
ARM: dts: imx6ul-isiot: Add i2c nodes
Add support for i2c nodes i2c1 and i2c2 on Is.IoT MX6UL
eMMC variant boards.
Cc: Matteo Lisi <matteo.lisi@engicam.com>
Cc: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/imx6ul-isiot.dtsi')
-rw-r--r-- | arch/arm/boot/dts/imx6ul-isiot.dtsi | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6ul-isiot.dtsi b/arch/arm/boot/dts/imx6ul-isiot.dtsi index 5ccc3dfd1ed8..4697a04464e9 100644 --- a/arch/arm/boot/dts/imx6ul-isiot.dtsi +++ b/arch/arm/boot/dts/imx6ul-isiot.dtsi @@ -71,6 +71,20 @@ }; }; +&i2c1 { + clock-frequency = <100000>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_i2c1>; + status = "okay"; +}; + +&i2c2 { + clock_frequency = <100000>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_i2c2>; + status = "okay"; +}; + &pwm8 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pwm8>; @@ -95,6 +109,20 @@ }; &iomuxc { + pinctrl_i2c1: i2c1grp { + fsl,pins = < + MX6UL_PAD_UART4_TX_DATA__I2C1_SCL 0x4001b8b0 + MX6UL_PAD_UART4_RX_DATA__I2C1_SDA 0x4001b8b0 + >; + }; + + pinctrl_i2c2: i2c2grp { + fsl,pins = < + MX6UL_PAD_GPIO1_IO00__I2C2_SCL 0x4001b8b0 + MX6UL_PAD_GPIO1_IO01__I2C2_SDA 0x4001b8b0 + >; + }; + pinctrl_pwm8: pwm8grp { fsl,pins = < MX6UL_PAD_ENET1_RX_ER__PWM8_OUT 0x110b0 |