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>
This commit is contained in:
Fabio Baltieri 2025-05-09 10:59:29 +01:00 committed by Dan Kalowsky
commit c90c2eb0ea
7 changed files with 23 additions and 5 deletions

View file

@ -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>;

View file

@ -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>;

View file

@ -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>;

View file

@ -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>;

View file

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

View file

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

View file

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