]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: dra72/1-evm: add pcf8575 used for lcd
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 20 Jan 2017 19:52:20 +0000 (13:52 -0600)
committerTony Lindgren <tony@atomide.com>
Mon, 23 Jan 2017 19:01:13 +0000 (11:01 -0800)
DRA72 and DRA718 EVM boards has a pcf8575 gpio expander
which is used for the LCD/LEDs and USB vbus detection.
Add the node for the pcf8575.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/dra71-evm.dts
arch/arm/boot/dts/dra72-evm-common.dtsi

index 2b9a5a8d69adb3f3cda300ead53e9fe7a5e381b0..4d57a55473afd1f563667d948b49269e11028697 100644 (file)
@@ -138,6 +138,11 @@ lp8732_ldo1_reg: ldo1 {
        };
 };
 
+&pcf_lcd {
+       interrupt-parent = <&gpio7>;
+       interrupts = <31 IRQ_TYPE_EDGE_FALLING>;
+};
+
 &pcf_gpio_21 {
        interrupt-parent = <&gpio7>;
        interrupts = <31 IRQ_TYPE_EDGE_FALLING>;
index b3018b028eb4fdc0effc27461c9bcdcb6c510886..ad24544adf0f1041b19c3c097393430bf9fe9ae9 100644 (file)
@@ -220,6 +220,15 @@ &i2c1 {
        status = "okay";
        clock-frequency = <400000>;
 
+       pcf_lcd: gpio@20 {
+               compatible = "nxp,pcf8575";
+               reg = <0x20>;
+               gpio-controller;
+               #gpio-cells = <2>;
+               interrupt-controller;
+               #interrupt-cells = <2>;
+       };
+
        pcf_gpio_21: gpio@21 {
                compatible = "ti,pcf8575", "nxp,pcf8575";
                reg = <0x21>;