File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
dts/riscv/espressif/esp32c6 Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change 66#include <mem.h>
77#include <freq.h>
88#include <zephyr/dt-bindings/gpio/gpio.h>
9+ #include <zephyr/dt-bindings/i2c/i2c.h>
910#include <zephyr/dt-bindings/interrupt-controller/esp-esp32c6-intmux.h>
1011#include <zephyr/dt-bindings/clock/esp32c6_clock.h>
1112#include <dt-bindings/pinctrl/esp32c6-pinctrl.h>
193194 ngpios = <30>; /* 0..29 */
194195 };
195196
197+ i2c0: i2c@60004000 {
198+ compatible = "espressif,esp32-i2c";
199+ #address-cells = <1>;
200+ #size-cells = <0>;
201+ reg = <0x60004000 0x1000>;
202+ interrupts = <I2C_EXT0_INTR_SOURCE IRQ_DEFAULT_PRIORITY 0>;
203+ interrupt-parent = <&intc>;
204+ clocks = <&rtc ESP32_I2C0_MODULE>;
205+ status = "disabled";
206+ };
207+
196208 uart0: uart@60000000 {
197209 compatible = "espressif,esp32-uart";
198210 reg = <0x60000000 DT_SIZE_K(4)>;
You can’t perform that action at this time.
0 commit comments