xref: /freebsd-src/sys/contrib/device-tree/src/arm/nuvoton/nuvoton-wpcm450.dtsi (revision 8d13bc63c0e1d50bc9e47ac1f26329c999bfecf0)
1f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2f126890aSEmmanuel Vadot// Copyright 2021 Jonathan Neuschäfer
3f126890aSEmmanuel Vadot
4f126890aSEmmanuel Vadot#include <dt-bindings/interrupt-controller/irq.h>
5f126890aSEmmanuel Vadot
6f126890aSEmmanuel Vadot/ {
7f126890aSEmmanuel Vadot	compatible = "nuvoton,wpcm450";
8f126890aSEmmanuel Vadot	#address-cells = <1>;
9f126890aSEmmanuel Vadot	#size-cells = <1>;
10f126890aSEmmanuel Vadot
11f126890aSEmmanuel Vadot	aliases {
12f126890aSEmmanuel Vadot		gpio0 = &gpio0;
13f126890aSEmmanuel Vadot		gpio1 = &gpio1;
14f126890aSEmmanuel Vadot		gpio2 = &gpio2;
15f126890aSEmmanuel Vadot		gpio3 = &gpio3;
16f126890aSEmmanuel Vadot		gpio4 = &gpio4;
17f126890aSEmmanuel Vadot		gpio5 = &gpio5;
18f126890aSEmmanuel Vadot		gpio6 = &gpio6;
19f126890aSEmmanuel Vadot		gpio7 = &gpio7;
20f126890aSEmmanuel Vadot	};
21f126890aSEmmanuel Vadot
22f126890aSEmmanuel Vadot	cpus {
23f126890aSEmmanuel Vadot		#address-cells = <1>;
24f126890aSEmmanuel Vadot		#size-cells = <0>;
25f126890aSEmmanuel Vadot
26f126890aSEmmanuel Vadot		cpu@0 {
27f126890aSEmmanuel Vadot			compatible = "arm,arm926ej-s";
28f126890aSEmmanuel Vadot			device_type = "cpu";
29f126890aSEmmanuel Vadot			reg = <0>;
30f126890aSEmmanuel Vadot		};
31f126890aSEmmanuel Vadot	};
32f126890aSEmmanuel Vadot
33f126890aSEmmanuel Vadot	clk24m: clock-24mhz {
34f126890aSEmmanuel Vadot		/* 24 MHz dummy clock */
35f126890aSEmmanuel Vadot		compatible = "fixed-clock";
36f126890aSEmmanuel Vadot		clock-frequency = <24000000>;
37f126890aSEmmanuel Vadot		#clock-cells = <0>;
38f126890aSEmmanuel Vadot	};
39f126890aSEmmanuel Vadot
40f126890aSEmmanuel Vadot	refclk: clock-48mhz {
41f126890aSEmmanuel Vadot		/* 48 MHz reference oscillator */
42f126890aSEmmanuel Vadot		compatible = "fixed-clock";
43f126890aSEmmanuel Vadot		clock-output-names = "ref";
44f126890aSEmmanuel Vadot		clock-frequency = <48000000>;
45f126890aSEmmanuel Vadot		#clock-cells = <0>;
46f126890aSEmmanuel Vadot	};
47f126890aSEmmanuel Vadot
48f126890aSEmmanuel Vadot	soc {
49f126890aSEmmanuel Vadot		compatible = "simple-bus";
50f126890aSEmmanuel Vadot		#address-cells = <1>;
51f126890aSEmmanuel Vadot		#size-cells = <1>;
52f126890aSEmmanuel Vadot		interrupt-parent = <&aic>;
53f126890aSEmmanuel Vadot		ranges;
54f126890aSEmmanuel Vadot
55f126890aSEmmanuel Vadot		gcr: syscon@b0000000 {
56f126890aSEmmanuel Vadot			compatible = "nuvoton,wpcm450-gcr", "syscon", "simple-mfd";
57f126890aSEmmanuel Vadot			reg = <0xb0000000 0x200>;
58f126890aSEmmanuel Vadot		};
59f126890aSEmmanuel Vadot
60f126890aSEmmanuel Vadot		clk: clock-controller@b0000200 {
61f126890aSEmmanuel Vadot			compatible = "nuvoton,wpcm450-clk";
62f126890aSEmmanuel Vadot			reg = <0xb0000200 0x100>;
63f126890aSEmmanuel Vadot			clocks = <&refclk>;
64f126890aSEmmanuel Vadot			clock-names = "ref";
65f126890aSEmmanuel Vadot			#clock-cells = <1>;
66f126890aSEmmanuel Vadot			#reset-cells = <1>;
67f126890aSEmmanuel Vadot		};
68f126890aSEmmanuel Vadot
69f126890aSEmmanuel Vadot		serial0: serial@b8000000 {
70f126890aSEmmanuel Vadot			compatible = "nuvoton,wpcm450-uart";
71f126890aSEmmanuel Vadot			reg = <0xb8000000 0x20>;
72f126890aSEmmanuel Vadot			reg-shift = <2>;
73f126890aSEmmanuel Vadot			interrupts = <7 IRQ_TYPE_LEVEL_HIGH>;
74f126890aSEmmanuel Vadot			clocks = <&clk24m>;
75f126890aSEmmanuel Vadot			pinctrl-names = "default";
76f126890aSEmmanuel Vadot			pinctrl-0 = <&bsp_pins>;
77f126890aSEmmanuel Vadot			status = "disabled";
78f126890aSEmmanuel Vadot		};
79f126890aSEmmanuel Vadot
80f126890aSEmmanuel Vadot		serial1: serial@b8000100 {
81f126890aSEmmanuel Vadot			compatible = "nuvoton,wpcm450-uart";
82f126890aSEmmanuel Vadot			reg = <0xb8000100 0x20>;
83f126890aSEmmanuel Vadot			reg-shift = <2>;
84f126890aSEmmanuel Vadot			interrupts = <8 IRQ_TYPE_LEVEL_HIGH>;
85f126890aSEmmanuel Vadot			clocks = <&clk24m>;
86f126890aSEmmanuel Vadot			status = "disabled";
87f126890aSEmmanuel Vadot		};
88f126890aSEmmanuel Vadot
89f126890aSEmmanuel Vadot		timer0: timer@b8001000 {
90f126890aSEmmanuel Vadot			compatible = "nuvoton,wpcm450-timer";
91f126890aSEmmanuel Vadot			interrupts = <12 IRQ_TYPE_LEVEL_HIGH>;
92f126890aSEmmanuel Vadot			reg = <0xb8001000 0x1c>;
93f126890aSEmmanuel Vadot			clocks = <&clk24m>;
94f126890aSEmmanuel Vadot		};
95f126890aSEmmanuel Vadot
96f126890aSEmmanuel Vadot		watchdog0: watchdog@b800101c {
97f126890aSEmmanuel Vadot			compatible = "nuvoton,wpcm450-wdt";
98f126890aSEmmanuel Vadot			interrupts = <1 IRQ_TYPE_LEVEL_HIGH>;
99f126890aSEmmanuel Vadot			reg = <0xb800101c 0x4>;
100f126890aSEmmanuel Vadot			clocks = <&clk24m>;
101f126890aSEmmanuel Vadot		};
102f126890aSEmmanuel Vadot
103f126890aSEmmanuel Vadot		aic: interrupt-controller@b8002000 {
104f126890aSEmmanuel Vadot			compatible = "nuvoton,wpcm450-aic";
105f126890aSEmmanuel Vadot			reg = <0xb8002000 0x1000>;
106f126890aSEmmanuel Vadot			interrupt-controller;
107f126890aSEmmanuel Vadot			#interrupt-cells = <2>;
108f126890aSEmmanuel Vadot		};
109f126890aSEmmanuel Vadot
110f126890aSEmmanuel Vadot		pinctrl: pinctrl@b8003000 {
111f126890aSEmmanuel Vadot			compatible = "nuvoton,wpcm450-pinctrl";
112f126890aSEmmanuel Vadot			reg = <0xb8003000 0x1000>;
113f126890aSEmmanuel Vadot			#address-cells = <1>;
114f126890aSEmmanuel Vadot			#size-cells = <0>;
115f126890aSEmmanuel Vadot
116f126890aSEmmanuel Vadot			gpio0: gpio@0 {
117f126890aSEmmanuel Vadot				reg = <0>;
118f126890aSEmmanuel Vadot				gpio-controller;
119f126890aSEmmanuel Vadot				#gpio-cells = <2>;
120f126890aSEmmanuel Vadot				interrupts = <2 IRQ_TYPE_LEVEL_HIGH>,
121f126890aSEmmanuel Vadot					     <3 IRQ_TYPE_LEVEL_HIGH>,
122f126890aSEmmanuel Vadot					     <4 IRQ_TYPE_LEVEL_HIGH>;
123*8d13bc63SEmmanuel Vadot				#interrupt-cells = <2>;
124f126890aSEmmanuel Vadot				interrupt-controller;
125f126890aSEmmanuel Vadot			};
126f126890aSEmmanuel Vadot
127f126890aSEmmanuel Vadot			gpio1: gpio@1 {
128f126890aSEmmanuel Vadot				reg = <1>;
129f126890aSEmmanuel Vadot				gpio-controller;
130f126890aSEmmanuel Vadot				#gpio-cells = <2>;
131f126890aSEmmanuel Vadot				interrupts = <5 IRQ_TYPE_LEVEL_HIGH>;
132*8d13bc63SEmmanuel Vadot				#interrupt-cells = <2>;
133f126890aSEmmanuel Vadot				interrupt-controller;
134f126890aSEmmanuel Vadot			};
135f126890aSEmmanuel Vadot
136f126890aSEmmanuel Vadot			gpio2: gpio@2 {
137f126890aSEmmanuel Vadot				reg = <2>;
138f126890aSEmmanuel Vadot				gpio-controller;
139f126890aSEmmanuel Vadot				#gpio-cells = <2>;
140f126890aSEmmanuel Vadot			};
141f126890aSEmmanuel Vadot
142f126890aSEmmanuel Vadot			gpio3: gpio@3 {
143f126890aSEmmanuel Vadot				reg = <3>;
144f126890aSEmmanuel Vadot				gpio-controller;
145f126890aSEmmanuel Vadot				#gpio-cells = <2>;
146f126890aSEmmanuel Vadot			};
147f126890aSEmmanuel Vadot
148f126890aSEmmanuel Vadot			gpio4: gpio@4 {
149f126890aSEmmanuel Vadot				reg = <4>;
150f126890aSEmmanuel Vadot				gpio-controller;
151f126890aSEmmanuel Vadot				#gpio-cells = <2>;
152f126890aSEmmanuel Vadot			};
153f126890aSEmmanuel Vadot
154f126890aSEmmanuel Vadot			gpio5: gpio@5 {
155f126890aSEmmanuel Vadot				reg = <5>;
156f126890aSEmmanuel Vadot				gpio-controller;
157f126890aSEmmanuel Vadot				#gpio-cells = <2>;
158f126890aSEmmanuel Vadot			};
159f126890aSEmmanuel Vadot
160f126890aSEmmanuel Vadot			gpio6: gpio@6 {
161f126890aSEmmanuel Vadot				reg = <6>;
162f126890aSEmmanuel Vadot				gpio-controller;
163f126890aSEmmanuel Vadot				#gpio-cells = <2>;
164f126890aSEmmanuel Vadot			};
165f126890aSEmmanuel Vadot
166f126890aSEmmanuel Vadot			gpio7: gpio@7 {
167f126890aSEmmanuel Vadot				reg = <7>;
168f126890aSEmmanuel Vadot				gpio-controller;
169f126890aSEmmanuel Vadot				#gpio-cells = <2>;
170f126890aSEmmanuel Vadot			};
171f126890aSEmmanuel Vadot
172f126890aSEmmanuel Vadot			smb3_pins: mux-smb3 {
173f126890aSEmmanuel Vadot				groups = "smb3";
174f126890aSEmmanuel Vadot				function = "smb3";
175f126890aSEmmanuel Vadot			};
176f126890aSEmmanuel Vadot
177f126890aSEmmanuel Vadot			smb4_pins: mux-smb4 {
178f126890aSEmmanuel Vadot				groups = "smb4";
179f126890aSEmmanuel Vadot				function = "smb4";
180f126890aSEmmanuel Vadot			};
181f126890aSEmmanuel Vadot
182f126890aSEmmanuel Vadot			smb5_pins: mux-smb5 {
183f126890aSEmmanuel Vadot				groups = "smb5";
184f126890aSEmmanuel Vadot				function = "smb5";
185f126890aSEmmanuel Vadot			};
186f126890aSEmmanuel Vadot
187f126890aSEmmanuel Vadot			scs1_pins: mux-scs1 {
188f126890aSEmmanuel Vadot				groups = "scs1";
189f126890aSEmmanuel Vadot				function = "scs1";
190f126890aSEmmanuel Vadot			};
191f126890aSEmmanuel Vadot
192f126890aSEmmanuel Vadot			scs2_pins: mux-scs2 {
193f126890aSEmmanuel Vadot				groups = "scs2";
194f126890aSEmmanuel Vadot				function = "scs2";
195f126890aSEmmanuel Vadot			};
196f126890aSEmmanuel Vadot
197f126890aSEmmanuel Vadot			scs3_pins: mux-scs3 {
198f126890aSEmmanuel Vadot				groups = "scs3";
199f126890aSEmmanuel Vadot				function = "scs3";
200f126890aSEmmanuel Vadot			};
201f126890aSEmmanuel Vadot
202f126890aSEmmanuel Vadot			smb0_pins: mux-smb0 {
203f126890aSEmmanuel Vadot				groups = "smb0";
204f126890aSEmmanuel Vadot				function = "smb0";
205f126890aSEmmanuel Vadot			};
206f126890aSEmmanuel Vadot
207f126890aSEmmanuel Vadot			smb1_pins: mux-smb1 {
208f126890aSEmmanuel Vadot				groups = "smb1";
209f126890aSEmmanuel Vadot				function = "smb1";
210f126890aSEmmanuel Vadot			};
211f126890aSEmmanuel Vadot
212f126890aSEmmanuel Vadot			smb2_pins: mux-smb2 {
213f126890aSEmmanuel Vadot				groups = "smb2";
214f126890aSEmmanuel Vadot				function = "smb2";
215f126890aSEmmanuel Vadot			};
216f126890aSEmmanuel Vadot
217f126890aSEmmanuel Vadot			bsp_pins: mux-bsp {
218f126890aSEmmanuel Vadot				groups = "bsp";
219f126890aSEmmanuel Vadot				function = "bsp";
220f126890aSEmmanuel Vadot			};
221f126890aSEmmanuel Vadot
222f126890aSEmmanuel Vadot			hsp1_pins: mux-hsp1 {
223f126890aSEmmanuel Vadot				groups = "hsp1";
224f126890aSEmmanuel Vadot				function = "hsp1";
225f126890aSEmmanuel Vadot			};
226f126890aSEmmanuel Vadot
227f126890aSEmmanuel Vadot			hsp2_pins: mux-hsp2 {
228f126890aSEmmanuel Vadot				groups = "hsp2";
229f126890aSEmmanuel Vadot				function = "hsp2";
230f126890aSEmmanuel Vadot			};
231f126890aSEmmanuel Vadot
232f126890aSEmmanuel Vadot			r1err_pins: mux-r1err {
233f126890aSEmmanuel Vadot				groups = "r1err";
234f126890aSEmmanuel Vadot				function = "r1err";
235f126890aSEmmanuel Vadot			};
236f126890aSEmmanuel Vadot
237f126890aSEmmanuel Vadot			r1md_pins: mux-r1md {
238f126890aSEmmanuel Vadot				groups = "r1md";
239f126890aSEmmanuel Vadot				function = "r1md";
240f126890aSEmmanuel Vadot			};
241f126890aSEmmanuel Vadot
242f126890aSEmmanuel Vadot			rmii2_pins: mux-rmii2 {
243f126890aSEmmanuel Vadot				groups = "rmii2";
244f126890aSEmmanuel Vadot				function = "rmii2";
245f126890aSEmmanuel Vadot			};
246f126890aSEmmanuel Vadot
247f126890aSEmmanuel Vadot			r2err_pins: mux-r2err {
248f126890aSEmmanuel Vadot				groups = "r2err";
249f126890aSEmmanuel Vadot				function = "r2err";
250f126890aSEmmanuel Vadot			};
251f126890aSEmmanuel Vadot
252f126890aSEmmanuel Vadot			r2md_pins: mux-r2md {
253f126890aSEmmanuel Vadot				groups = "r2md";
254f126890aSEmmanuel Vadot				function = "r2md";
255f126890aSEmmanuel Vadot			};
256f126890aSEmmanuel Vadot
257f126890aSEmmanuel Vadot			kbcc_pins: mux-kbcc {
258f126890aSEmmanuel Vadot				groups = "kbcc";
259f126890aSEmmanuel Vadot				function = "kbcc";
260f126890aSEmmanuel Vadot			};
261f126890aSEmmanuel Vadot
262f126890aSEmmanuel Vadot			dvo0_pins: mux-dvo0 {
263f126890aSEmmanuel Vadot				groups = "dvo";
264f126890aSEmmanuel Vadot				function = "dvo0";
265f126890aSEmmanuel Vadot			};
266f126890aSEmmanuel Vadot
267f126890aSEmmanuel Vadot			dvo3_pins: mux-dvo3 {
268f126890aSEmmanuel Vadot				groups = "dvo";
269f126890aSEmmanuel Vadot				function = "dvo3";
270f126890aSEmmanuel Vadot			};
271f126890aSEmmanuel Vadot
272f126890aSEmmanuel Vadot			clko_pins: mux-clko {
273f126890aSEmmanuel Vadot				groups = "clko";
274f126890aSEmmanuel Vadot				function = "clko";
275f126890aSEmmanuel Vadot			};
276f126890aSEmmanuel Vadot
277f126890aSEmmanuel Vadot			smi_pins: mux-smi {
278f126890aSEmmanuel Vadot				groups = "smi";
279f126890aSEmmanuel Vadot				function = "smi";
280f126890aSEmmanuel Vadot			};
281f126890aSEmmanuel Vadot
282f126890aSEmmanuel Vadot			uinc_pins: mux-uinc {
283f126890aSEmmanuel Vadot				groups = "uinc";
284f126890aSEmmanuel Vadot				function = "uinc";
285f126890aSEmmanuel Vadot			};
286f126890aSEmmanuel Vadot
287f126890aSEmmanuel Vadot			gspi_pins: mux-gspi {
288f126890aSEmmanuel Vadot				groups = "gspi";
289f126890aSEmmanuel Vadot				function = "gspi";
290f126890aSEmmanuel Vadot			};
291f126890aSEmmanuel Vadot
292f126890aSEmmanuel Vadot			mben_pins: mux-mben {
293f126890aSEmmanuel Vadot				groups = "mben";
294f126890aSEmmanuel Vadot				function = "mben";
295f126890aSEmmanuel Vadot			};
296f126890aSEmmanuel Vadot
297f126890aSEmmanuel Vadot			xcs2_pins: mux-xcs2 {
298f126890aSEmmanuel Vadot				groups = "xcs2";
299f126890aSEmmanuel Vadot				function = "xcs2";
300f126890aSEmmanuel Vadot			};
301f126890aSEmmanuel Vadot
302f126890aSEmmanuel Vadot			xcs1_pins: mux-xcs1 {
303f126890aSEmmanuel Vadot				groups = "xcs1";
304f126890aSEmmanuel Vadot				function = "xcs1";
305f126890aSEmmanuel Vadot			};
306f126890aSEmmanuel Vadot
307f126890aSEmmanuel Vadot			sdio_pins: mux-sdio {
308f126890aSEmmanuel Vadot				groups = "sdio";
309f126890aSEmmanuel Vadot				function = "sdio";
310f126890aSEmmanuel Vadot			};
311f126890aSEmmanuel Vadot
312f126890aSEmmanuel Vadot			sspi_pins: mux-sspi {
313f126890aSEmmanuel Vadot				groups = "sspi";
314f126890aSEmmanuel Vadot				function = "sspi";
315f126890aSEmmanuel Vadot			};
316f126890aSEmmanuel Vadot
317f126890aSEmmanuel Vadot			fi0_pins: mux-fi0 {
318f126890aSEmmanuel Vadot				groups = "fi0";
319f126890aSEmmanuel Vadot				function = "fi0";
320f126890aSEmmanuel Vadot			};
321f126890aSEmmanuel Vadot
322f126890aSEmmanuel Vadot			fi1_pins: mux-fi1 {
323f126890aSEmmanuel Vadot				groups = "fi1";
324f126890aSEmmanuel Vadot				function = "fi1";
325f126890aSEmmanuel Vadot			};
326f126890aSEmmanuel Vadot
327f126890aSEmmanuel Vadot			fi2_pins: mux-fi2 {
328f126890aSEmmanuel Vadot				groups = "fi2";
329f126890aSEmmanuel Vadot				function = "fi2";
330f126890aSEmmanuel Vadot			};
331f126890aSEmmanuel Vadot
332f126890aSEmmanuel Vadot			fi3_pins: mux-fi3 {
333f126890aSEmmanuel Vadot				groups = "fi3";
334f126890aSEmmanuel Vadot				function = "fi3";
335f126890aSEmmanuel Vadot			};
336f126890aSEmmanuel Vadot
337f126890aSEmmanuel Vadot			fi4_pins: mux-fi4 {
338f126890aSEmmanuel Vadot				groups = "fi4";
339f126890aSEmmanuel Vadot				function = "fi4";
340f126890aSEmmanuel Vadot			};
341f126890aSEmmanuel Vadot
342f126890aSEmmanuel Vadot			fi5_pins: mux-fi5 {
343f126890aSEmmanuel Vadot				groups = "fi5";
344f126890aSEmmanuel Vadot				function = "fi5";
345f126890aSEmmanuel Vadot			};
346f126890aSEmmanuel Vadot
347f126890aSEmmanuel Vadot			fi6_pins: mux-fi6 {
348f126890aSEmmanuel Vadot				groups = "fi6";
349f126890aSEmmanuel Vadot				function = "fi6";
350f126890aSEmmanuel Vadot			};
351f126890aSEmmanuel Vadot
352f126890aSEmmanuel Vadot			fi7_pins: mux-fi7 {
353f126890aSEmmanuel Vadot				groups = "fi7";
354f126890aSEmmanuel Vadot				function = "fi7";
355f126890aSEmmanuel Vadot			};
356f126890aSEmmanuel Vadot
357f126890aSEmmanuel Vadot			fi8_pins: mux-fi8 {
358f126890aSEmmanuel Vadot				groups = "fi8";
359f126890aSEmmanuel Vadot				function = "fi8";
360f126890aSEmmanuel Vadot			};
361f126890aSEmmanuel Vadot
362f126890aSEmmanuel Vadot			fi9_pins: mux-fi9 {
363f126890aSEmmanuel Vadot				groups = "fi9";
364f126890aSEmmanuel Vadot				function = "fi9";
365f126890aSEmmanuel Vadot			};
366f126890aSEmmanuel Vadot
367f126890aSEmmanuel Vadot			fi10_pins: mux-fi10 {
368f126890aSEmmanuel Vadot				groups = "fi10";
369f126890aSEmmanuel Vadot				function = "fi10";
370f126890aSEmmanuel Vadot			};
371f126890aSEmmanuel Vadot
372f126890aSEmmanuel Vadot			fi11_pins: mux-fi11 {
373f126890aSEmmanuel Vadot				groups = "fi11";
374f126890aSEmmanuel Vadot				function = "fi11";
375f126890aSEmmanuel Vadot			};
376f126890aSEmmanuel Vadot
377f126890aSEmmanuel Vadot			fi12_pins: mux-fi12 {
378f126890aSEmmanuel Vadot				groups = "fi12";
379f126890aSEmmanuel Vadot				function = "fi12";
380f126890aSEmmanuel Vadot			};
381f126890aSEmmanuel Vadot
382f126890aSEmmanuel Vadot			fi13_pins: mux-fi13 {
383f126890aSEmmanuel Vadot				groups = "fi13";
384f126890aSEmmanuel Vadot				function = "fi13";
385f126890aSEmmanuel Vadot			};
386f126890aSEmmanuel Vadot
387f126890aSEmmanuel Vadot			fi14_pins: mux-fi14 {
388f126890aSEmmanuel Vadot				groups = "fi14";
389f126890aSEmmanuel Vadot				function = "fi14";
390f126890aSEmmanuel Vadot			};
391f126890aSEmmanuel Vadot
392f126890aSEmmanuel Vadot			fi15_pins: mux-fi15 {
393f126890aSEmmanuel Vadot				groups = "fi15";
394f126890aSEmmanuel Vadot				function = "fi15";
395f126890aSEmmanuel Vadot			};
396f126890aSEmmanuel Vadot
397f126890aSEmmanuel Vadot			pwm0_pins: mux-pwm0 {
398f126890aSEmmanuel Vadot				groups = "pwm0";
399f126890aSEmmanuel Vadot				function = "pwm0";
400f126890aSEmmanuel Vadot			};
401f126890aSEmmanuel Vadot
402f126890aSEmmanuel Vadot			pwm1_pins: mux-pwm1 {
403f126890aSEmmanuel Vadot				groups = "pwm1";
404f126890aSEmmanuel Vadot				function = "pwm1";
405f126890aSEmmanuel Vadot			};
406f126890aSEmmanuel Vadot
407f126890aSEmmanuel Vadot			pwm2_pins: mux-pwm2 {
408f126890aSEmmanuel Vadot				groups = "pwm2";
409f126890aSEmmanuel Vadot				function = "pwm2";
410f126890aSEmmanuel Vadot			};
411f126890aSEmmanuel Vadot
412f126890aSEmmanuel Vadot			pwm3_pins: mux-pwm3 {
413f126890aSEmmanuel Vadot				groups = "pwm3";
414f126890aSEmmanuel Vadot				function = "pwm3";
415f126890aSEmmanuel Vadot			};
416f126890aSEmmanuel Vadot
417f126890aSEmmanuel Vadot			pwm4_pins: mux-pwm4 {
418f126890aSEmmanuel Vadot				groups = "pwm4";
419f126890aSEmmanuel Vadot				function = "pwm4";
420f126890aSEmmanuel Vadot			};
421f126890aSEmmanuel Vadot
422f126890aSEmmanuel Vadot			pwm5_pins: mux-pwm5 {
423f126890aSEmmanuel Vadot				groups = "pwm5";
424f126890aSEmmanuel Vadot				function = "pwm5";
425f126890aSEmmanuel Vadot			};
426f126890aSEmmanuel Vadot
427f126890aSEmmanuel Vadot			pwm6_pins: mux-pwm6 {
428f126890aSEmmanuel Vadot				groups = "pwm6";
429f126890aSEmmanuel Vadot				function = "pwm6";
430f126890aSEmmanuel Vadot			};
431f126890aSEmmanuel Vadot
432f126890aSEmmanuel Vadot			pwm7_pins: mux-pwm7 {
433f126890aSEmmanuel Vadot				groups = "pwm7";
434f126890aSEmmanuel Vadot				function = "pwm7";
435f126890aSEmmanuel Vadot			};
436f126890aSEmmanuel Vadot
437f126890aSEmmanuel Vadot			hg0_pins: mux-hg0 {
438f126890aSEmmanuel Vadot				groups = "hg0";
439f126890aSEmmanuel Vadot				function = "hg0";
440f126890aSEmmanuel Vadot			};
441f126890aSEmmanuel Vadot
442f126890aSEmmanuel Vadot			hg1_pins: mux-hg1 {
443f126890aSEmmanuel Vadot				groups = "hg1";
444f126890aSEmmanuel Vadot				function = "hg1";
445f126890aSEmmanuel Vadot			};
446f126890aSEmmanuel Vadot
447f126890aSEmmanuel Vadot			hg2_pins: mux-hg2 {
448f126890aSEmmanuel Vadot				groups = "hg2";
449f126890aSEmmanuel Vadot				function = "hg2";
450f126890aSEmmanuel Vadot			};
451f126890aSEmmanuel Vadot
452f126890aSEmmanuel Vadot			hg3_pins: mux-hg3 {
453f126890aSEmmanuel Vadot				groups = "hg3";
454f126890aSEmmanuel Vadot				function = "hg3";
455f126890aSEmmanuel Vadot			};
456f126890aSEmmanuel Vadot
457f126890aSEmmanuel Vadot			hg4_pins: mux-hg4 {
458f126890aSEmmanuel Vadot				groups = "hg4";
459f126890aSEmmanuel Vadot				function = "hg4";
460f126890aSEmmanuel Vadot			};
461f126890aSEmmanuel Vadot
462f126890aSEmmanuel Vadot			hg5_pins: mux-hg5 {
463f126890aSEmmanuel Vadot				groups = "hg5";
464f126890aSEmmanuel Vadot				function = "hg5";
465f126890aSEmmanuel Vadot			};
466f126890aSEmmanuel Vadot
467f126890aSEmmanuel Vadot			hg6_pins: mux-hg6 {
468f126890aSEmmanuel Vadot				groups = "hg6";
469f126890aSEmmanuel Vadot				function = "hg6";
470f126890aSEmmanuel Vadot			};
471f126890aSEmmanuel Vadot
472f126890aSEmmanuel Vadot			hg7_pins: mux-hg7 {
473f126890aSEmmanuel Vadot				groups = "hg7";
474f126890aSEmmanuel Vadot				function = "hg7";
475f126890aSEmmanuel Vadot			};
476f126890aSEmmanuel Vadot		};
477f126890aSEmmanuel Vadot
478f126890aSEmmanuel Vadot		fiu: spi-controller@c8000000 {
479f126890aSEmmanuel Vadot			compatible = "nuvoton,wpcm450-fiu";
480f126890aSEmmanuel Vadot			#address-cells = <1>;
481f126890aSEmmanuel Vadot			#size-cells = <0>;
482f126890aSEmmanuel Vadot			reg = <0xc8000000 0x1000>, <0xc0000000 0x4000000>;
483f126890aSEmmanuel Vadot			reg-names = "control", "memory";
484f126890aSEmmanuel Vadot			clocks = <&clk 0>;
485f126890aSEmmanuel Vadot			nuvoton,shm = <&shm>;
486f126890aSEmmanuel Vadot			status = "disabled";
487f126890aSEmmanuel Vadot		};
488f126890aSEmmanuel Vadot
489f126890aSEmmanuel Vadot		shm: syscon@c8001000 {
490f126890aSEmmanuel Vadot			compatible = "nuvoton,wpcm450-shm", "syscon";
491f126890aSEmmanuel Vadot			reg = <0xc8001000 0x1000>;
492f126890aSEmmanuel Vadot			reg-io-width = <1>;
493f126890aSEmmanuel Vadot		};
494f126890aSEmmanuel Vadot	};
495f126890aSEmmanuel Vadot};
496