summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/am335x-sbc-t335.dts
diff options
context:
space:
mode:
authorUri Mashiach <uri.mashiach@compulab.co.il>2015-12-13 10:55:37 +0200
committerTony Lindgren <tony@atomide.com>2015-12-17 10:04:22 -0800
commit98e5d8987cd35688003f672f049c15163552c4c3 (patch)
treeb0d76ff9c504700a2d77b9cd80e1f592a70cfcf6 /arch/arm/boot/dts/am335x-sbc-t335.dts
parentc6135a6fd1576e5daee67b0b2207f035a3eb4de0 (diff)
ARM: dts: cm-t335: add support for I2C GPIO expander
The I2C GPIO expander (PCA9555) adds 16 GPIOs to the module. Signed-off-by: Uri Mashiach <uri.mashiach@compulab.co.il> Acked-by: Igor Grinberg <grinberg@compulab.co.il> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/boot/dts/am335x-sbc-t335.dts')
-rw-r--r--arch/arm/boot/dts/am335x-sbc-t335.dts11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/am335x-sbc-t335.dts b/arch/arm/boot/dts/am335x-sbc-t335.dts
index 9e98445e3784..4a5177e6030d 100644
--- a/arch/arm/boot/dts/am335x-sbc-t335.dts
+++ b/arch/arm/boot/dts/am335x-sbc-t335.dts
@@ -14,3 +14,14 @@
model = "CompuLab CM-T335 on SB-T335";
compatible = "compulab,sbc-t335", "compulab,cm-t335", "ti,am33xx";
};
+
+&i2c0 {
+ /* GPIO extender */
+ gpio_ext: pca9555@26 {
+ compatible = "nxp,pca9555";
+ pinctrl-names = "default";
+ gpio-controller;
+ #gpio-cells = <2>;
+ reg = <0x26>;
+ };
+};