summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/vf-colibri.dtsi
diff options
context:
space:
mode:
authorPhilippe Schenker <philippe.schenker@toradex.com>2019-10-16 19:03:42 +0200
committerShawn Guo <shawnguo@kernel.org>2019-10-28 04:07:07 +0100
commitf2c03b89c61dda0ec6d277a6f6701dd4e10c7ae6 (patch)
tree48247e6326869fd98e0875bf171bd086e5bae8ee /arch/arm/boot/dts/vf-colibri.dtsi
parentARM: dts: imx*(colibri|apalis): add missing recovery modes to i2c (diff)
downloadlinux-f2c03b89c61dda0ec6d277a6f6701dd4e10c7ae6.tar.xz
linux-f2c03b89c61dda0ec6d277a6f6701dd4e10c7ae6.zip
ARM: dts: vf-colibri: add recovery mode to i2c
This patch enables the recovery mode now available. Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/vf-colibri.dtsi')
-rw-r--r--arch/arm/boot/dts/vf-colibri.dtsi12
1 files changed, 11 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/vf-colibri.dtsi b/arch/arm/boot/dts/vf-colibri.dtsi
index b6a1eeeb2bb4..fba37b8756f7 100644
--- a/arch/arm/boot/dts/vf-colibri.dtsi
+++ b/arch/arm/boot/dts/vf-colibri.dtsi
@@ -129,8 +129,11 @@
&i2c0 {
clock-frequency = <400000>;
- pinctrl-names = "default";
+ pinctrl-names = "default", "gpio";
pinctrl-0 = <&pinctrl_i2c0>;
+ pinctrl-1 = <&pinctrl_i2c0_gpio>;
+ scl-gpios = <&gpio1 4 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
+ sda-gpios = <&gpio1 5 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
};
&nfc {
@@ -308,6 +311,13 @@
>;
};
+ pinctrl_i2c0_gpio: i2c0gpiogrp {
+ fsl,pins = <
+ VF610_PAD_PTB14__GPIO_36 0x37ff
+ VF610_PAD_PTB15__GPIO_37 0x37ff
+ >;
+ };
+
pinctrl_nfc: nfcgrp {
fsl,pins = <
VF610_PAD_PTD23__NF_IO7 0x28df