Skip to content

Commit be29569

Browse files
Alain Volmatkartben
authored andcommitted
board: st: add mfx based gpio into the stm32l4r9i_disco
Add node for the mfx gpio controller available via the i2c1 bus. Signed-off-by: Alain Volmat <[email protected]>
1 parent 5d6101e commit be29569

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

boards/st/stm32l4r9i_disco/stm32l4r9i_disco.dts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,15 @@
155155
pinctrl-0 = <&i2c1_scl_pb6 &i2c1_sda_pg13>;
156156
pinctrl-names = "default";
157157
clock-frequency = <I2C_BITRATE_STANDARD>;
158+
159+
mfx: gpio@42 {
160+
compatible = "st,mfxstm32l152";
161+
reg = <0x42>;
162+
ngpios = <24>;
163+
int-gpios = <&gpioi 1 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>;
164+
gpio-controller;
165+
#gpio-cells = <2>;
166+
};
158167
};
159168

160169
&i2c3 {

0 commit comments

Comments
 (0)