summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/dra7-evm.dts
diff options
context:
space:
mode:
authorGrygorii Strashko <grygorii.strashko@ti.com>2015-08-27 18:20:45 +0300
committerTony Lindgren <tony@atomide.com>2015-10-13 01:00:37 +0300
commit4fbdc6ab836f54e7559a637d9db44be7535c0889 (patch)
tree5e12cb4ba957ea7194b80b6d273f181c03a2b6ea /arch/arm/boot/dts/dra7-evm.dts
parenta00e368c197b236ec76e6684a6459cee98335e14 (diff)
downloadlinux-4fbdc6ab836f54e7559a637d9db44be7535c0889.tar.xz
ARM: dts: dra7-evm: add pcf8575 gpio expander (i2c1 addr 20)
This patch adds DT definition for CF8575 GPIO pcf_lcd: gpio@20 expander which is connected to i2c bus 1 and has slave address 0x20. It allows to control: - tc_lcd gpios, pins p0-p3 - user leds, pins p4-p7 - control LCD panel power, p15 PCF8575 GPIO pcf_lcd: gpio@20 expander supports interrupt controller functionality and its INT line is connected to dra7 GPIO6.11 pin. Cc: Tomi Valkeinen <tomi.valkeinen@ti.com> Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/boot/dts/dra7-evm.dts')
-rw-r--r--arch/arm/boot/dts/dra7-evm.dts11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/dra7-evm.dts b/arch/arm/boot/dts/dra7-evm.dts
index 1a66d359f3e3..d40418c8d5a3 100644
--- a/arch/arm/boot/dts/dra7-evm.dts
+++ b/arch/arm/boot/dts/dra7-evm.dts
@@ -479,6 +479,17 @@
};
};
+ pcf_lcd: gpio@20 {
+ compatible = "nxp,pcf8575";
+ reg = <0x20>;
+ gpio-controller;
+ #gpio-cells = <2>;
+ interrupt-parent = <&gpio6>;
+ interrupts = <11 IRQ_TYPE_EDGE_FALLING>;
+ interrupt-controller;
+ #interrupt-cells = <2>;
+ };
+
pcf_gpio_21: gpio@21 {
compatible = "ti,pcf8575";
reg = <0x21>;