mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
ARM: dts: i.MX51: digi-connectcore-som: Add support for I2C bus recovery
Define the required properties to enable I2C bus recovery supported by the I2C subsystem. This patch adds GPIO based I2C fault injector for Digi Connectcore SOM. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
This commit is contained in:
parent
526f56a359
commit
0d422e670b
1 changed files with 11 additions and 1 deletions
|
@ -174,9 +174,12 @@
|
|||
};
|
||||
|
||||
&i2c2 {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-names = "default", "gpio";
|
||||
pinctrl-0 = <&pinctrl_i2c2>;
|
||||
pinctrl-1 = <&pinctrl_i2c2_gpio>;
|
||||
clock-frequency = <400000>;
|
||||
scl-gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;
|
||||
sda-gpios = <&gpio1 3 GPIO_ACTIVE_HIGH>;
|
||||
status = "okay";
|
||||
|
||||
mma7455l@1d {
|
||||
|
@ -290,6 +293,13 @@
|
|||
>;
|
||||
};
|
||||
|
||||
pinctrl_i2c2_gpio: i2c2gpiogrp {
|
||||
fsl,pins = <
|
||||
MX51_PAD_GPIO1_2__GPIO1_2 0x400001ed
|
||||
MX51_PAD_GPIO1_3__GPIO1_3 0x400001ed
|
||||
>;
|
||||
};
|
||||
|
||||
pinctrl_nfc: nfcgrp {
|
||||
fsl,pins = <
|
||||
MX51_PAD_NANDF_D0__NANDF_D0 0x80000000
|
||||
|
|
Loading…
Add table
Reference in a new issue