From: Uri Mashiach Date: Sun, 13 Dec 2015 08:55:37 +0000 (+0200) Subject: ARM: dts: cm-t335: add support for I2C GPIO expander X-Git-Tag: v4.5-rc1~43^2~19^2~10 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=98e5d8987cd35688003f672f049c15163552c4c3;p=karo-tx-linux.git 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 Acked-by: Igor Grinberg Signed-off-by: Tony Lindgren --- 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>; + }; +};