Skip to content

Commit d8e166b

Browse files
tombatmlind
authored andcommitted
ARM: dts: dra72/1-evm: add pcf8575 used for lcd
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 <[email protected]> Signed-off-by: Grygorii Strashko <[email protected]> Signed-off-by: Tony Lindgren <[email protected]>
1 parent 220fbc1 commit d8e166b

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

arch/arm/boot/dts/dra71-evm.dts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,11 @@
138138
};
139139
};
140140

141+
&pcf_lcd {
142+
interrupt-parent = <&gpio7>;
143+
interrupts = <31 IRQ_TYPE_EDGE_FALLING>;
144+
};
145+
141146
&pcf_gpio_21 {
142147
interrupt-parent = <&gpio7>;
143148
interrupts = <31 IRQ_TYPE_EDGE_FALLING>;

arch/arm/boot/dts/dra72-evm-common.dtsi

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,15 @@
220220
status = "okay";
221221
clock-frequency = <400000>;
222222

223+
pcf_lcd: gpio@20 {
224+
compatible = "nxp,pcf8575";
225+
reg = <0x20>;
226+
gpio-controller;
227+
#gpio-cells = <2>;
228+
interrupt-controller;
229+
#interrupt-cells = <2>;
230+
};
231+
223232
pcf_gpio_21: gpio@21 {
224233
compatible = "ti,pcf8575", "nxp,pcf8575";
225234
reg = <0x21>;

0 commit comments

Comments
 (0)