Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: stm32: add mcp23017 IO expander on I2C1 on stm32mp135f-dk

MCP23017 is an IO expander offering 16 input/output port expander with
interrupt output.
On stm32mp135f-dk, only INTA is routed (on PG12), but MCP23017 can mirror
the bank B interrupts on INTA, that's why the property microchip,irq-mirror
is used.

Signed-off-by: Amelie Delaunay <amelie.delaunay@foss.st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>

authored by

Amelie Delaunay and committed by
Alexandre Torgue
6cc71374 e1f15571

+14
+14
arch/arm/boot/dts/stm32mp135f-dk.dts
··· 129 129 /delete-property/dmas; 130 130 /delete-property/dma-names; 131 131 132 + mcp23017: pinctrl@21 { 133 + compatible = "microchip,mcp23017"; 134 + reg = <0x21>; 135 + gpio-controller; 136 + #gpio-cells = <2>; 137 + interrupts = <12 IRQ_TYPE_LEVEL_LOW>; 138 + interrupt-parent = <&gpiog>; 139 + pinctrl-names = "default"; 140 + pinctrl-0 = <&mcp23017_pins_a>; 141 + interrupt-controller; 142 + #interrupt-cells = <2>; 143 + microchip,irq-mirror; 144 + }; 145 + 132 146 typec@53 { 133 147 compatible = "st,stm32g0-typec"; 134 148 reg = <0x53>;