Thread (1 message) 1 message, 1 author, 2015-11-24
DORMANTno replies

[PATCH 10/14] ARM: am437x: cm-t43: dts: add pca9555 support

From: Nikita Kiryanov <hidden>
Date: 2015-11-24 13:19:11
Also in: linux-devicetree, linux-omap
Subsystem: the rest · Maintainer: Linus Torvalds

SB-SOM comes with a PCA9555 GPIO extender. On SBC-T43 this resides on the
i2c1 bus. Add it to the device tree.

Signed-off-by: Nikita Kiryanov <redacted>
Cc: Tony Lindgren <tony@atomide.com>
Cc: Igor Grinberg <redacted>
Cc: Dmitry Lifshitz <redacted>
Cc: Ian Campbell <redacted>
---
 arch/arm/boot/dts/am437x-sbc-t43.dts | 7 +++++++
 1 file changed, 7 insertions(+)
diff --git a/arch/arm/boot/dts/am437x-sbc-t43.dts b/arch/arm/boot/dts/am437x-sbc-t43.dts
index 5d2919e..b2e3201 100644
--- a/arch/arm/boot/dts/am437x-sbc-t43.dts
+++ b/arch/arm/boot/dts/am437x-sbc-t43.dts
@@ -54,6 +54,13 @@
 	status = "okay";
 	pinctrl-names = "default";
 	pinctrl-0 = <&i2c1_pins>;
+
+	pca9555: pca9555 at 20 {
+		compatible = "nxp,pca9555";
+		reg = <0x20>;
+		gpio-controller;
+		#gpio-cells = <2>;
+	};
 };
 
 &i2c2 {
-- 
1.9.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help