Skip to content

Commit d7e3e08

Browse files
author
Tanguy Raufflet
committed
stm32mp257f_ev1_stm32mp257fxx_m33.dts: add i2c node
This commit adds the i2c2 node to the device tree for the STM32MP257F-EV1 board. This node corresponds to the i2c exposed by the GPIO expansion connector [1]. [1]: https://wiki.st.com/stm32mpu/wiki/STM32MP257x-EV1_-_hardware_description Signed-off-by: Tanguy Raufflet <tanguy.raufflet@savoirfairelinux.com>
1 parent 74e67a0 commit d7e3e08

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

boards/st/stm32mp257f_ev1/stm32mp257f_ev1_stm32mp257fxx_m33.dts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@
4949
clock-frequency = <DT_FREQ_M(400)>;
5050
};
5151

52+
&gpiob {
53+
status = "okay";
54+
};
55+
5256
&gpiog {
5357
status = "okay";
5458
};
@@ -70,3 +74,9 @@
7074
current-speed = <115200>;
7175
status = "disabled";
7276
};
77+
78+
&i2c2 {
79+
pinctrl-0 = <&i2c2_scl_pb5 &i2c2_sda_pb4>;
80+
pinctrl-names = "default";
81+
status = "okay";
82+
};

0 commit comments

Comments
 (0)