Skip to content

Commit c90c2eb

Browse files
fabiobaltieridkalowsk
authored andcommitted
boards: add the zephyr_i2c to a bunch of adafruit and sparkfun boards
These boards have a JST SH I2C connector, add the zephyr_i2c label so they can be used with shields made for those modules. Signed-off-by: Fabio Baltieri <[email protected]>
1 parent 3df8b15 commit c90c2eb

File tree

7 files changed

+23
-5
lines changed

7 files changed

+23
-5
lines changed

boards/adafruit/feather_esp32s3/adafruit_feather_esp32s3_procpu.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@
115115
filter-smooth-level = <ESP32_TOUCH_FILTER_SMOOTH_MODE_IIR_2>;
116116
};
117117

118-
&i2c0 {
118+
zephyr_i2c: &i2c0 {
119119
status = "okay";
120120
clock-frequency = <I2C_BITRATE_STANDARD>;
121121
pinctrl-0 = <&i2c0_default>;

boards/adafruit/feather_esp32s3_tft/adafruit_feather_esp32s3_tft_procpu.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@
162162
filter-smooth-level = <ESP32_TOUCH_FILTER_SMOOTH_MODE_IIR_2>;
163163
};
164164

165-
&i2c0 {
165+
zephyr_i2c: &i2c0 {
166166
status = "okay";
167167
clock-frequency = <I2C_BITRATE_STANDARD>;
168168
pinctrl-0 = <&i2c0_default>;

boards/sparkfun/pro_micro_rp2040/sparkfun_pro_micro_rp2040-pinctrl.dtsi

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,17 @@
1616
};
1717
};
1818

19+
i2c0_default: i2c0_default {
20+
group1 {
21+
pinmux = <I2C0_SDA_P16>;
22+
input-enable;
23+
};
24+
group2 {
25+
pinmux = <I2C0_SCL_P17>;
26+
input-enable;
27+
};
28+
};
29+
1930
i2c1_default: i2c1_default {
2031
group1 {
2132
pinmux = <I2C1_SDA_P2>;

boards/sparkfun/pro_micro_rp2040/sparkfun_pro_micro_rp2040.dts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,13 @@
6565
pinctrl-names = "default";
6666
};
6767

68+
zephyr_i2c: &i2c0 {
69+
status = "okay";
70+
pinctrl-0 = <&i2c0_default>;
71+
pinctrl-names = "default";
72+
clock-frequency = <I2C_BITRATE_FAST>;
73+
};
74+
6875
&i2c1 {
6976
status = "okay";
7077
pinctrl-0 = <&i2c1_default>;

boards/sparkfun/red_v_things_plus/sparkfun_red_v_things_plus.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
pinctrl-names = "default";
6464
};
6565

66-
&i2c0 {
66+
zephyr_i2c: &i2c0 {
6767
status = "okay";
6868
clock-frequency = <100000>;
6969
pinctrl-0 = <&i2c0_0_default &i2c0_1_default>;

boards/sparkfun/thing_plus/sparkfun_thing_plus_nrf9160_common.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@
124124
pinctrl-names = "default", "sleep";
125125
};
126126

127-
&i2c1 {
127+
zephyr_i2c: &i2c1 {
128128
compatible = "nordic,nrf-twim";
129129
status = "okay";
130130

boards/sparkfun/thing_plus_matter_mgm240p/sparkfun_thing_plus_matter_mgm240p.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
status = "okay";
8383
};
8484

85-
&i2c0 {
85+
zephyr_i2c: &i2c0 {
8686
pinctrl-0 = <&i2c0_default>;
8787
pinctrl-names = "default";
8888
status = "okay";

0 commit comments

Comments
 (0)