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

ARM: dts: stm32: add STMFX support on stm32746g-eval

This patch adds support for STMicroelectronics Multi-Function eXpander
(STMFX) on stm32746g-eval. It is connected on i2c1.

Signed-off-by: Amelie Delaunay <amelie.delaunay@st.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>

authored by

Amelie Delaunay and committed by
Alexandre Torgue
a1975755 b725e262

+17
+17
arch/arm/boot/dts/stm32746g-eval.dts
··· 44 44 #include "stm32f746.dtsi" 45 45 #include "stm32f746-pinctrl.dtsi" 46 46 #include <dt-bindings/input/input.h> 47 + #include <dt-bindings/interrupt-controller/irq.h> 47 48 48 49 / { 49 50 model = "STMicroelectronics STM32746g-EVAL board"; ··· 116 115 i2c-scl-rising-time-ns = <185>; 117 116 i2c-scl-falling-time-ns = <20>; 118 117 status = "okay"; 118 + 119 + stmfx: stmfx@42 { 120 + compatible = "st,stmfx-0300"; 121 + reg = <0x42>; 122 + interrupts = <8 IRQ_TYPE_EDGE_RISING>; 123 + interrupt-parent = <&gpioi>; 124 + 125 + stmfx_pinctrl: stmfx-pin-controller { 126 + compatible = "st,stmfx-0300-pinctrl"; 127 + gpio-controller; 128 + #gpio-cells = <2>; 129 + interrupt-controller; 130 + #interrupt-cells = <2>; 131 + gpio-ranges = <&stmfx_pinctrl 0 0 24>; 132 + }; 133 + }; 119 134 }; 120 135 121 136 &rtc {