test: rng: Add a UT testcase for the rng command
[platform/kernel/u-boot.git] / arch / arm / dts / nuvoton-common-npcm7xx.dtsi
1 // SPDX-License-Identifier: GPL-2.0
2
3 #include <dt-bindings/interrupt-controller/arm-gic.h>
4 #include <dt-bindings/clock/nuvoton,npcm7xx-clock.h>
5 #include <dt-bindings/reset/nuvoton,npcm7xx-reset.h>
6
7 / {
8         #address-cells = <1>;
9         #size-cells = <1>;
10         interrupt-parent = <&gic>;
11
12         /* external reference clock */
13         clk_refclk: clk_refclk {
14                 compatible = "fixed-clock";
15                 #clock-cells = <0>;
16                 clock-frequency = <25000000>;
17                 clock-output-names = "refclk";
18         };
19
20         /* external reference clock for cpu. float in normal operation */
21         clk_sysbypck: clk_sysbypck {
22                 compatible = "fixed-clock";
23                 #clock-cells = <0>;
24                 clock-frequency = <800000000>;
25                 clock-output-names = "sysbypck";
26         };
27
28         /* external reference clock for MC. float in normal operation */
29         clk_mcbypck: clk_mcbypck {
30                 compatible = "fixed-clock";
31                 #clock-cells = <0>;
32                 clock-frequency = <800000000>;
33                 clock-output-names = "mcbypck";
34         };
35
36          /* external clock signal rg1refck, supplied by the phy */
37         clk_rg1refck: clk_rg1refck {
38                 compatible = "fixed-clock";
39                 #clock-cells = <0>;
40                 clock-frequency = <125000000>;
41                 clock-output-names = "clk_rg1refck";
42         };
43
44          /* external clock signal rg2refck, supplied by the phy */
45         clk_rg2refck: clk_rg2refck {
46                 compatible = "fixed-clock";
47                 #clock-cells = <0>;
48                 clock-frequency = <125000000>;
49                 clock-output-names = "clk_rg2refck";
50         };
51
52         clk_xin: clk_xin {
53                 compatible = "fixed-clock";
54                 #clock-cells = <0>;
55                 clock-frequency = <50000000>;
56                 clock-output-names = "clk_xin";
57         };
58
59         soc {
60                 #address-cells = <1>;
61                 #size-cells = <1>;
62                 compatible = "simple-bus";
63                 interrupt-parent = <&gic>;
64                 ranges = <0x0 0xf0000000 0x00900000>;
65
66                 scu: scu@3fe000 {
67                         compatible = "arm,cortex-a9-scu";
68                         reg = <0x3fe000 0x1000>;
69                 };
70
71                 l2: cache-controller@3fc000 {
72                         compatible = "arm,pl310-cache";
73                         reg = <0x3fc000 0x1000>;
74                         interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
75                         cache-unified;
76                         cache-level = <2>;
77                         clocks = <&clk NPCM7XX_CLK_AXI>;
78                         arm,shared-override;
79                 };
80
81                 gic: interrupt-controller@3ff000 {
82                         compatible = "arm,cortex-a9-gic";
83                         interrupt-controller;
84                         #interrupt-cells = <3>;
85                         reg = <0x3ff000 0x1000>,
86                                 <0x3fe100 0x100>;
87                 };
88
89                 gcr: gcr@800000 {
90                         compatible = "nuvoton,npcm750-gcr", "syscon", "simple-mfd";
91                         reg = <0x800000 0x1000>;
92                 };
93
94                 rst: rst@801000 {
95                         compatible = "nuvoton,npcm750-rst", "syscon", "simple-mfd";
96                         reg = <0x801000 0x6C>;
97                 };
98         };
99
100         ahb {
101                 #address-cells = <1>;
102                 #size-cells = <1>;
103                 compatible = "simple-bus";
104                 interrupt-parent = <&gic>;
105                 ranges;
106
107                 rstc: rstc@f0801000 {
108                         compatible = "nuvoton,npcm750-reset";
109                         reg = <0xf0801000 0x70>;
110                         #reset-cells = <2>;
111                 };
112
113                 clk: clock-controller@f0801000 {
114                         compatible = "nuvoton,npcm750-clk", "syscon";
115                         #clock-cells = <1>;
116                         clock-controller;
117                         reg = <0xf0801000 0x1000>;
118                         clock-names = "refclk", "sysbypck", "mcbypck";
119                         clocks = <&clk_refclk>, <&clk_sysbypck>, <&clk_mcbypck>;
120                 };
121
122                 gmac0: eth@f0802000 {
123                         device_type = "network";
124                         compatible = "nuvoton,npcm-dwmac";
125                         reg = <0xf0802000 0x2000>;
126                         interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
127                         interrupt-names = "macirq";
128                         ethernet = <0>;
129                         clocks  = <&clk_rg1refck>, <&clk NPCM7XX_CLK_AHB>;
130                         clock-names = "stmmaceth", "clk_gmac";
131                         pinctrl-names = "default";
132                         pinctrl-0 = <&rg1_pins
133                                         &rg1mdio_pins>;
134                         status = "disabled";
135                 };
136
137                 ehci1: usb@f0806000 {
138                         compatible = "nuvoton,npcm750-ehci";
139                         reg = <0xf0806000 0x1000>;
140                         interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
141                         status = "disabled";
142                 };
143
144                 fiu0: spi@fb000000 {
145                         compatible = "nuvoton,npcm750-fiu";
146                         #address-cells = <1>;
147                         #size-cells = <0>;
148                         reg = <0xfb000000 0x1000>;
149                         reg-names = "control", "memory";
150                         clocks = <&clk NPCM7XX_CLK_SPI0>;
151                         clock-names = "clk_spi0";
152                         status = "disabled";
153                 };
154
155                 fiu3: spi@c0000000 {
156                         compatible = "nuvoton,npcm750-fiu";
157                         #address-cells = <1>;
158                         #size-cells = <0>;
159                         reg = <0xc0000000 0x1000>;
160                         reg-names = "control", "memory";
161                         clocks = <&clk NPCM7XX_CLK_SPI3>;
162                         clock-names = "clk_spi3";
163                         pinctrl-names = "default";
164                         pinctrl-0 = <&spi3_pins>;
165                         status = "disabled";
166                 };
167
168                 fiux: spi@fb001000 {
169                         compatible = "nuvoton,npcm750-fiu";
170                         #address-cells = <1>;
171                         #size-cells = <0>;
172                         reg = <0xfb001000 0x1000>;
173                         reg-names = "control", "memory";
174                         clocks = <&clk NPCM7XX_CLK_SPIX>;
175                         clock-names = "clk_spix";
176                         status = "disabled";
177                 };
178
179                 apb {
180                         #address-cells = <1>;
181                         #size-cells = <1>;
182                         compatible = "simple-bus";
183                         interrupt-parent = <&gic>;
184                         ranges = <0x0 0xf0000000 0x00300000>;
185
186                         lpc_kcs: lpc_kcs@7000 {
187                                 compatible = "nuvoton,npcm750-lpc-kcs", "simple-mfd", "syscon";
188                                 reg = <0x7000 0x40>;
189                                 reg-io-width = <1>;
190
191                                 #address-cells = <1>;
192                                 #size-cells = <1>;
193                                 ranges = <0x0 0x7000 0x40>;
194
195                                 kcs1: kcs1@0 {
196                                         compatible = "nuvoton,npcm750-kcs-bmc";
197                                         reg = <0x0 0x40>;
198                                         interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
199                                         kcs_chan = <1>;
200                                         status = "disabled";
201                                 };
202
203                                 kcs2: kcs2@0 {
204                                         compatible = "nuvoton,npcm750-kcs-bmc";
205                                         reg = <0x0 0x40>;
206                                         interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
207                                         kcs_chan = <2>;
208                                         status = "disabled";
209                                 };
210
211                                 kcs3: kcs3@0 {
212                                         compatible = "nuvoton,npcm750-kcs-bmc";
213                                         reg = <0x0 0x40>;
214                                         interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
215                                         kcs_chan = <3>;
216                                         status = "disabled";
217                                 };
218                         };
219
220                         spi0: spi@200000 {
221                                 compatible = "nuvoton,npcm750-pspi";
222                                 reg = <0x200000 0x1000>;
223                                 pinctrl-names = "default";
224                                 pinctrl-0 = <&pspi1_pins>;
225                                 #address-cells = <1>;
226                                 #size-cells = <0>;
227                                 interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
228                                 clocks = <&clk NPCM7XX_CLK_APB5>;
229                                 clock-names = "clk_apb5";
230                                 resets = <&rstc NPCM7XX_RESET_IPSRST2 NPCM7XX_RESET_PSPI1>;
231                                 status = "disabled";
232                         };
233
234                         spi1: spi@201000 {
235                                 compatible = "nuvoton,npcm750-pspi";
236                                 reg = <0x201000 0x1000>;
237                                 pinctrl-names = "default";
238                                 pinctrl-0 = <&pspi2_pins>;
239                                 #address-cells = <1>;
240                                 #size-cells = <0>;
241                                 interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
242                                 clocks = <&clk NPCM7XX_CLK_APB5>;
243                                 clock-names = "clk_apb5";
244                                 resets = <&rstc NPCM7XX_RESET_IPSRST2 NPCM7XX_RESET_PSPI2>;
245                                 status = "disabled";
246                         };
247
248                         timer0: timer@8000 {
249                                 compatible = "nuvoton,npcm750-timer";
250                                 interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
251                                 reg = <0x8000 0x1C>;
252                                 clocks = <&clk NPCM7XX_CLK_TIMER>;
253                         };
254
255                         watchdog0: watchdog@801C {
256                                 compatible = "nuvoton,npcm750-wdt";
257                                 interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>;
258                                 reg = <0x801C 0x4>;
259                                 status = "disabled";
260                                 clocks = <&clk NPCM7XX_CLK_TIMER>;
261                         };
262
263                         watchdog1: watchdog@901C {
264                                 compatible = "nuvoton,npcm750-wdt";
265                                 interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>;
266                                 reg = <0x901C 0x4>;
267                                 status = "disabled";
268                                 clocks = <&clk NPCM7XX_CLK_TIMER>;
269                         };
270
271                         watchdog2: watchdog@a01C {
272                                 compatible = "nuvoton,npcm750-wdt";
273                                 interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>;
274                                 reg = <0xa01C 0x4>;
275                                 status = "disabled";
276                                 clocks = <&clk NPCM7XX_CLK_TIMER>;
277                         };
278
279                         serial0: serial@1000 {
280                                 compatible = "nuvoton,npcm750-uart";
281                                 reg = <0x1000 0x1000>;
282                                 clocks = <&clk NPCM7XX_CLK_UART>, <&clk NPCM7XX_CLK_PLL2DIV2>;
283                                 interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
284                                 reg-shift = <2>;
285                                 status = "disabled";
286                         };
287
288                         serial1: serial@2000 {
289                                 compatible = "nuvoton,npcm750-uart";
290                                 reg = <0x2000 0x1000>;
291                                 clocks = <&clk NPCM7XX_CLK_UART>, <&clk NPCM7XX_CLK_PLL2DIV2>;
292                                 interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
293                                 reg-shift = <2>;
294                                 status = "disabled";
295                         };
296
297                         serial2: serial@3000 {
298                                 compatible = "nuvoton,npcm750-uart";
299                                 reg = <0x3000 0x1000>;
300                                 clocks = <&clk NPCM7XX_CLK_UART>, <&clk NPCM7XX_CLK_PLL2DIV2>;
301                                 interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
302                                 reg-shift = <2>;
303                                 status = "disabled";
304                         };
305
306                         serial3: serial@4000 {
307                                 compatible = "nuvoton,npcm750-uart";
308                                 reg = <0x4000 0x1000>;
309                                 clocks = <&clk NPCM7XX_CLK_UART>, <&clk NPCM7XX_CLK_PLL2DIV2>;
310                                 interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
311                                 reg-shift = <2>;
312                                 status = "disabled";
313                         };
314
315                         rng: rng@b000 {
316                                 compatible = "nuvoton,npcm750-rng";
317                                 reg = <0xb000 0x8>;
318                                 status = "disabled";
319                         };
320
321                         adc: adc@c000 {
322                                 compatible = "nuvoton,npcm750-adc";
323                                 reg = <0xc000 0x8>;
324                                 interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>;
325                                 clocks = <&clk NPCM7XX_CLK_ADC>;
326                                 resets = <&rstc NPCM7XX_RESET_IPSRST1 NPCM7XX_RESET_ADC>;
327                                 status = "disabled";
328                         };
329
330                         pwm_fan: pwm-fan-controller@103000 {
331                                 #address-cells = <1>;
332                                 #size-cells = <0>;
333                                 compatible = "nuvoton,npcm750-pwm-fan";
334                                 reg = <0x103000 0x2000>, <0x180000 0x8000>;
335                                 reg-names = "pwm", "fan";
336                                 clocks = <&clk NPCM7XX_CLK_APB3>,
337                                         <&clk NPCM7XX_CLK_APB4>;
338                                 clock-names = "pwm","fan";
339                                 interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>,
340                                                 <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>,
341                                                 <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>,
342                                                 <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>,
343                                                 <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>,
344                                                 <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>,
345                                                 <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>,
346                                                 <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
347                                 pinctrl-names = "default";
348                                 pinctrl-0 = <&pwm0_pins &pwm1_pins
349                                                 &pwm2_pins &pwm3_pins
350                                                 &pwm4_pins &pwm5_pins
351                                                 &pwm6_pins &pwm7_pins
352                                                 &fanin0_pins &fanin1_pins
353                                                 &fanin2_pins &fanin3_pins
354                                                 &fanin4_pins &fanin5_pins
355                                                 &fanin6_pins &fanin7_pins
356                                                 &fanin8_pins &fanin9_pins
357                                                 &fanin10_pins &fanin11_pins
358                                                 &fanin12_pins &fanin13_pins
359                                                 &fanin14_pins &fanin15_pins>;
360                                 status = "disabled";
361                         };
362
363                         i2c0: i2c@80000 {
364                                 reg = <0x80000 0x1000>;
365                                 compatible = "nuvoton,npcm750-i2c";
366                                 #address-cells = <1>;
367                                 #size-cells = <0>;
368                                 clocks = <&clk NPCM7XX_CLK_APB2>;
369                                 interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>;
370                                 pinctrl-names = "default";
371                                 pinctrl-0 = <&smb0_pins>;
372                                 status = "disabled";
373                         };
374
375                         i2c1: i2c@81000 {
376                                 reg = <0x81000 0x1000>;
377                                 compatible = "nuvoton,npcm750-i2c";
378                                 #address-cells = <1>;
379                                 #size-cells = <0>;
380                                 clocks = <&clk NPCM7XX_CLK_APB2>;
381                                 interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>;
382                                 pinctrl-names = "default";
383                                 pinctrl-0 = <&smb1_pins>;
384                                 status = "disabled";
385                         };
386
387                         i2c2: i2c@82000 {
388                                 reg = <0x82000 0x1000>;
389                                 compatible = "nuvoton,npcm750-i2c";
390                                 #address-cells = <1>;
391                                 #size-cells = <0>;
392                                 clocks = <&clk NPCM7XX_CLK_APB2>;
393                                 interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>;
394                                 pinctrl-names = "default";
395                                 pinctrl-0 = <&smb2_pins>;
396                                 status = "disabled";
397                         };
398
399                         i2c3: i2c@83000 {
400                                 reg = <0x83000 0x1000>;
401                                 compatible = "nuvoton,npcm750-i2c";
402                                 #address-cells = <1>;
403                                 #size-cells = <0>;
404                                 clocks = <&clk NPCM7XX_CLK_APB2>;
405                                 interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
406                                 pinctrl-names = "default";
407                                 pinctrl-0 = <&smb3_pins>;
408                                 status = "disabled";
409                         };
410
411                         i2c4: i2c@84000 {
412                                 reg = <0x84000 0x1000>;
413                                 compatible = "nuvoton,npcm750-i2c";
414                                 #address-cells = <1>;
415                                 #size-cells = <0>;
416                                 clocks = <&clk NPCM7XX_CLK_APB2>;
417                                 interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>;
418                                 pinctrl-names = "default";
419                                 pinctrl-0 = <&smb4_pins>;
420                                 status = "disabled";
421                         };
422
423                         i2c5: i2c@85000 {
424                                 reg = <0x85000 0x1000>;
425                                 compatible = "nuvoton,npcm750-i2c";
426                                 #address-cells = <1>;
427                                 #size-cells = <0>;
428                                 clocks = <&clk NPCM7XX_CLK_APB2>;
429                                 interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
430                                 pinctrl-names = "default";
431                                 pinctrl-0 = <&smb5_pins>;
432                                 status = "disabled";
433                         };
434
435                         i2c6: i2c@86000 {
436                                 reg = <0x86000 0x1000>;
437                                 compatible = "nuvoton,npcm750-i2c";
438                                 #address-cells = <1>;
439                                 #size-cells = <0>;
440                                 clocks = <&clk NPCM7XX_CLK_APB2>;
441                                 interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>;
442                                 pinctrl-names = "default";
443                                 pinctrl-0 = <&smb6_pins>;
444                                 status = "disabled";
445                         };
446
447                         i2c7: i2c@87000 {
448                                 reg = <0x87000 0x1000>;
449                                 compatible = "nuvoton,npcm750-i2c";
450                                 #address-cells = <1>;
451                                 #size-cells = <0>;
452                                 clocks = <&clk NPCM7XX_CLK_APB2>;
453                                 interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
454                                 pinctrl-names = "default";
455                                 pinctrl-0 = <&smb7_pins>;
456                                 status = "disabled";
457                         };
458
459                         i2c8: i2c@88000 {
460                                 reg = <0x88000 0x1000>;
461                                 compatible = "nuvoton,npcm750-i2c";
462                                 #address-cells = <1>;
463                                 #size-cells = <0>;
464                                 clocks = <&clk NPCM7XX_CLK_APB2>;
465                                 interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
466                                 pinctrl-names = "default";
467                                 pinctrl-0 = <&smb8_pins>;
468                                 status = "disabled";
469                         };
470
471                         i2c9: i2c@89000 {
472                                 reg = <0x89000 0x1000>;
473                                 compatible = "nuvoton,npcm750-i2c";
474                                 #address-cells = <1>;
475                                 #size-cells = <0>;
476                                 clocks = <&clk NPCM7XX_CLK_APB2>;
477                                 interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
478                                 pinctrl-names = "default";
479                                 pinctrl-0 = <&smb9_pins>;
480                                 status = "disabled";
481                         };
482
483                         i2c10: i2c@8a000 {
484                                 reg = <0x8a000 0x1000>;
485                                 compatible = "nuvoton,npcm750-i2c";
486                                 #address-cells = <1>;
487                                 #size-cells = <0>;
488                                 clocks = <&clk NPCM7XX_CLK_APB2>;
489                                 interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
490                                 pinctrl-names = "default";
491                                 pinctrl-0 = <&smb10_pins>;
492                                 status = "disabled";
493                         };
494
495                         i2c11: i2c@8b000 {
496                                 reg = <0x8b000 0x1000>;
497                                 compatible = "nuvoton,npcm750-i2c";
498                                 #address-cells = <1>;
499                                 #size-cells = <0>;
500                                 clocks = <&clk NPCM7XX_CLK_APB2>;
501                                 interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
502                                 pinctrl-names = "default";
503                                 pinctrl-0 = <&smb11_pins>;
504                                 status = "disabled";
505                         };
506
507                         i2c12: i2c@8c000 {
508                                 reg = <0x8c000 0x1000>;
509                                 compatible = "nuvoton,npcm750-i2c";
510                                 #address-cells = <1>;
511                                 #size-cells = <0>;
512                                 clocks = <&clk NPCM7XX_CLK_APB2>;
513                                 interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>;
514                                 pinctrl-names = "default";
515                                 pinctrl-0 = <&smb12_pins>;
516                                 status = "disabled";
517                         };
518
519                         i2c13: i2c@8d000 {
520                                 reg = <0x8d000 0x1000>;
521                                 compatible = "nuvoton,npcm750-i2c";
522                                 #address-cells = <1>;
523                                 #size-cells = <0>;
524                                 clocks = <&clk NPCM7XX_CLK_APB2>;
525                                 interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
526                                 pinctrl-names = "default";
527                                 pinctrl-0 = <&smb13_pins>;
528                                 status = "disabled";
529                         };
530
531                         i2c14: i2c@8e000 {
532                                 reg = <0x8e000 0x1000>;
533                                 compatible = "nuvoton,npcm750-i2c";
534                                 #address-cells = <1>;
535                                 #size-cells = <0>;
536                                 clocks = <&clk NPCM7XX_CLK_APB2>;
537                                 interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>;
538                                 pinctrl-names = "default";
539                                 pinctrl-0 = <&smb14_pins>;
540                                 status = "disabled";
541                         };
542
543                         i2c15: i2c@8f000 {
544                                 reg = <0x8f000 0x1000>;
545                                 compatible = "nuvoton,npcm750-i2c";
546                                 #address-cells = <1>;
547                                 #size-cells = <0>;
548                                 clocks = <&clk NPCM7XX_CLK_APB2>;
549                                 interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
550                                 pinctrl-names = "default";
551                                 pinctrl-0 = <&smb15_pins>;
552                                 status = "disabled";
553                         };
554                 };
555         };
556
557         pinctrl: pinctrl@f0800000 {
558                 #address-cells = <1>;
559                 #size-cells = <1>;
560                 compatible = "nuvoton,npcm750-pinctrl", "syscon", "simple-mfd";
561                 ranges = <0 0xf0010000 0x8000>;
562                 gpio0: gpio@f0010000 {
563                         gpio-controller;
564                         #gpio-cells = <2>;
565                         reg = <0x0 0x80>;
566                         interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>;
567                         gpio-ranges = <&pinctrl 0 0 32>;
568                 };
569                 gpio1: gpio@f0011000 {
570                         gpio-controller;
571                         #gpio-cells = <2>;
572                         reg = <0x1000 0x80>;
573                         interrupts = <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>;
574                         gpio-ranges = <&pinctrl 0 32 32>;
575                 };
576                 gpio2: gpio@f0012000 {
577                         gpio-controller;
578                         #gpio-cells = <2>;
579                         reg = <0x2000 0x80>;
580                         interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>;
581                         gpio-ranges = <&pinctrl 0 64 32>;
582                 };
583                 gpio3: gpio@f0013000 {
584                         gpio-controller;
585                         #gpio-cells = <2>;
586                         reg = <0x3000 0x80>;
587                         interrupts = <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>;
588                         gpio-ranges = <&pinctrl 0 96 32>;
589                 };
590                 gpio4: gpio@f0014000 {
591                         gpio-controller;
592                         #gpio-cells = <2>;
593                         reg = <0x4000 0x80>;
594                         interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>;
595                         gpio-ranges = <&pinctrl 0 128 32>;
596                 };
597                 gpio5: gpio@f0015000 {
598                         gpio-controller;
599                         #gpio-cells = <2>;
600                         reg = <0x5000 0x80>;
601                         interrupts = <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>;
602                         gpio-ranges = <&pinctrl 0 160 32>;
603                 };
604                 gpio6: gpio@f0016000 {
605                         gpio-controller;
606                         #gpio-cells = <2>;
607                         reg = <0x6000 0x80>;
608                         interrupts = <GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>;
609                         gpio-ranges = <&pinctrl 0 192 32>;
610                 };
611                 gpio7: gpio@f0017000 {
612                         gpio-controller;
613                         #gpio-cells = <2>;
614                         reg = <0x7000 0x80>;
615                         interrupts = <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>;
616                         gpio-ranges = <&pinctrl 0 224 32>;
617                 };
618
619                 iox1_pins: iox1-pins {
620                         groups = "iox1";
621                         function = "iox1";
622                 };
623                 iox2_pins: iox2-pins {
624                         groups = "iox2";
625                         function = "iox2";
626                 };
627                 smb1d_pins: smb1d-pins {
628                         groups = "smb1d";
629                         function = "smb1d";
630                 };
631                 smb2d_pins: smb2d-pins {
632                         groups = "smb2d";
633                         function = "smb2d";
634                 };
635                 lkgpo1_pins: lkgpo1-pins {
636                         groups = "lkgpo1";
637                         function = "lkgpo1";
638                 };
639                 lkgpo2_pins: lkgpo2-pins {
640                         groups = "lkgpo2";
641                         function = "lkgpo2";
642                 };
643                 ioxh_pins: ioxh-pins {
644                         groups = "ioxh";
645                         function = "ioxh";
646                 };
647                 gspi_pins: gspi-pins {
648                         groups = "gspi";
649                         function = "gspi";
650                 };
651                 smb5b_pins: smb5b-pins {
652                         groups = "smb5b";
653                         function = "smb5b";
654                 };
655                 smb5c_pins: smb5c-pins {
656                         groups = "smb5c";
657                         function = "smb5c";
658                 };
659                 lkgpo0_pins: lkgpo0-pins {
660                         groups = "lkgpo0";
661                         function = "lkgpo0";
662                 };
663                 pspi2_pins: pspi2-pins {
664                         groups = "pspi2";
665                         function = "pspi2";
666                 };
667                 smb4den_pins: smb4den-pins {
668                         groups = "smb4den";
669                         function = "smb4den";
670                 };
671                 smb4b_pins: smb4b-pins {
672                         groups = "smb4b";
673                         function = "smb4b";
674                 };
675                 smb4c_pins: smb4c-pins {
676                         groups = "smb4c";
677                         function = "smb4c";
678                 };
679                 smb15_pins: smb15-pins {
680                         groups = "smb15";
681                         function = "smb15";
682                 };
683                 smb4d_pins: smb4d-pins {
684                         groups = "smb4d";
685                         function = "smb4d";
686                 };
687                 smb14_pins: smb14-pins {
688                         groups = "smb14";
689                         function = "smb14";
690                 };
691                 smb5_pins: smb5-pins {
692                         groups = "smb5";
693                         function = "smb5";
694                 };
695                 smb4_pins: smb4-pins {
696                         groups = "smb4";
697                         function = "smb4";
698                 };
699                 smb3_pins: smb3-pins {
700                         groups = "smb3";
701                         function = "smb3";
702                 };
703                 spi0cs1_pins: spi0cs1-pins {
704                         groups = "spi0cs1";
705                         function = "spi0cs1";
706                 };
707                 spi0cs2_pins: spi0cs2-pins {
708                         groups = "spi0cs2";
709                         function = "spi0cs2";
710                 };
711                 spi0cs3_pins: spi0cs3-pins {
712                         groups = "spi0cs3";
713                         function = "spi0cs3";
714                 };
715                 smb3c_pins: smb3c-pins {
716                         groups = "smb3c";
717                         function = "smb3c";
718                 };
719                 smb3b_pins: smb3b-pins {
720                         groups = "smb3b";
721                         function = "smb3b";
722                 };
723                 bmcuart0a_pins: bmcuart0a-pins {
724                         groups = "bmcuart0a";
725                         function = "bmcuart0a";
726                 };
727                 uart1_pins: uart1-pins {
728                         groups = "uart1";
729                         function = "uart1";
730                 };
731                 jtag2_pins: jtag2-pins {
732                         groups = "jtag2";
733                         function = "jtag2";
734                 };
735                 bmcuart1_pins: bmcuart1-pins {
736                         groups = "bmcuart1";
737                         function = "bmcuart1";
738                 };
739                 uart2_pins: uart2-pins {
740                         groups = "uart2";
741                         function = "uart2";
742                 };
743                 bmcuart0b_pins: bmcuart0b-pins {
744                         groups = "bmcuart0b";
745                         function = "bmcuart0b";
746                 };
747                 r1err_pins: r1err-pins {
748                         groups = "r1err";
749                         function = "r1err";
750                 };
751                 r1md_pins: r1md-pins {
752                         groups = "r1md";
753                         function = "r1md";
754                 };
755                 smb3d_pins: smb3d-pins {
756                         groups = "smb3d";
757                         function = "smb3d";
758                 };
759                 fanin0_pins: fanin0-pins {
760                         groups = "fanin0";
761                         function = "fanin0";
762                 };
763                 fanin1_pins: fanin1-pins {
764                         groups = "fanin1";
765                         function = "fanin1";
766                 };
767                 fanin2_pins: fanin2-pins {
768                         groups = "fanin2";
769                         function = "fanin2";
770                 };
771                 fanin3_pins: fanin3-pins {
772                         groups = "fanin3";
773                         function = "fanin3";
774                 };
775                 fanin4_pins: fanin4-pins {
776                         groups = "fanin4";
777                         function = "fanin4";
778                 };
779                 fanin5_pins: fanin5-pins {
780                         groups = "fanin5";
781                         function = "fanin5";
782                 };
783                 fanin6_pins: fanin6-pins {
784                         groups = "fanin6";
785                         function = "fanin6";
786                 };
787                 fanin7_pins: fanin7-pins {
788                         groups = "fanin7";
789                         function = "fanin7";
790                 };
791                 fanin8_pins: fanin8-pins {
792                         groups = "fanin8";
793                         function = "fanin8";
794                 };
795                 fanin9_pins: fanin9-pins {
796                         groups = "fanin9";
797                         function = "fanin9";
798                 };
799                 fanin10_pins: fanin10-pins {
800                         groups = "fanin10";
801                         function = "fanin10";
802                 };
803                 fanin11_pins: fanin11-pins {
804                         groups = "fanin11";
805                         function = "fanin11";
806                 };
807                 fanin12_pins: fanin12-pins {
808                         groups = "fanin12";
809                         function = "fanin12";
810                 };
811                 fanin13_pins: fanin13-pins {
812                         groups = "fanin13";
813                         function = "fanin13";
814                 };
815                 fanin14_pins: fanin14-pins {
816                         groups = "fanin14";
817                         function = "fanin14";
818                 };
819                 fanin15_pins: fanin15-pins {
820                         groups = "fanin15";
821                         function = "fanin15";
822                 };
823                 pwm0_pins: pwm0-pins {
824                         groups = "pwm0";
825                         function = "pwm0";
826                 };
827                 pwm1_pins: pwm1-pins {
828                         groups = "pwm1";
829                         function = "pwm1";
830                 };
831                 pwm2_pins: pwm2-pins {
832                         groups = "pwm2";
833                         function = "pwm2";
834                 };
835                 pwm3_pins: pwm3-pins {
836                         groups = "pwm3";
837                         function = "pwm3";
838                 };
839                 r2_pins: r2-pins {
840                         groups = "r2";
841                         function = "r2";
842                 };
843                 r2err_pins: r2err-pins {
844                         groups = "r2err";
845                         function = "r2err";
846                 };
847                 r2md_pins: r2md-pins {
848                         groups = "r2md";
849                         function = "r2md";
850                 };
851                 ga20kbc_pins: ga20kbc-pins {
852                         groups = "ga20kbc";
853                         function = "ga20kbc";
854                 };
855                 smb5d_pins: smb5d-pins {
856                         groups = "smb5d";
857                         function = "smb5d";
858                 };
859                 lpc_pins: lpc-pins {
860                         groups = "lpc";
861                         function = "lpc";
862                 };
863                 espi_pins: espi-pins {
864                         groups = "espi";
865                         function = "espi";
866                 };
867                 rg1_pins: rg1-pins {
868                         groups = "rg1";
869                         function = "rg1";
870                 };
871                 rg1mdio_pins: rg1mdio-pins {
872                         groups = "rg1mdio";
873                         function = "rg1mdio";
874                 };
875                 rg2_pins: rg2-pins {
876                         groups = "rg2";
877                         function = "rg2";
878                 };
879                 ddr_pins: ddr-pins {
880                         groups = "ddr";
881                         function = "ddr";
882                 };
883                 smb0_pins: smb0-pins {
884                         groups = "smb0";
885                         function = "smb0";
886                 };
887                 smb1_pins: smb1-pins {
888                         groups = "smb1";
889                         function = "smb1";
890                 };
891                 smb2_pins: smb2-pins {
892                         groups = "smb2";
893                         function = "smb2";
894                 };
895                 smb2c_pins: smb2c-pins {
896                         groups = "smb2c";
897                         function = "smb2c";
898                 };
899                 smb2b_pins: smb2b-pins {
900                         groups = "smb2b";
901                         function = "smb2b";
902                 };
903                 smb1c_pins: smb1c-pins {
904                         groups = "smb1c";
905                         function = "smb1c";
906                 };
907                 smb1b_pins: smb1b-pins {
908                         groups = "smb1b";
909                         function = "smb1b";
910                 };
911                 smb8_pins: smb8-pins {
912                         groups = "smb8";
913                         function = "smb8";
914                 };
915                 smb9_pins: smb9-pins {
916                         groups = "smb9";
917                         function = "smb9";
918                 };
919                 smb10_pins: smb10-pins {
920                         groups = "smb10";
921                         function = "smb10";
922                 };
923                 smb11_pins: smb11-pins {
924                         groups = "smb11";
925                         function = "smb11";
926                 };
927                 sd1_pins: sd1-pins {
928                         groups = "sd1";
929                         function = "sd1";
930                 };
931                 sd1pwr_pins: sd1pwr-pins {
932                         groups = "sd1pwr";
933                         function = "sd1pwr";
934                 };
935                 pwm4_pins: pwm4-pins {
936                         groups = "pwm4";
937                         function = "pwm4";
938                 };
939                 pwm5_pins: pwm5-pins {
940                         groups = "pwm5";
941                         function = "pwm5";
942                 };
943                 pwm6_pins: pwm6-pins {
944                         groups = "pwm6";
945                         function = "pwm6";
946                 };
947                 pwm7_pins: pwm7-pins {
948                         groups = "pwm7";
949                         function = "pwm7";
950                 };
951                 mmc8_pins: mmc8-pins {
952                         groups = "mmc8";
953                         function = "mmc8";
954                 };
955                 mmc_pins: mmc-pins {
956                         groups = "mmc";
957                         function = "mmc";
958                 };
959                 mmcwp_pins: mmcwp-pins {
960                         groups = "mmcwp";
961                         function = "mmcwp";
962                 };
963                 mmccd_pins: mmccd-pins {
964                         groups = "mmccd";
965                         function = "mmccd";
966                 };
967                 mmcrst_pins: mmcrst-pins {
968                         groups = "mmcrst";
969                         function = "mmcrst";
970                 };
971                 clkout_pins: clkout-pins {
972                         groups = "clkout";
973                         function = "clkout";
974                 };
975                 serirq_pins: serirq-pins {
976                         groups = "serirq";
977                         function = "serirq";
978                 };
979                 lpcclk_pins: lpcclk-pins {
980                         groups = "lpcclk";
981                         function = "lpcclk";
982                 };
983                 scipme_pins: scipme-pins {
984                         groups = "scipme";
985                         function = "scipme";
986                 };
987                 sci_pins: sci-pins {
988                         groups = "sci";
989                         function = "sci";
990                 };
991                 smb6_pins: smb6-pins {
992                         groups = "smb6";
993                         function = "smb6";
994                 };
995                 smb7_pins: smb7-pins {
996                         groups = "smb7";
997                         function = "smb7";
998                 };
999                 pspi1_pins: pspi1-pins {
1000                         groups = "pspi1";
1001                         function = "pspi1";
1002                 };
1003                 faninx_pins: faninx-pins {
1004                         groups = "faninx";
1005                         function = "faninx";
1006                 };
1007                 r1_pins: r1-pins {
1008                         groups = "r1";
1009                         function = "r1";
1010                 };
1011                 spi3_pins: spi3-pins {
1012                         groups = "spi3";
1013                         function = "spi3";
1014                 };
1015                 spi3cs1_pins: spi3cs1-pins {
1016                         groups = "spi3cs1";
1017                         function = "spi3cs1";
1018                 };
1019                 spi3quad_pins: spi3quad-pins {
1020                         groups = "spi3quad";
1021                         function = "spi3quad";
1022                 };
1023                 spi3cs2_pins: spi3cs2-pins {
1024                         groups = "spi3cs2";
1025                         function = "spi3cs2";
1026                 };
1027                 spi3cs3_pins: spi3cs3-pins {
1028                         groups = "spi3cs3";
1029                         function = "spi3cs3";
1030                 };
1031                 nprd_smi_pins: nprd-smi-pins {
1032                         groups = "nprd_smi";
1033                         function = "nprd_smi";
1034                 };
1035                 smb0b_pins: smb0b-pins {
1036                         groups = "smb0b";
1037                         function = "smb0b";
1038                 };
1039                 smb0c_pins: smb0c-pins {
1040                         groups = "smb0c";
1041                         function = "smb0c";
1042                 };
1043                 smb0den_pins: smb0den-pins {
1044                         groups = "smb0den";
1045                         function = "smb0den";
1046                 };
1047                 smb0d_pins: smb0d-pins {
1048                         groups = "smb0d";
1049                         function = "smb0d";
1050                 };
1051                 ddc_pins: ddc-pins {
1052                         groups = "ddc";
1053                         function = "ddc";
1054                 };
1055                 rg2mdio_pins: rg2mdio-pins {
1056                         groups = "rg2mdio";
1057                         function = "rg2mdio";
1058                 };
1059                 wdog1_pins: wdog1-pins {
1060                         groups = "wdog1";
1061                         function = "wdog1";
1062                 };
1063                 wdog2_pins: wdog2-pins {
1064                         groups = "wdog2";
1065                         function = "wdog2";
1066                 };
1067                 smb12_pins: smb12-pins {
1068                         groups = "smb12";
1069                         function = "smb12";
1070                 };
1071                 smb13_pins: smb13-pins {
1072                         groups = "smb13";
1073                         function = "smb13";
1074                 };
1075                 spix_pins: spix-pins {
1076                         groups = "spix";
1077                         function = "spix";
1078                 };
1079                 spixcs1_pins: spixcs1-pins {
1080                         groups = "spixcs1";
1081                         function = "spixcs1";
1082                 };
1083                 clkreq_pins: clkreq-pins {
1084                         groups = "clkreq";
1085                         function = "clkreq";
1086                 };
1087                 hgpio0_pins: hgpio0-pins {
1088                         groups = "hgpio0";
1089                         function = "hgpio0";
1090                 };
1091                 hgpio1_pins: hgpio1-pins {
1092                         groups = "hgpio1";
1093                         function = "hgpio1";
1094                 };
1095                 hgpio2_pins: hgpio2-pins {
1096                         groups = "hgpio2";
1097                         function = "hgpio2";
1098                 };
1099                 hgpio3_pins: hgpio3-pins {
1100                         groups = "hgpio3";
1101                         function = "hgpio3";
1102                 };
1103                 hgpio4_pins: hgpio4-pins {
1104                         groups = "hgpio4";
1105                         function = "hgpio4";
1106                 };
1107                 hgpio5_pins: hgpio5-pins {
1108                         groups = "hgpio5";
1109                         function = "hgpio5";
1110                 };
1111                 hgpio6_pins: hgpio6-pins {
1112                         groups = "hgpio6";
1113                         function = "hgpio6";
1114                 };
1115                 hgpio7_pins: hgpio7-pins {
1116                         groups = "hgpio7";
1117                         function = "hgpio7";
1118                 };
1119         };
1120 };