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
@ -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…
Reference in New Issue
Block a user