Lines Matching +full:stm32 +full:- +full:pinctrl +full:- +full:common
5 * SPDX-License-Identifier: Apache-2.0
8 #include <arm/armv6-m.dtsi>
9 #include <zephyr/dt-bindings/adc/adc.h>
10 #include <zephyr/dt-bindings/clock/stm32c0_clock.h>
11 #include <zephyr/dt-bindings/gpio/gpio.h>
12 #include <zephyr/dt-bindings/dma/stm32_dma.h>
13 #include <zephyr/dt-bindings/i2c/i2c.h>
14 #include <zephyr/dt-bindings/pwm/pwm.h>
15 #include <zephyr/dt-bindings/pwm/stm32_pwm.h>
16 #include <zephyr/dt-bindings/adc/stm32l4_adc.h>
17 #include <zephyr/dt-bindings/reset/stm32c0_reset.h>
22 zephyr,flash-controller = &flash;
26 #address-cells = <1>;
27 #size-cells = <0>;
31 compatible = "arm,cortex-m0+";
37 compatible = "mmio-sram";
41 clk_hse: clk-hse {
42 #clock-cells = <0>;
43 compatible = "st,stm32-hse-clock";
47 clk_hsi: clk-hsi {
48 #clock-cells = <0>;
49 compatible = "st,stm32c0-hsi-clock";
50 hsi-div = <1>;
51 clock-frequency = <DT_FREQ_M(48)>;
55 clk_lse: clk-lse {
56 #clock-cells = <0>;
57 compatible = "st,stm32-lse-clock";
58 clock-frequency = <32768>;
59 driving-capability = <0>;
63 clk_lsi: clk-lsi {
64 #clock-cells = <0>;
65 compatible = "fixed-clock";
66 clock-frequency = <DT_FREQ_K(32)>;
73 compatible = "st,stm32-clock-mco";
78 compatible = "st,stm32-clock-mco";
84 flash: flash-controller@40022000 {
85 compatible = "st,stm32-flash-controller" , "st,stm32g0-flash-controller";
90 #address-cells = <1>;
91 #size-cells = <1>;
94 compatible = "st,stm32-nv-flash", "soc-nv-flash";
96 write-block-size = <8>;
97 erase-block-size = <2048>;
99 max-erase-time = <40>;
104 compatible = "st,stm32f0-rcc";
105 #clock-cells = <2>;
108 rctl: reset-controller {
109 compatible = "st,stm32-rcc-rctl";
110 #reset-cells = <1>;
114 exti: interrupt-controller@40021800 {
115 compatible = "st,stm32g0-exti", "st,stm32-exti";
116 interrupt-controller;
117 #interrupt-cells = <1>;
118 #address-cells = <1>;
120 num-lines = <16>;
122 interrupt-names = "line0-1", "line2-3", "line4-15";
123 line-ranges = <0 2>, <2 2>, <4 12>;
126 pinctrl: pin-controller@50000000 { label
127 compatible = "st,stm32-pinctrl";
128 #address-cells = <1>;
129 #size-cells = <1>;
133 compatible = "st,stm32-gpio";
134 gpio-controller;
135 #gpio-cells = <2>;
141 compatible = "st,stm32-gpio";
142 gpio-controller;
143 #gpio-cells = <2>;
149 compatible = "st,stm32-gpio";
150 gpio-controller;
151 #gpio-cells = <2>;
157 compatible = "st,stm32-gpio";
158 gpio-controller;
159 #gpio-cells = <2>;
166 compatible = "st,stm32-rtc";
171 alarms-count = <1>;
172 alrm-exti-line = <19>;
177 compatible = "st,stm32-window-watchdog";
185 compatible = "st,stm32-watchdog";
191 compatible = "st,stm32-usart", "st,stm32-uart";
200 compatible = "st,stm32-usart", "st,stm32-uart";
209 compatible = "st,stm32-timers";
214 interrupt-names = "brk_up_trg_com", "cc";
219 compatible = "st,stm32-pwm";
221 #pwm-cells = <3>;
226 compatible = "st,stm32-timers";
231 interrupt-names = "global";
236 compatible = "st,stm32-pwm";
238 #pwm-cells = <3>;
243 compatible = "st,stm32-timers";
248 interrupt-names = "global";
253 compatible = "st,stm32-pwm";
255 #pwm-cells = <3>;
260 compatible = "st,stm32-timers";
265 interrupt-names = "global";
270 compatible = "st,stm32-pwm";
272 #pwm-cells = <3>;
277 compatible = "st,stm32-timers";
282 interrupt-names = "global";
287 compatible = "st,stm32-pwm";
289 #pwm-cells = <3>;
294 compatible = "st,stm32-i2c-v2";
295 clock-frequency = <I2C_BITRATE_STANDARD>;
296 #address-cells = <1>;
297 #size-cells = <0>;
301 interrupt-names = "combined";
306 compatible = "st,stm32-spi-fifo", "st,stm32-spi";
307 #address-cells = <1>;
308 #size-cells = <0>;
316 compatible = "st,stm32-adc";
321 #io-channel-cells = <1>;
326 sampling-times = <2 4 8 13 20 40 80 161>;
327 num-sampling-time-common-channels = <2>;
328 st,adc-sequencer = "NOT_FULLY_CONFIGURABLE";
329 st,adc-oversampler = "OVERSAMPLER_MINIMAL";
333 compatible = "st,stm32-dma-v2";
334 #dma-cells = <3>;
338 dma-requests = <3>;
339 dma-offset = <0>;
345 compatible = "st,stm32-dmamux";
346 #dma-cells = <3>;
349 dma-channels = <3>;
350 dma-generators = <4>;
351 dma-requests= <49>;
357 compatible = "st,stm32c0-temp-cal";
358 ts-cal1-addr = <0x1FFF7568>;
359 ts-cal1-temp = <30>;
360 ts-cal-vrefanalog = <3000>;
362 io-channels = <&adc1 9>;
367 compatible = "st,stm32-vref";
368 vrefint-cal-addr = <0x1FFF756A>;
369 vrefint-cal-mv = <3000>;
370 io-channels = <&adc1 10>;
375 compatible = "st,stm32-smbus";
376 #address-cells = <1>;
377 #size-cells = <0>;
384 arm,num-irq-priority-bits = <2>;