Skip to content

Commit 0c78c6b

Browse files
authored
Merge pull request #3 from mjs513/i2c-overlay-update
Uodate Giga Overlay for I2c
2 parents cfe5606 + 4f69a17 commit 0c78c6b

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

loader/boards/arduino_giga_r1_m7.overlay

+15-1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,20 @@
4343
};
4444
};
4545

46+
&i2c1 {
47+
status = "okay";
48+
pinctrl-0 = <&i2c1_scl_pb8 &i2c1_sda_pb9>;
49+
pinctrl-names = "default";
50+
clock-frequency = <I2C_BITRATE_FAST>;
51+
};
52+
53+
&i2c2 {
54+
status = "okay";
55+
pinctrl-0 = <&i2c2_scl_ph4 &i2c2_sda_pb11>;
56+
pinctrl-names = "default";
57+
clock-frequency = <I2C_BITRATE_FAST>;
58+
};
59+
4660
// XCLK as PWM from PJ9
4761
&timers1 {
4862
status = "okay";
@@ -423,7 +437,7 @@
423437

424438
serials = <&cdc_acm_uart0>, <&usart1>, <&usart2>, <&uart4>, <&usart6>;
425439
cdc-acm = <&cdc_acm_uart0>;
426-
i2cs = <&i2c4>;
440+
i2cs = <&i2c2>, <&i2c4>, <&i2c1>;
427441
spis = <&spi1>, <&spi5>;
428442
pwms = <&cam_clock_pwm 3 PWM_HZ(6000000) PWM_POLARITY_NORMAL>;
429443

0 commit comments

Comments
 (0)