Lines Matching +full:gd32 +full:- +full:afio

4  * SPDX-License-Identifier: Apache-2.0
8 #include <arm/armv7-m.dtsi>
9 #include <zephyr/dt-bindings/gpio/gpio.h>
10 #include <zephyr/dt-bindings/pwm/pwm.h>
11 #include <zephyr/dt-bindings/i2c/i2c.h>
12 #include <zephyr/dt-bindings/clock/gd32e10x-clocks.h>
13 #include <zephyr/dt-bindings/reset/gd32e10x.h>
17 #address-cells = <1>;
18 #size-cells = <0>;
21 clock-frequency = <DT_FREQ_M(120)>;
22 compatible = "arm,cortex-m4f";
24 #address-cells = <1>;
25 #size-cells = <1>;
31 compatible = "mmio-sram";
34 rcu: reset-clock-controller@40021000 {
35 compatible = "gd,gd32-rcu";
39 cctl: clock-controller {
40 compatible = "gd,gd32-cctl";
41 #clock-cells = <1>;
45 rctl: reset-controller {
46 compatible = "gd,gd32-rctl";
47 #reset-cells = <1>;
52 fmc: flash-controller@40022000 {
53 compatible = "gd,gd32-flash-controller";
55 #address-cells = <1>;
56 #size-cells = <1>;
59 compatible = "gd,gd32-nv-flash-v1", "soc-nv-flash";
60 write-block-size = <2>;
61 max-erase-time-ms = <4>;
62 page-size = <DT_SIZE_K(1)>;
67 compatible = "gd,gd32-usart";
76 compatible = "gd,gd32-usart";
85 compatible = "gd,gd32-usart";
94 compatible = "gd,gd32-usart";
103 compatible = "gd,gd32-usart";
112 compatible = "gd,gd32-dac";
116 num-channels = <2>;
118 #io-channel-cells = <1>;
122 compatible = "gd,gd32-i2c";
124 #address-cells = <1>;
125 #size-cells = <0>;
126 clock-frequency = <I2C_BITRATE_STANDARD>;
128 interrupt-names = "event", "error";
135 compatible = "gd,gd32-i2c";
137 #address-cells = <1>;
138 #size-cells = <0>;
139 clock-frequency = <I2C_BITRATE_STANDARD>;
141 interrupt-names = "event", "error";
147 afio: afio@40010000 { label
148 compatible = "gd,gd32-afio";
154 exti: interrupt-controller@40010400 {
155 compatible = "gd,gd32-exti";
156 interrupt-controller;
157 #interrupt-cells = <1>;
159 num-lines = <19>;
162 interrupt-names = "line0", "line1", "line2", "line3",
163 "line4", "line5-9", "line10-15";
168 compatible = "gd,gd32-fwdgt";
174 compatible = "gd,gd32-wwdgt";
182 pinctrl: pin-controller@40010800 {
183 compatible = "gd,gd32-pinctrl-afio";
185 #address-cells = <1>;
186 #size-cells = <1>;
190 compatible = "gd,gd32-gpio";
191 gpio-controller;
192 #gpio-cells = <2>;
200 compatible = "gd,gd32-gpio";
201 gpio-controller;
202 #gpio-cells = <2>;
210 compatible = "gd,gd32-gpio";
211 gpio-controller;
212 #gpio-cells = <2>;
220 compatible = "gd,gd32-gpio";
221 gpio-controller;
222 #gpio-cells = <2>;
230 compatible = "gd,gd32-gpio";
231 gpio-controller;
232 #gpio-cells = <2>;
241 compatible = "gd,gd32-timer";
244 interrupt-names = "brk", "up", "trgcom", "cc";
247 is-advanced;
252 compatible = "gd,gd32-pwm";
254 #pwm-cells = <3>;
259 compatible = "gd,gd32-timer";
262 interrupt-names = "global";
269 compatible = "gd,gd32-pwm";
271 #pwm-cells = <3>;
276 compatible = "gd,gd32-timer";
279 interrupt-names = "global";
286 compatible = "gd,gd32-pwm";
288 #pwm-cells = <3>;
293 compatible = "gd,gd32-timer";
296 interrupt-names = "global";
303 compatible = "gd,gd32-pwm";
305 #pwm-cells = <3>;
310 compatible = "gd,gd32-timer";
313 interrupt-names = "global";
320 compatible = "gd,gd32-pwm";
322 #pwm-cells = <3>;
327 compatible = "gd,gd32-timer";
330 interrupt-names = "global";
338 compatible = "gd,gd32-timer";
341 interrupt-names = "global";
349 compatible = "gd,gd32-timer";
352 interrupt-names = "brk", "up", "trgcom", "cc";
355 is-advanced;
360 compatible = "gd,gd32-pwm";
362 #pwm-cells = <3>;
367 compatible = "gd,gd32-timer";
370 interrupt-names = "global";
377 compatible = "gd,gd32-pwm";
379 #pwm-cells = <3>;
384 compatible = "gd,gd32-timer";
387 interrupt-names = "global";
394 compatible = "gd,gd32-pwm";
396 #pwm-cells = <3>;
401 compatible = "gd,gd32-timer";
404 interrupt-names = "global";
411 compatible = "gd,gd32-pwm";
413 #pwm-cells = <3>;
418 compatible = "gd,gd32-timer";
421 interrupt-names = "global";
428 compatible = "gd,gd32-pwm";
430 #pwm-cells = <3>;
435 compatible = "gd,gd32-timer";
438 interrupt-names = "global";
445 compatible = "gd,gd32-pwm";
447 #pwm-cells = <3>;
452 compatible = "gd,gd32-timer";
455 interrupt-names = "global";
462 compatible = "gd,gd32-pwm";
464 #pwm-cells = <3>;
469 compatible = "gd,gd32-dma";
474 dma-channels = <7>;
475 #dma-cells = <2>;
480 compatible = "gd,gd32-dma";
485 dma-channels = <5>;
486 #dma-cells = <2>;
494 arm,num-irq-priority-bits = <4>;