Skip to content

Commit fb2b48f

Browse files
Raffael Rostagnokartben
authored andcommitted
drivers: pcnt: esp32c6: Add support
Add PCNT support to ESP32-C6. Signed-off-by: Raffael Rostagno <raffael.rostagno@espressif.com>
1 parent 2801710 commit fb2b48f

File tree

2 files changed

+793
-0
lines changed

2 files changed

+793
-0
lines changed

dts/riscv/espressif/esp32c6/esp32c6_common.dtsi

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -327,5 +327,14 @@
327327
#pwm-cells = <3>;
328328
status = "disabled";
329329
};
330+
331+
pcnt: pcnt@60012000 {
332+
compatible = "espressif,esp32-pcnt";
333+
reg = <0x60012000 DT_SIZE_K(4)>;
334+
interrupts = <PCNT_INTR_SOURCE IRQ_DEFAULT_PRIORITY 0>;
335+
interrupt-parent = <&intc>;
336+
clocks = <&rtc ESP32_PCNT_MODULE>;
337+
status = "disabled";
338+
};
330339
};
331340
};

0 commit comments

Comments
 (0)