[PATCH 6/8] ARM: dts: imx7d: cl-som-imx7: add gpio extender support

Ilya Ledvich ilya at compulab.co.il
Sun Dec 6 23:14:37 PST 2015


Add support for PCA9555 GPIO extender over I2C2 bus.

Signed-off-by: Ilya Ledvich <ilya at compulab.co.il>
Acked-by: Igor Grinberg <grinberg at compulab.co.il>
---
 arch/arm/boot/dts/imx7d-cl-som-imx7.dts | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/arch/arm/boot/dts/imx7d-cl-som-imx7.dts b/arch/arm/boot/dts/imx7d-cl-som-imx7.dts
index b938d9e..30bbdcd 100644
--- a/arch/arm/boot/dts/imx7d-cl-som-imx7.dts
+++ b/arch/arm/boot/dts/imx7d-cl-som-imx7.dts
@@ -160,6 +160,13 @@
 		};
 	};
 
+	pca9555: pca9555 at 20 {
+		compatible = "nxp,pca9555";
+		gpio-controller;
+		#gpio-cells = <2>;
+		reg = <0x20>;
+	};
+
 	eeprom at 50 {
 		compatible = "atmel,24c08";
 		reg = <0x50>;
-- 
1.9.1




More information about the linux-arm-kernel mailing list