Skip to content

Commit 8692476

Browse files
committed
Update arduino_portenta_c33_r7fa6m5bh3cfc.overlay
Add Wire (iic0 )object to overlay
1 parent 400c3b8 commit 8692476

File tree

1 file changed

+24
-1
lines changed

1 file changed

+24
-1
lines changed

Diff for: variants/arduino_portenta_c33_r7fa6m5bh3cfc/arduino_portenta_c33_r7fa6m5bh3cfc.overlay

+24-1
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,29 @@
5656
};
5757
};
5858

59+
&pinctrl {
60+
iic0_default: iic0_default {
61+
group1 {
62+
/* SCL0 SDA0 */
63+
psels = <RA_PSEL(RA_PSEL_I2C, 4, 8)>,
64+
<RA_PSEL(RA_PSEL_I2C, 4, 7)>;
65+
drive-strength = "medium";
66+
};
67+
};
68+
};
69+
70+
&iic0 {
71+
status = "okay";
72+
#address-cells = <1>;
73+
#size-cells = <0>;
74+
interrupts = <87 1>, <88 1>, <89 1>, <90 1>;
75+
interrupt-names = "rxi", "txi", "tei", "eri";
76+
clock-frequency = <DT_FREQ_M(1)>;
77+
pinctrl-0 = <&iic0_default>;
78+
pinctrl-names = "default";
79+
};
80+
81+
5982

6083
/ {
6184
zephyr,user {
@@ -180,7 +203,7 @@
180203

181204
serials = <&board_cdc_acm_uart>, <&uart9>, <&uart7>, <&uart6>, <&uart5>;
182205
cdc-acm = <&board_cdc_acm_uart>;
183-
i2cs = <&iic1>;
206+
i2cs = <&iic0>, <&iic1>;
184207
spis = <&spi1>;
185208
pwms = <&pwm6 1 PWM_HZ(25000000) PWM_POLARITY_NORMAL>;
186209
};

0 commit comments

Comments
 (0)