ARM: dts: cm-t335: add support for I2C GPIO expander
authorUri Mashiach <uri.mashiach@compulab.co.il>
Sun, 13 Dec 2015 08:55:37 +0000 (10:55 +0200)
committerTony Lindgren <tony@atomide.com>
Thu, 17 Dec 2015 18:04:22 +0000 (10:04 -0800)
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>
arch/arm/boot/dts/am335x-sbc-t335.dts

index 9e98445e378485cdf1d8fd5e17b5979b54c342fc..4a5177e6030df5385e615d02aa395bc468aad161 100644 (file)
        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>;
+       };
+};