diff options
author | Amelie Delaunay <amelie.delaunay@foss.st.com> | 2022-10-24 11:46:48 +0200 |
---|---|---|
committer | Alexandre Torgue <alexandre.torgue@foss.st.com> | 2022-11-17 11:16:05 +0100 |
commit | 6cc71374002e90bd0caadfb1d2c2bfaa8fb7d92a (patch) | |
tree | fe74c5dd2e71f0029e3ab4ec903c8213f79b40dd /arch/arm/boot/dts/stm32mp135f-dk.dts | |
parent | e1f15571c96c765891c36651324a74ad9fd872ae (diff) | |
download | linux-stable-6cc71374002e90bd0caadfb1d2c2bfaa8fb7d92a.tar.gz linux-stable-6cc71374002e90bd0caadfb1d2c2bfaa8fb7d92a.tar.bz2 linux-stable-6cc71374002e90bd0caadfb1d2c2bfaa8fb7d92a.zip |
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>
Diffstat (limited to 'arch/arm/boot/dts/stm32mp135f-dk.dts')
-rw-r--r-- | arch/arm/boot/dts/stm32mp135f-dk.dts | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/stm32mp135f-dk.dts b/arch/arm/boot/dts/stm32mp135f-dk.dts index b7bf36b802dc..9ff5a3eaf55b 100644 --- a/arch/arm/boot/dts/stm32mp135f-dk.dts +++ b/arch/arm/boot/dts/stm32mp135f-dk.dts @@ -129,6 +129,20 @@ /delete-property/dmas; /delete-property/dma-names; + mcp23017: pinctrl@21 { + compatible = "microchip,mcp23017"; + reg = <0x21>; + gpio-controller; + #gpio-cells = <2>; + interrupts = <12 IRQ_TYPE_LEVEL_LOW>; + interrupt-parent = <&gpiog>; + pinctrl-names = "default"; + pinctrl-0 = <&mcp23017_pins_a>; + interrupt-controller; + #interrupt-cells = <2>; + microchip,irq-mirror; + }; + typec@53 { compatible = "st,stm32g0-typec"; reg = <0x53>; |