1 // SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2 // Copyright 2021 Jonathan Neuschäfer
4 #include <dt-bindings/interrupt-controller/irq.h>
7 compatible = "nuvoton,wpcm450";
27 compatible = "arm,arm926ej-s";
34 /* 24 MHz dummy clock */
35 compatible = "fixed-clock";
36 clock-frequency = <24000000>;
41 compatible = "simple-bus";
44 interrupt-parent = <&aic>;
47 gcr: syscon@b0000000 {
48 compatible = "nuvoton,wpcm450-gcr", "syscon", "simple-mfd";
49 reg = <0xb0000000 0x200>;
52 serial0: serial@b8000000 {
53 compatible = "nuvoton,wpcm450-uart";
54 reg = <0xb8000000 0x20>;
56 interrupts = <7 IRQ_TYPE_LEVEL_HIGH>;
58 pinctrl-names = "default";
59 pinctrl-0 = <&bsp_pins>;
63 serial1: serial@b8000100 {
64 compatible = "nuvoton,wpcm450-uart";
65 reg = <0xb8000100 0x20>;
67 interrupts = <8 IRQ_TYPE_LEVEL_HIGH>;
72 timer0: timer@b8001000 {
73 compatible = "nuvoton,wpcm450-timer";
74 interrupts = <12 IRQ_TYPE_LEVEL_HIGH>;
75 reg = <0xb8001000 0x1c>;
79 watchdog0: watchdog@b800101c {
80 compatible = "nuvoton,wpcm450-wdt";
81 interrupts = <1 IRQ_TYPE_LEVEL_HIGH>;
82 reg = <0xb800101c 0x4>;
87 aic: interrupt-controller@b8002000 {
88 compatible = "nuvoton,wpcm450-aic";
89 reg = <0xb8002000 0x1000>;
91 #interrupt-cells = <2>;
94 pinctrl: pinctrl@b8003000 {
95 compatible = "nuvoton,wpcm450-pinctrl";
96 reg = <0xb8003000 0x1000>;
104 interrupts = <2 IRQ_TYPE_LEVEL_HIGH>,
105 <3 IRQ_TYPE_LEVEL_HIGH>,
106 <4 IRQ_TYPE_LEVEL_HIGH>;
107 interrupt-controller;
114 interrupts = <5 IRQ_TYPE_LEVEL_HIGH>;
115 interrupt-controller;
154 smb3_pins: mux-smb3 {
159 smb4_pins: mux-smb4 {
164 smb5_pins: mux-smb5 {
169 scs1_pins: mux-scs1 {
174 scs2_pins: mux-scs2 {
179 scs3_pins: mux-scs3 {
184 smb0_pins: mux-smb0 {
189 smb1_pins: mux-smb1 {
194 smb2_pins: mux-smb2 {
204 hsp1_pins: mux-hsp1 {
209 hsp2_pins: mux-hsp2 {
214 r1err_pins: mux-r1err {
219 r1md_pins: mux-r1md {
224 rmii2_pins: mux-rmii2 {
229 r2err_pins: mux-r2err {
234 r2md_pins: mux-r2md {
239 kbcc_pins: mux-kbcc {
244 dvo0_pins: mux-dvo0 {
249 dvo3_pins: mux-dvo3 {
254 clko_pins: mux-clko {
264 uinc_pins: mux-uinc {
269 gspi_pins: mux-gspi {
274 mben_pins: mux-mben {
279 xcs2_pins: mux-xcs2 {
284 xcs1_pins: mux-xcs1 {
289 sdio_pins: mux-sdio {
294 sspi_pins: mux-sspi {
349 fi10_pins: mux-fi10 {
354 fi11_pins: mux-fi11 {
359 fi12_pins: mux-fi12 {
364 fi13_pins: mux-fi13 {
369 fi14_pins: mux-fi14 {
374 fi15_pins: mux-fi15 {
379 pwm0_pins: mux-pwm0 {
384 pwm1_pins: mux-pwm1 {
389 pwm2_pins: mux-pwm2 {
394 pwm3_pins: mux-pwm3 {
399 pwm4_pins: mux-pwm4 {
404 pwm5_pins: mux-pwm5 {
409 pwm6_pins: mux-pwm6 {
414 pwm7_pins: mux-pwm7 {