Skip to content

Commit 397b442

Browse files
committed
boards: raspberrypi: rpi_pico: Remove i2c1 node (again)
Zephyr's default settings usually enable only the minimum of peripherals, and rpi_pico already has `i2c0` enabled. Remove the `i2c1` node configuration. I've dealt in a82cc22, but it was added again by mistake. I'll delete it again. Signed-off-by: TOKITA Hiroshi <[email protected]>
1 parent 26258bc commit 397b442

File tree

3 files changed

+0
-22
lines changed

3 files changed

+0
-22
lines changed

boards/raspberrypi/common/rpi_pico-pinctrl-common.dtsi

-8
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,6 @@
2323
};
2424
};
2525

26-
i2c1_default: i2c1_default {
27-
group1 {
28-
pinmux = <I2C1_SDA_P6>, <I2C1_SCL_P7>;
29-
input-enable;
30-
input-schmitt-enable;
31-
};
32-
};
33-
3426
spi0_default: spi0_default {
3527
group1 {
3628
pinmux = <SPI0_CSN_P17>, <SPI0_SCK_P18>, <SPI0_TX_P19>;

boards/raspberrypi/rpi_pico/rpi_pico-common.dtsi

-7
Original file line numberDiff line numberDiff line change
@@ -107,13 +107,6 @@
107107
pinctrl-names = "default";
108108
};
109109

110-
&i2c1 {
111-
pinctrl-0 = <&i2c1_default>;
112-
pinctrl-names = "default";
113-
status = "disabled";
114-
clock-frequency = <I2C_BITRATE_FAST>;
115-
};
116-
117110
&spi0 {
118111
clock-frequency = <DT_FREQ_M(8)>;
119112
status = "okay";

boards/raspberrypi/rpi_pico2/rpi_pico2.dtsi

-7
Original file line numberDiff line numberDiff line change
@@ -114,13 +114,6 @@ gpio0_lo: &gpio0 {
114114
status = "okay";
115115
};
116116

117-
&i2c1 {
118-
clock-frequency = <I2C_BITRATE_STANDARD>;
119-
pinctrl-0 = <&i2c1_default>;
120-
pinctrl-names = "default";
121-
status = "okay";
122-
};
123-
124117
&adc {
125118
pinctrl-0 = <&adc_default>;
126119
pinctrl-names = "default";

0 commit comments

Comments
 (0)