Browse Source

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 <fabiobaltieri@google.com>
pull/91328/head
Fabio Baltieri 2 months ago committed by Dan Kalowsky
parent
commit
c90c2eb0ea
  1. 2
      boards/adafruit/feather_esp32s3/adafruit_feather_esp32s3_procpu.dts
  2. 2
      boards/adafruit/feather_esp32s3_tft/adafruit_feather_esp32s3_tft_procpu.dts
  3. 11
      boards/sparkfun/pro_micro_rp2040/sparkfun_pro_micro_rp2040-pinctrl.dtsi
  4. 7
      boards/sparkfun/pro_micro_rp2040/sparkfun_pro_micro_rp2040.dts
  5. 2
      boards/sparkfun/red_v_things_plus/sparkfun_red_v_things_plus.dts
  6. 2
      boards/sparkfun/thing_plus/sparkfun_thing_plus_nrf9160_common.dtsi
  7. 2
      boards/sparkfun/thing_plus_matter_mgm240p/sparkfun_thing_plus_matter_mgm240p.dts

2
boards/adafruit/feather_esp32s3/adafruit_feather_esp32s3_procpu.dts

@ -115,7 +115,7 @@ @@ -115,7 +115,7 @@
filter-smooth-level = <ESP32_TOUCH_FILTER_SMOOTH_MODE_IIR_2>;
};
&i2c0 {
zephyr_i2c: &i2c0 {
status = "okay";
clock-frequency = <I2C_BITRATE_STANDARD>;
pinctrl-0 = <&i2c0_default>;

2
boards/adafruit/feather_esp32s3_tft/adafruit_feather_esp32s3_tft_procpu.dts

@ -162,7 +162,7 @@ @@ -162,7 +162,7 @@
filter-smooth-level = <ESP32_TOUCH_FILTER_SMOOTH_MODE_IIR_2>;
};
&i2c0 {
zephyr_i2c: &i2c0 {
status = "okay";
clock-frequency = <I2C_BITRATE_STANDARD>;
pinctrl-0 = <&i2c0_default>;

11
boards/sparkfun/pro_micro_rp2040/sparkfun_pro_micro_rp2040-pinctrl.dtsi

@ -16,6 +16,17 @@ @@ -16,6 +16,17 @@
};
};
i2c0_default: i2c0_default {
group1 {
pinmux = <I2C0_SDA_P16>;
input-enable;
};
group2 {
pinmux = <I2C0_SCL_P17>;
input-enable;
};
};
i2c1_default: i2c1_default {
group1 {
pinmux = <I2C1_SDA_P2>;

7
boards/sparkfun/pro_micro_rp2040/sparkfun_pro_micro_rp2040.dts

@ -65,6 +65,13 @@ @@ -65,6 +65,13 @@
pinctrl-names = "default";
};
zephyr_i2c: &i2c0 {
status = "okay";
pinctrl-0 = <&i2c0_default>;
pinctrl-names = "default";
clock-frequency = <I2C_BITRATE_FAST>;
};
&i2c1 {
status = "okay";
pinctrl-0 = <&i2c1_default>;

2
boards/sparkfun/red_v_things_plus/sparkfun_red_v_things_plus.dts

@ -63,7 +63,7 @@ @@ -63,7 +63,7 @@
pinctrl-names = "default";
};
&i2c0 {
zephyr_i2c: &i2c0 {
status = "okay";
clock-frequency = <100000>;
pinctrl-0 = <&i2c0_0_default &i2c0_1_default>;

2
boards/sparkfun/thing_plus/sparkfun_thing_plus_nrf9160_common.dtsi

@ -124,7 +124,7 @@ @@ -124,7 +124,7 @@
pinctrl-names = "default", "sleep";
};
&i2c1 {
zephyr_i2c: &i2c1 {
compatible = "nordic,nrf-twim";
status = "okay";

2
boards/sparkfun/thing_plus_matter_mgm240p/sparkfun_thing_plus_matter_mgm240p.dts

@ -82,7 +82,7 @@ @@ -82,7 +82,7 @@
status = "okay";
};
&i2c0 {
zephyr_i2c: &i2c0 {
pinctrl-0 = <&i2c0_default>;
pinctrl-names = "default";
status = "okay";

Loading…
Cancel
Save