]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/gnu/dts/arm/aspeed-g4.dtsi
MFC r358430, r359934-r359936, r359939, r359969, r360093
[FreeBSD/FreeBSD.git] / sys / gnu / dts / arm / aspeed-g4.dtsi
1 // SPDX-License-Identifier: GPL-2.0+
2 #include <dt-bindings/clock/aspeed-clock.h>
3
4 / {
5         model = "Aspeed BMC";
6         compatible = "aspeed,ast2400";
7         #address-cells = <1>;
8         #size-cells = <1>;
9         interrupt-parent = <&vic>;
10
11         aliases {
12                 i2c0 = &i2c0;
13                 i2c1 = &i2c1;
14                 i2c2 = &i2c2;
15                 i2c3 = &i2c3;
16                 i2c4 = &i2c4;
17                 i2c5 = &i2c5;
18                 i2c6 = &i2c6;
19                 i2c7 = &i2c7;
20                 i2c8 = &i2c8;
21                 i2c9 = &i2c9;
22                 i2c10 = &i2c10;
23                 i2c11 = &i2c11;
24                 i2c12 = &i2c12;
25                 i2c13 = &i2c13;
26                 serial0 = &uart1;
27                 serial1 = &uart2;
28                 serial2 = &uart3;
29                 serial3 = &uart4;
30                 serial4 = &uart5;
31                 serial5 = &vuart;
32         };
33
34         cpus {
35                 #address-cells = <1>;
36                 #size-cells = <0>;
37
38                 cpu@0 {
39                         compatible = "arm,arm926ej-s";
40                         device_type = "cpu";
41                         reg = <0>;
42                 };
43         };
44
45         memory@40000000 {
46                 device_type = "memory";
47                 reg = <0x40000000 0>;
48         };
49
50         ahb {
51                 compatible = "simple-bus";
52                 #address-cells = <1>;
53                 #size-cells = <1>;
54                 ranges;
55
56                 fmc: spi@1e620000 {
57                         reg = < 0x1e620000 0x94
58                                 0x20000000 0x10000000 >;
59                         #address-cells = <1>;
60                         #size-cells = <0>;
61                         compatible = "aspeed,ast2400-fmc";
62                         clocks = <&syscon ASPEED_CLK_AHB>;
63                         status = "disabled";
64                         interrupts = <19>;
65                         flash@0 {
66                                 reg = < 0 >;
67                                 compatible = "jedec,spi-nor";
68                                 spi-max-frequency = <50000000>;
69                                 status = "disabled";
70                         };
71                         flash@1 {
72                                 reg = < 1 >;
73                                 compatible = "jedec,spi-nor";
74                                 status = "disabled";
75                         };
76                         flash@2 {
77                                 reg = < 2 >;
78                                 compatible = "jedec,spi-nor";
79                                 status = "disabled";
80                         };
81                         flash@3 {
82                                 reg = < 3 >;
83                                 compatible = "jedec,spi-nor";
84                                 status = "disabled";
85                         };
86                         flash@4 {
87                                 reg = < 4 >;
88                                 compatible = "jedec,spi-nor";
89                                 status = "disabled";
90                         };
91                 };
92
93                 spi: spi@1e630000 {
94                         reg = < 0x1e630000 0x18
95                                 0x30000000 0x10000000 >;
96                         #address-cells = <1>;
97                         #size-cells = <0>;
98                         compatible = "aspeed,ast2400-spi";
99                         clocks = <&syscon ASPEED_CLK_AHB>;
100                         status = "disabled";
101                         flash@0 {
102                                 reg = < 0 >;
103                                 compatible = "jedec,spi-nor";
104                                 spi-max-frequency = <50000000>;
105                                 status = "disabled";
106                         };
107                 };
108
109                 vic: interrupt-controller@1e6c0080 {
110                         compatible = "aspeed,ast2400-vic";
111                         interrupt-controller;
112                         #interrupt-cells = <1>;
113                         valid-sources = <0xffffffff 0x0007ffff>;
114                         reg = <0x1e6c0080 0x80>;
115                 };
116
117                 cvic: copro-interrupt-controller@1e6c2000 {
118                         compatible = "aspeed,ast2400-cvic", "aspeed-cvic";
119                         valid-sources = <0x7fffffff>;
120                         reg = <0x1e6c2000 0x80>;
121                 };
122
123                 mac0: ethernet@1e660000 {
124                         compatible = "aspeed,ast2400-mac", "faraday,ftgmac100";
125                         reg = <0x1e660000 0x180>;
126                         interrupts = <2>;
127                         clocks = <&syscon ASPEED_CLK_GATE_MAC1CLK>;
128                         status = "disabled";
129                 };
130
131                 mac1: ethernet@1e680000 {
132                         compatible = "aspeed,ast2400-mac", "faraday,ftgmac100";
133                         reg = <0x1e680000 0x180>;
134                         interrupts = <3>;
135                         clocks = <&syscon ASPEED_CLK_GATE_MAC2CLK>;
136                         status = "disabled";
137                 };
138
139                 ehci0: usb@1e6a1000 {
140                         compatible = "aspeed,ast2400-ehci", "generic-ehci";
141                         reg = <0x1e6a1000 0x100>;
142                         interrupts = <5>;
143                         clocks = <&syscon ASPEED_CLK_GATE_USBPORT1CLK>;
144                         pinctrl-names = "default";
145                         pinctrl-0 = <&pinctrl_usb2h_default>;
146                         status = "disabled";
147                 };
148
149                 uhci: usb@1e6b0000 {
150                         compatible = "aspeed,ast2400-uhci", "generic-uhci";
151                         reg = <0x1e6b0000 0x100>;
152                         interrupts = <14>;
153                         #ports = <3>;
154                         clocks = <&syscon ASPEED_CLK_GATE_USBUHCICLK>;
155                         status = "disabled";
156                         /*
157                          * No default pinmux, it will follow EHCI, use an explicit pinmux
158                          * override if you don't enable EHCI
159                          */
160                 };
161
162                 vhub: usb-vhub@1e6a0000 {
163                         compatible = "aspeed,ast2400-usb-vhub";
164                         reg = <0x1e6a0000 0x300>;
165                         interrupts = <5>;
166                         clocks = <&syscon ASPEED_CLK_GATE_USBPORT1CLK>;
167                         pinctrl-names = "default";
168                         pinctrl-0 = <&pinctrl_usb2d_default>;
169                         status = "disabled";
170                 };
171
172                 apb {
173                         compatible = "simple-bus";
174                         #address-cells = <1>;
175                         #size-cells = <1>;
176                         ranges;
177
178                         syscon: syscon@1e6e2000 {
179                                 compatible = "aspeed,ast2400-scu", "syscon", "simple-mfd";
180                                 reg = <0x1e6e2000 0x1a8>;
181                                 #address-cells = <1>;
182                                 #size-cells = <1>;
183                                 ranges = <0 0x1e6e2000 0x1000>;
184                                 #clock-cells = <1>;
185                                 #reset-cells = <1>;
186
187                                 p2a: p2a-control@2c {
188                                         reg = <0x2c 0x4>;
189                                         compatible = "aspeed,ast2400-p2a-ctrl";
190                                         status = "disabled";
191                                 };
192
193                                 pinctrl: pinctrl@80 {
194                                         reg = <0x80 0x18>, <0xa0 0x10>;
195                                         compatible = "aspeed,ast2400-pinctrl";
196                                 };
197                         };
198
199                         rng: hwrng@1e6e2078 {
200                                 compatible = "timeriomem_rng";
201                                 reg = <0x1e6e2078 0x4>;
202                                 period = <1>;
203                                 quality = <100>;
204                         };
205
206                         adc: adc@1e6e9000 {
207                                 compatible = "aspeed,ast2400-adc";
208                                 reg = <0x1e6e9000 0xb0>;
209                                 clocks = <&syscon ASPEED_CLK_APB>;
210                                 resets = <&syscon ASPEED_RESET_ADC>;
211                                 #io-channel-cells = <1>;
212                                 status = "disabled";
213                         };
214
215                         sram: sram@1e720000 {
216                                 compatible = "mmio-sram";
217                                 reg = <0x1e720000 0x8000>;      // 32K
218                         };
219
220                         sdmmc: sd-controller@1e740000 {
221                                 compatible = "aspeed,ast2400-sd-controller";
222                                 reg = <0x1e740000 0x100>;
223                                 #address-cells = <1>;
224                                 #size-cells = <1>;
225                                 ranges = <0 0x1e740000 0x10000>;
226                                 clocks = <&syscon ASPEED_CLK_GATE_SDCLK>;
227                                 status = "disabled";
228
229                                 sdhci0: sdhci@100 {
230                                         compatible = "aspeed,ast2400-sdhci";
231                                         reg = <0x100 0x100>;
232                                         interrupts = <26>;
233                                         sdhci,auto-cmd12;
234                                         clocks = <&syscon ASPEED_CLK_SDIO>;
235                                         status = "disabled";
236                                 };
237
238                                 sdhci1: sdhci@200 {
239                                         compatible = "aspeed,ast2400-sdhci";
240                                         reg = <0x200 0x100>;
241                                         interrupts = <26>;
242                                         sdhci,auto-cmd12;
243                                         clocks = <&syscon ASPEED_CLK_SDIO>;
244                                         status = "disabled";
245                                 };
246                         };
247
248                         gpio: gpio@1e780000 {
249                                 #gpio-cells = <2>;
250                                 gpio-controller;
251                                 compatible = "aspeed,ast2400-gpio";
252                                 reg = <0x1e780000 0x1000>;
253                                 interrupts = <20>;
254                                 gpio-ranges = <&pinctrl 0 0 220>;
255                                 clocks = <&syscon ASPEED_CLK_APB>;
256                                 interrupt-controller;
257                                 #interrupt-cells = <2>;
258                         };
259
260                         timer: timer@1e782000 {
261                                 /* This timer is a Faraday FTTMR010 derivative */
262                                 compatible = "aspeed,ast2400-timer";
263                                 reg = <0x1e782000 0x90>;
264                                 interrupts = <16 17 18 35 36 37 38 39>;
265                                 clocks = <&syscon ASPEED_CLK_APB>;
266                                 clock-names = "PCLK";
267                         };
268
269                         rtc: rtc@1e781000 {
270                                 compatible = "aspeed,ast2400-rtc";
271                                 reg = <0x1e781000 0x18>;
272                                 status = "disabled";
273                         };
274
275                         uart1: serial@1e783000 {
276                                 compatible = "ns16550a";
277                                 reg = <0x1e783000 0x20>;
278                                 reg-shift = <2>;
279                                 interrupts = <9>;
280                                 clocks = <&syscon ASPEED_CLK_GATE_UART1CLK>;
281                                 resets = <&lpc_reset 4>;
282                                 no-loopback-test;
283                                 status = "disabled";
284                         };
285
286                         uart5: serial@1e784000 {
287                                 compatible = "ns16550a";
288                                 reg = <0x1e784000 0x20>;
289                                 reg-shift = <2>;
290                                 interrupts = <10>;
291                                 clocks = <&syscon ASPEED_CLK_GATE_UART5CLK>;
292                                 no-loopback-test;
293                                 status = "disabled";
294                         };
295
296                         wdt1: watchdog@1e785000 {
297                                 compatible = "aspeed,ast2400-wdt";
298                                 reg = <0x1e785000 0x1c>;
299                                 clocks = <&syscon ASPEED_CLK_APB>;
300                         };
301
302                         wdt2: watchdog@1e785020 {
303                                 compatible = "aspeed,ast2400-wdt";
304                                 reg = <0x1e785020 0x1c>;
305                                 clocks = <&syscon ASPEED_CLK_APB>;
306                         };
307
308                         pwm_tacho: pwm-tacho-controller@1e786000 {
309                                 compatible = "aspeed,ast2400-pwm-tacho";
310                                 #address-cells = <1>;
311                                 #size-cells = <0>;
312                                 reg = <0x1e786000 0x1000>;
313                                 clocks = <&syscon ASPEED_CLK_24M>;
314                                 resets = <&syscon ASPEED_RESET_PWM>;
315                                 status = "disabled";
316                         };
317
318                         vuart: serial@1e787000 {
319                                 compatible = "aspeed,ast2400-vuart";
320                                 reg = <0x1e787000 0x40>;
321                                 reg-shift = <2>;
322                                 interrupts = <8>;
323                                 clocks = <&syscon ASPEED_CLK_APB>;
324                                 no-loopback-test;
325                                 status = "disabled";
326                         };
327
328                         lpc: lpc@1e789000 {
329                                 compatible = "aspeed,ast2400-lpc", "simple-mfd";
330                                 reg = <0x1e789000 0x1000>;
331
332                                 #address-cells = <1>;
333                                 #size-cells = <1>;
334                                 ranges = <0x0 0x1e789000 0x1000>;
335
336                                 lpc_bmc: lpc-bmc@0 {
337                                         compatible = "aspeed,ast2400-lpc-bmc";
338                                         reg = <0x0 0x80>;
339                                 };
340
341                                 lpc_host: lpc-host@80 {
342                                         compatible = "aspeed,ast2400-lpc-host", "simple-mfd", "syscon";
343                                         reg = <0x80 0x1e0>;
344                                         reg-io-width = <4>;
345
346                                         #address-cells = <1>;
347                                         #size-cells = <1>;
348                                         ranges = <0x0 0x80 0x1e0>;
349
350                                         lpc_ctrl: lpc-ctrl@0 {
351                                                 compatible = "aspeed,ast2400-lpc-ctrl";
352                                                 reg = <0x0 0x10>;
353                                                 clocks = <&syscon ASPEED_CLK_GATE_LCLK>;
354                                                 status = "disabled";
355                                         };
356
357                                         lpc_snoop: lpc-snoop@10 {
358                                                 compatible = "aspeed,ast2400-lpc-snoop";
359                                                 reg = <0x10 0x8>;
360                                                 interrupts = <8>;
361                                                 status = "disabled";
362                                         };
363
364                                         lhc: lhc@20 {
365                                                 compatible = "aspeed,ast2400-lhc";
366                                                 reg = <0x20 0x24 0x48 0x8>;
367                                         };
368
369                                         lpc_reset: reset-controller@18 {
370                                                 compatible = "aspeed,ast2400-lpc-reset";
371                                                 reg = <0x18 0x4>;
372                                                 #reset-cells = <1>;
373                                         };
374
375                                         ibt: ibt@c0  {
376                                                 compatible = "aspeed,ast2400-ibt-bmc";
377                                                 reg = <0xc0 0x18>;
378                                                 interrupts = <8>;
379                                                 status = "disabled";
380                                         };
381                                 };
382                         };
383
384                         uart2: serial@1e78d000 {
385                                 compatible = "ns16550a";
386                                 reg = <0x1e78d000 0x20>;
387                                 reg-shift = <2>;
388                                 interrupts = <32>;
389                                 clocks = <&syscon ASPEED_CLK_GATE_UART2CLK>;
390                                 resets = <&lpc_reset 5>;
391                                 no-loopback-test;
392                                 status = "disabled";
393                         };
394
395                         uart3: serial@1e78e000 {
396                                 compatible = "ns16550a";
397                                 reg = <0x1e78e000 0x20>;
398                                 reg-shift = <2>;
399                                 interrupts = <33>;
400                                 clocks = <&syscon ASPEED_CLK_GATE_UART3CLK>;
401                                 resets = <&lpc_reset 6>;
402                                 no-loopback-test;
403                                 status = "disabled";
404                         };
405
406                         uart4: serial@1e78f000 {
407                                 compatible = "ns16550a";
408                                 reg = <0x1e78f000 0x20>;
409                                 reg-shift = <2>;
410                                 interrupts = <34>;
411                                 clocks = <&syscon ASPEED_CLK_GATE_UART4CLK>;
412                                 resets = <&lpc_reset 7>;
413                                 no-loopback-test;
414                                 status = "disabled";
415                         };
416
417                         i2c: bus@1e78a000 {
418                                 compatible = "simple-bus";
419                                 #address-cells = <1>;
420                                 #size-cells = <1>;
421                                 ranges = <0 0x1e78a000 0x1000>;
422                         };
423                 };
424         };
425 };
426
427 &i2c {
428         i2c_ic: interrupt-controller@0 {
429                 #interrupt-cells = <1>;
430                 compatible = "aspeed,ast2400-i2c-ic";
431                 reg = <0x0 0x40>;
432                 interrupts = <12>;
433                 interrupt-controller;
434         };
435
436         i2c0: i2c-bus@40 {
437                 #address-cells = <1>;
438                 #size-cells = <0>;
439                 #interrupt-cells = <1>;
440
441                 reg = <0x40 0x40>;
442                 compatible = "aspeed,ast2400-i2c-bus";
443                 clocks = <&syscon ASPEED_CLK_APB>;
444                 resets = <&syscon ASPEED_RESET_I2C>;
445                 bus-frequency = <100000>;
446                 interrupts = <0>;
447                 interrupt-parent = <&i2c_ic>;
448                 status = "disabled";
449                 /* Does not need pinctrl properties */
450         };
451
452         i2c1: i2c-bus@80 {
453                 #address-cells = <1>;
454                 #size-cells = <0>;
455                 #interrupt-cells = <1>;
456
457                 reg = <0x80 0x40>;
458                 compatible = "aspeed,ast2400-i2c-bus";
459                 clocks = <&syscon ASPEED_CLK_APB>;
460                 resets = <&syscon ASPEED_RESET_I2C>;
461                 bus-frequency = <100000>;
462                 interrupts = <1>;
463                 interrupt-parent = <&i2c_ic>;
464                 status = "disabled";
465                 /* Does not need pinctrl properties */
466         };
467
468         i2c2: i2c-bus@c0 {
469                 #address-cells = <1>;
470                 #size-cells = <0>;
471                 #interrupt-cells = <1>;
472
473                 reg = <0xc0 0x40>;
474                 compatible = "aspeed,ast2400-i2c-bus";
475                 clocks = <&syscon ASPEED_CLK_APB>;
476                 resets = <&syscon ASPEED_RESET_I2C>;
477                 bus-frequency = <100000>;
478                 interrupts = <2>;
479                 interrupt-parent = <&i2c_ic>;
480                 pinctrl-names = "default";
481                 pinctrl-0 = <&pinctrl_i2c3_default>;
482                 status = "disabled";
483         };
484
485         i2c3: i2c-bus@100 {
486                 #address-cells = <1>;
487                 #size-cells = <0>;
488                 #interrupt-cells = <1>;
489
490                 reg = <0x100 0x40>;
491                 compatible = "aspeed,ast2400-i2c-bus";
492                 clocks = <&syscon ASPEED_CLK_APB>;
493                 resets = <&syscon ASPEED_RESET_I2C>;
494                 bus-frequency = <100000>;
495                 interrupts = <3>;
496                 interrupt-parent = <&i2c_ic>;
497                 pinctrl-names = "default";
498                 pinctrl-0 = <&pinctrl_i2c4_default>;
499                 status = "disabled";
500         };
501
502         i2c4: i2c-bus@140 {
503                 #address-cells = <1>;
504                 #size-cells = <0>;
505                 #interrupt-cells = <1>;
506
507                 reg = <0x140 0x40>;
508                 compatible = "aspeed,ast2400-i2c-bus";
509                 clocks = <&syscon ASPEED_CLK_APB>;
510                 resets = <&syscon ASPEED_RESET_I2C>;
511                 bus-frequency = <100000>;
512                 interrupts = <4>;
513                 interrupt-parent = <&i2c_ic>;
514                 pinctrl-names = "default";
515                 pinctrl-0 = <&pinctrl_i2c5_default>;
516                 status = "disabled";
517         };
518
519         i2c5: i2c-bus@180 {
520                 #address-cells = <1>;
521                 #size-cells = <0>;
522                 #interrupt-cells = <1>;
523
524                 reg = <0x180 0x40>;
525                 compatible = "aspeed,ast2400-i2c-bus";
526                 clocks = <&syscon ASPEED_CLK_APB>;
527                 resets = <&syscon ASPEED_RESET_I2C>;
528                 bus-frequency = <100000>;
529                 interrupts = <5>;
530                 interrupt-parent = <&i2c_ic>;
531                 pinctrl-names = "default";
532                 pinctrl-0 = <&pinctrl_i2c6_default>;
533                 status = "disabled";
534         };
535
536         i2c6: i2c-bus@1c0 {
537                 #address-cells = <1>;
538                 #size-cells = <0>;
539                 #interrupt-cells = <1>;
540
541                 reg = <0x1c0 0x40>;
542                 compatible = "aspeed,ast2400-i2c-bus";
543                 clocks = <&syscon ASPEED_CLK_APB>;
544                 resets = <&syscon ASPEED_RESET_I2C>;
545                 bus-frequency = <100000>;
546                 interrupts = <6>;
547                 interrupt-parent = <&i2c_ic>;
548                 pinctrl-names = "default";
549                 pinctrl-0 = <&pinctrl_i2c7_default>;
550                 status = "disabled";
551         };
552
553         i2c7: i2c-bus@300 {
554                 #address-cells = <1>;
555                 #size-cells = <0>;
556                 #interrupt-cells = <1>;
557
558                 reg = <0x300 0x40>;
559                 compatible = "aspeed,ast2400-i2c-bus";
560                 clocks = <&syscon ASPEED_CLK_APB>;
561                 resets = <&syscon ASPEED_RESET_I2C>;
562                 bus-frequency = <100000>;
563                 interrupts = <7>;
564                 interrupt-parent = <&i2c_ic>;
565                 pinctrl-names = "default";
566                 pinctrl-0 = <&pinctrl_i2c8_default>;
567                 status = "disabled";
568         };
569
570         i2c8: i2c-bus@340 {
571                 #address-cells = <1>;
572                 #size-cells = <0>;
573                 #interrupt-cells = <1>;
574
575                 reg = <0x340 0x40>;
576                 compatible = "aspeed,ast2400-i2c-bus";
577                 clocks = <&syscon ASPEED_CLK_APB>;
578                 resets = <&syscon ASPEED_RESET_I2C>;
579                 bus-frequency = <100000>;
580                 interrupts = <8>;
581                 interrupt-parent = <&i2c_ic>;
582                 pinctrl-names = "default";
583                 pinctrl-0 = <&pinctrl_i2c9_default>;
584                 status = "disabled";
585         };
586
587         i2c9: i2c-bus@380 {
588                 #address-cells = <1>;
589                 #size-cells = <0>;
590                 #interrupt-cells = <1>;
591
592                 reg = <0x380 0x40>;
593                 compatible = "aspeed,ast2400-i2c-bus";
594                 clocks = <&syscon ASPEED_CLK_APB>;
595                 resets = <&syscon ASPEED_RESET_I2C>;
596                 bus-frequency = <100000>;
597                 interrupts = <9>;
598                 interrupt-parent = <&i2c_ic>;
599                 pinctrl-names = "default";
600                 pinctrl-0 = <&pinctrl_i2c10_default>;
601                 status = "disabled";
602         };
603
604         i2c10: i2c-bus@3c0 {
605                 #address-cells = <1>;
606                 #size-cells = <0>;
607                 #interrupt-cells = <1>;
608
609                 reg = <0x3c0 0x40>;
610                 compatible = "aspeed,ast2400-i2c-bus";
611                 clocks = <&syscon ASPEED_CLK_APB>;
612                 resets = <&syscon ASPEED_RESET_I2C>;
613                 bus-frequency = <100000>;
614                 interrupts = <10>;
615                 interrupt-parent = <&i2c_ic>;
616                 pinctrl-names = "default";
617                 pinctrl-0 = <&pinctrl_i2c11_default>;
618                 status = "disabled";
619         };
620
621         i2c11: i2c-bus@400 {
622                 #address-cells = <1>;
623                 #size-cells = <0>;
624                 #interrupt-cells = <1>;
625
626                 reg = <0x400 0x40>;
627                 compatible = "aspeed,ast2400-i2c-bus";
628                 clocks = <&syscon ASPEED_CLK_APB>;
629                 resets = <&syscon ASPEED_RESET_I2C>;
630                 bus-frequency = <100000>;
631                 interrupts = <11>;
632                 interrupt-parent = <&i2c_ic>;
633                 pinctrl-names = "default";
634                 pinctrl-0 = <&pinctrl_i2c12_default>;
635                 status = "disabled";
636         };
637
638         i2c12: i2c-bus@440 {
639                 #address-cells = <1>;
640                 #size-cells = <0>;
641                 #interrupt-cells = <1>;
642
643                 reg = <0x440 0x40>;
644                 compatible = "aspeed,ast2400-i2c-bus";
645                 clocks = <&syscon ASPEED_CLK_APB>;
646                 resets = <&syscon ASPEED_RESET_I2C>;
647                 bus-frequency = <100000>;
648                 interrupts = <12>;
649                 interrupt-parent = <&i2c_ic>;
650                 pinctrl-names = "default";
651                 pinctrl-0 = <&pinctrl_i2c13_default>;
652                 status = "disabled";
653         };
654
655         i2c13: i2c-bus@480 {
656                 #address-cells = <1>;
657                 #size-cells = <0>;
658                 #interrupt-cells = <1>;
659
660                 reg = <0x480 0x40>;
661                 compatible = "aspeed,ast2400-i2c-bus";
662                 clocks = <&syscon ASPEED_CLK_APB>;
663                 resets = <&syscon ASPEED_RESET_I2C>;
664                 bus-frequency = <100000>;
665                 interrupts = <13>;
666                 interrupt-parent = <&i2c_ic>;
667                 pinctrl-names = "default";
668                 pinctrl-0 = <&pinctrl_i2c14_default>;
669                 status = "disabled";
670         };
671 };
672
673 &pinctrl {
674         pinctrl_acpi_default: acpi_default {
675                 function = "ACPI";
676                 groups = "ACPI";
677         };
678
679         pinctrl_adc0_default: adc0_default {
680                 function = "ADC0";
681                 groups = "ADC0";
682         };
683
684         pinctrl_adc1_default: adc1_default {
685                 function = "ADC1";
686                 groups = "ADC1";
687         };
688
689         pinctrl_adc10_default: adc10_default {
690                 function = "ADC10";
691                 groups = "ADC10";
692         };
693
694         pinctrl_adc11_default: adc11_default {
695                 function = "ADC11";
696                 groups = "ADC11";
697         };
698
699         pinctrl_adc12_default: adc12_default {
700                 function = "ADC12";
701                 groups = "ADC12";
702         };
703
704         pinctrl_adc13_default: adc13_default {
705                 function = "ADC13";
706                 groups = "ADC13";
707         };
708
709         pinctrl_adc14_default: adc14_default {
710                 function = "ADC14";
711                 groups = "ADC14";
712         };
713
714         pinctrl_adc15_default: adc15_default {
715                 function = "ADC15";
716                 groups = "ADC15";
717         };
718
719         pinctrl_adc2_default: adc2_default {
720                 function = "ADC2";
721                 groups = "ADC2";
722         };
723
724         pinctrl_adc3_default: adc3_default {
725                 function = "ADC3";
726                 groups = "ADC3";
727         };
728
729         pinctrl_adc4_default: adc4_default {
730                 function = "ADC4";
731                 groups = "ADC4";
732         };
733
734         pinctrl_adc5_default: adc5_default {
735                 function = "ADC5";
736                 groups = "ADC5";
737         };
738
739         pinctrl_adc6_default: adc6_default {
740                 function = "ADC6";
741                 groups = "ADC6";
742         };
743
744         pinctrl_adc7_default: adc7_default {
745                 function = "ADC7";
746                 groups = "ADC7";
747         };
748
749         pinctrl_adc8_default: adc8_default {
750                 function = "ADC8";
751                 groups = "ADC8";
752         };
753
754         pinctrl_adc9_default: adc9_default {
755                 function = "ADC9";
756                 groups = "ADC9";
757         };
758
759         pinctrl_bmcint_default: bmcint_default {
760                 function = "BMCINT";
761                 groups = "BMCINT";
762         };
763
764         pinctrl_ddcclk_default: ddcclk_default {
765                 function = "DDCCLK";
766                 groups = "DDCCLK";
767         };
768
769         pinctrl_ddcdat_default: ddcdat_default {
770                 function = "DDCDAT";
771                 groups = "DDCDAT";
772         };
773
774         pinctrl_extrst_default: extrst_default {
775                 function = "EXTRST";
776                 groups = "EXTRST";
777         };
778
779         pinctrl_flack_default: flack_default {
780                 function = "FLACK";
781                 groups = "FLACK";
782         };
783
784         pinctrl_flbusy_default: flbusy_default {
785                 function = "FLBUSY";
786                 groups = "FLBUSY";
787         };
788
789         pinctrl_flwp_default: flwp_default {
790                 function = "FLWP";
791                 groups = "FLWP";
792         };
793
794         pinctrl_gpid_default: gpid_default {
795                 function = "GPID";
796                 groups = "GPID";
797         };
798
799         pinctrl_gpid0_default: gpid0_default {
800                 function = "GPID0";
801                 groups = "GPID0";
802         };
803
804         pinctrl_gpid2_default: gpid2_default {
805                 function = "GPID2";
806                 groups = "GPID2";
807         };
808
809         pinctrl_gpid4_default: gpid4_default {
810                 function = "GPID4";
811                 groups = "GPID4";
812         };
813
814         pinctrl_gpid6_default: gpid6_default {
815                 function = "GPID6";
816                 groups = "GPID6";
817         };
818
819         pinctrl_gpie0_default: gpie0_default {
820                 function = "GPIE0";
821                 groups = "GPIE0";
822         };
823
824         pinctrl_gpie2_default: gpie2_default {
825                 function = "GPIE2";
826                 groups = "GPIE2";
827         };
828
829         pinctrl_gpie4_default: gpie4_default {
830                 function = "GPIE4";
831                 groups = "GPIE4";
832         };
833
834         pinctrl_gpie6_default: gpie6_default {
835                 function = "GPIE6";
836                 groups = "GPIE6";
837         };
838
839         pinctrl_i2c10_default: i2c10_default {
840                 function = "I2C10";
841                 groups = "I2C10";
842         };
843
844         pinctrl_i2c11_default: i2c11_default {
845                 function = "I2C11";
846                 groups = "I2C11";
847         };
848
849         pinctrl_i2c12_default: i2c12_default {
850                 function = "I2C12";
851                 groups = "I2C12";
852         };
853
854         pinctrl_i2c13_default: i2c13_default {
855                 function = "I2C13";
856                 groups = "I2C13";
857         };
858
859         pinctrl_i2c14_default: i2c14_default {
860                 function = "I2C14";
861                 groups = "I2C14";
862         };
863
864         pinctrl_i2c3_default: i2c3_default {
865                 function = "I2C3";
866                 groups = "I2C3";
867         };
868
869         pinctrl_i2c4_default: i2c4_default {
870                 function = "I2C4";
871                 groups = "I2C4";
872         };
873
874         pinctrl_i2c5_default: i2c5_default {
875                 function = "I2C5";
876                 groups = "I2C5";
877         };
878
879         pinctrl_i2c6_default: i2c6_default {
880                 function = "I2C6";
881                 groups = "I2C6";
882         };
883
884         pinctrl_i2c7_default: i2c7_default {
885                 function = "I2C7";
886                 groups = "I2C7";
887         };
888
889         pinctrl_i2c8_default: i2c8_default {
890                 function = "I2C8";
891                 groups = "I2C8";
892         };
893
894         pinctrl_i2c9_default: i2c9_default {
895                 function = "I2C9";
896                 groups = "I2C9";
897         };
898
899         pinctrl_lpcpd_default: lpcpd_default {
900                 function = "LPCPD";
901                 groups = "LPCPD";
902         };
903
904         pinctrl_lpcpme_default: lpcpme_default {
905                 function = "LPCPME";
906                 groups = "LPCPME";
907         };
908
909         pinctrl_lpcrst_default: lpcrst_default {
910                 function = "LPCRST";
911                 groups = "LPCRST";
912         };
913
914         pinctrl_lpcsmi_default: lpcsmi_default {
915                 function = "LPCSMI";
916                 groups = "LPCSMI";
917         };
918
919         pinctrl_mac1link_default: mac1link_default {
920                 function = "MAC1LINK";
921                 groups = "MAC1LINK";
922         };
923
924         pinctrl_mac2link_default: mac2link_default {
925                 function = "MAC2LINK";
926                 groups = "MAC2LINK";
927         };
928
929         pinctrl_mdio1_default: mdio1_default {
930                 function = "MDIO1";
931                 groups = "MDIO1";
932         };
933
934         pinctrl_mdio2_default: mdio2_default {
935                 function = "MDIO2";
936                 groups = "MDIO2";
937         };
938
939         pinctrl_ncts1_default: ncts1_default {
940                 function = "NCTS1";
941                 groups = "NCTS1";
942         };
943
944         pinctrl_ncts2_default: ncts2_default {
945                 function = "NCTS2";
946                 groups = "NCTS2";
947         };
948
949         pinctrl_ncts3_default: ncts3_default {
950                 function = "NCTS3";
951                 groups = "NCTS3";
952         };
953
954         pinctrl_ncts4_default: ncts4_default {
955                 function = "NCTS4";
956                 groups = "NCTS4";
957         };
958
959         pinctrl_ndcd1_default: ndcd1_default {
960                 function = "NDCD1";
961                 groups = "NDCD1";
962         };
963
964         pinctrl_ndcd2_default: ndcd2_default {
965                 function = "NDCD2";
966                 groups = "NDCD2";
967         };
968
969         pinctrl_ndcd3_default: ndcd3_default {
970                 function = "NDCD3";
971                 groups = "NDCD3";
972         };
973
974         pinctrl_ndcd4_default: ndcd4_default {
975                 function = "NDCD4";
976                 groups = "NDCD4";
977         };
978
979         pinctrl_ndsr1_default: ndsr1_default {
980                 function = "NDSR1";
981                 groups = "NDSR1";
982         };
983
984         pinctrl_ndsr2_default: ndsr2_default {
985                 function = "NDSR2";
986                 groups = "NDSR2";
987         };
988
989         pinctrl_ndsr3_default: ndsr3_default {
990                 function = "NDSR3";
991                 groups = "NDSR3";
992         };
993
994         pinctrl_ndsr4_default: ndsr4_default {
995                 function = "NDSR4";
996                 groups = "NDSR4";
997         };
998
999         pinctrl_ndtr1_default: ndtr1_default {
1000                 function = "NDTR1";
1001                 groups = "NDTR1";
1002         };
1003
1004         pinctrl_ndtr2_default: ndtr2_default {
1005                 function = "NDTR2";
1006                 groups = "NDTR2";
1007         };
1008
1009         pinctrl_ndtr3_default: ndtr3_default {
1010                 function = "NDTR3";
1011                 groups = "NDTR3";
1012         };
1013
1014         pinctrl_ndtr4_default: ndtr4_default {
1015                 function = "NDTR4";
1016                 groups = "NDTR4";
1017         };
1018
1019         pinctrl_ndts4_default: ndts4_default {
1020                 function = "NDTS4";
1021                 groups = "NDTS4";
1022         };
1023
1024         pinctrl_nri1_default: nri1_default {
1025                 function = "NRI1";
1026                 groups = "NRI1";
1027         };
1028
1029         pinctrl_nri2_default: nri2_default {
1030                 function = "NRI2";
1031                 groups = "NRI2";
1032         };
1033
1034         pinctrl_nri3_default: nri3_default {
1035                 function = "NRI3";
1036                 groups = "NRI3";
1037         };
1038
1039         pinctrl_nri4_default: nri4_default {
1040                 function = "NRI4";
1041                 groups = "NRI4";
1042         };
1043
1044         pinctrl_nrts1_default: nrts1_default {
1045                 function = "NRTS1";
1046                 groups = "NRTS1";
1047         };
1048
1049         pinctrl_nrts2_default: nrts2_default {
1050                 function = "NRTS2";
1051                 groups = "NRTS2";
1052         };
1053
1054         pinctrl_nrts3_default: nrts3_default {
1055                 function = "NRTS3";
1056                 groups = "NRTS3";
1057         };
1058
1059         pinctrl_oscclk_default: oscclk_default {
1060                 function = "OSCCLK";
1061                 groups = "OSCCLK";
1062         };
1063
1064         pinctrl_pwm0_default: pwm0_default {
1065                 function = "PWM0";
1066                 groups = "PWM0";
1067         };
1068
1069         pinctrl_pwm1_default: pwm1_default {
1070                 function = "PWM1";
1071                 groups = "PWM1";
1072         };
1073
1074         pinctrl_pwm2_default: pwm2_default {
1075                 function = "PWM2";
1076                 groups = "PWM2";
1077         };
1078
1079         pinctrl_pwm3_default: pwm3_default {
1080                 function = "PWM3";
1081                 groups = "PWM3";
1082         };
1083
1084         pinctrl_pwm4_default: pwm4_default {
1085                 function = "PWM4";
1086                 groups = "PWM4";
1087         };
1088
1089         pinctrl_pwm5_default: pwm5_default {
1090                 function = "PWM5";
1091                 groups = "PWM5";
1092         };
1093
1094         pinctrl_pwm6_default: pwm6_default {
1095                 function = "PWM6";
1096                 groups = "PWM6";
1097         };
1098
1099         pinctrl_pwm7_default: pwm7_default {
1100                 function = "PWM7";
1101                 groups = "PWM7";
1102         };
1103
1104         pinctrl_rgmii1_default: rgmii1_default {
1105                 function = "RGMII1";
1106                 groups = "RGMII1";
1107         };
1108
1109         pinctrl_rgmii2_default: rgmii2_default {
1110                 function = "RGMII2";
1111                 groups = "RGMII2";
1112         };
1113
1114         pinctrl_rmii1_default: rmii1_default {
1115                 function = "RMII1";
1116                 groups = "RMII1";
1117         };
1118
1119         pinctrl_rmii2_default: rmii2_default {
1120                 function = "RMII2";
1121                 groups = "RMII2";
1122         };
1123
1124         pinctrl_rom16_default: rom16_default {
1125                 function = "ROM16";
1126                 groups = "ROM16";
1127         };
1128
1129         pinctrl_rom8_default: rom8_default {
1130                 function = "ROM8";
1131                 groups = "ROM8";
1132         };
1133
1134         pinctrl_romcs1_default: romcs1_default {
1135                 function = "ROMCS1";
1136                 groups = "ROMCS1";
1137         };
1138
1139         pinctrl_romcs2_default: romcs2_default {
1140                 function = "ROMCS2";
1141                 groups = "ROMCS2";
1142         };
1143
1144         pinctrl_romcs3_default: romcs3_default {
1145                 function = "ROMCS3";
1146                 groups = "ROMCS3";
1147         };
1148
1149         pinctrl_romcs4_default: romcs4_default {
1150                 function = "ROMCS4";
1151                 groups = "ROMCS4";
1152         };
1153
1154         pinctrl_rxd1_default: rxd1_default {
1155                 function = "RXD1";
1156                 groups = "RXD1";
1157         };
1158
1159         pinctrl_rxd2_default: rxd2_default {
1160                 function = "RXD2";
1161                 groups = "RXD2";
1162         };
1163
1164         pinctrl_rxd3_default: rxd3_default {
1165                 function = "RXD3";
1166                 groups = "RXD3";
1167         };
1168
1169         pinctrl_rxd4_default: rxd4_default {
1170                 function = "RXD4";
1171                 groups = "RXD4";
1172         };
1173
1174         pinctrl_salt1_default: salt1_default {
1175                 function = "SALT1";
1176                 groups = "SALT1";
1177         };
1178
1179         pinctrl_salt2_default: salt2_default {
1180                 function = "SALT2";
1181                 groups = "SALT2";
1182         };
1183
1184         pinctrl_salt3_default: salt3_default {
1185                 function = "SALT3";
1186                 groups = "SALT3";
1187         };
1188
1189         pinctrl_salt4_default: salt4_default {
1190                 function = "SALT4";
1191                 groups = "SALT4";
1192         };
1193
1194         pinctrl_sd1_default: sd1_default {
1195                 function = "SD1";
1196                 groups = "SD1";
1197         };
1198
1199         pinctrl_sd2_default: sd2_default {
1200                 function = "SD2";
1201                 groups = "SD2";
1202         };
1203
1204         pinctrl_sgpmck_default: sgpmck_default {
1205                 function = "SGPMCK";
1206                 groups = "SGPMCK";
1207         };
1208
1209         pinctrl_sgpmi_default: sgpmi_default {
1210                 function = "SGPMI";
1211                 groups = "SGPMI";
1212         };
1213
1214         pinctrl_sgpmld_default: sgpmld_default {
1215                 function = "SGPMLD";
1216                 groups = "SGPMLD";
1217         };
1218
1219         pinctrl_sgpmo_default: sgpmo_default {
1220                 function = "SGPMO";
1221                 groups = "SGPMO";
1222         };
1223
1224         pinctrl_sgpsck_default: sgpsck_default {
1225                 function = "SGPSCK";
1226                 groups = "SGPSCK";
1227         };
1228
1229         pinctrl_sgpsi0_default: sgpsi0_default {
1230                 function = "SGPSI0";
1231                 groups = "SGPSI0";
1232         };
1233
1234         pinctrl_sgpsi1_default: sgpsi1_default {
1235                 function = "SGPSI1";
1236                 groups = "SGPSI1";
1237         };
1238
1239         pinctrl_sgpsld_default: sgpsld_default {
1240                 function = "SGPSLD";
1241                 groups = "SGPSLD";
1242         };
1243
1244         pinctrl_sioonctrl_default: sioonctrl_default {
1245                 function = "SIOONCTRL";
1246                 groups = "SIOONCTRL";
1247         };
1248
1249         pinctrl_siopbi_default: siopbi_default {
1250                 function = "SIOPBI";
1251                 groups = "SIOPBI";
1252         };
1253
1254         pinctrl_siopbo_default: siopbo_default {
1255                 function = "SIOPBO";
1256                 groups = "SIOPBO";
1257         };
1258
1259         pinctrl_siopwreq_default: siopwreq_default {
1260                 function = "SIOPWREQ";
1261                 groups = "SIOPWREQ";
1262         };
1263
1264         pinctrl_siopwrgd_default: siopwrgd_default {
1265                 function = "SIOPWRGD";
1266                 groups = "SIOPWRGD";
1267         };
1268
1269         pinctrl_sios3_default: sios3_default {
1270                 function = "SIOS3";
1271                 groups = "SIOS3";
1272         };
1273
1274         pinctrl_sios5_default: sios5_default {
1275                 function = "SIOS5";
1276                 groups = "SIOS5";
1277         };
1278
1279         pinctrl_siosci_default: siosci_default {
1280                 function = "SIOSCI";
1281                 groups = "SIOSCI";
1282         };
1283
1284         pinctrl_spi1_default: spi1_default {
1285                 function = "SPI1";
1286                 groups = "SPI1";
1287         };
1288
1289         pinctrl_spi1debug_default: spi1debug_default {
1290                 function = "SPI1DEBUG";
1291                 groups = "SPI1DEBUG";
1292         };
1293
1294         pinctrl_spi1passthru_default: spi1passthru_default {
1295                 function = "SPI1PASSTHRU";
1296                 groups = "SPI1PASSTHRU";
1297         };
1298
1299         pinctrl_spics1_default: spics1_default {
1300                 function = "SPICS1";
1301                 groups = "SPICS1";
1302         };
1303
1304         pinctrl_timer3_default: timer3_default {
1305                 function = "TIMER3";
1306                 groups = "TIMER3";
1307         };
1308
1309         pinctrl_timer4_default: timer4_default {
1310                 function = "TIMER4";
1311                 groups = "TIMER4";
1312         };
1313
1314         pinctrl_timer5_default: timer5_default {
1315                 function = "TIMER5";
1316                 groups = "TIMER5";
1317         };
1318
1319         pinctrl_timer6_default: timer6_default {
1320                 function = "TIMER6";
1321                 groups = "TIMER6";
1322         };
1323
1324         pinctrl_timer7_default: timer7_default {
1325                 function = "TIMER7";
1326                 groups = "TIMER7";
1327         };
1328
1329         pinctrl_timer8_default: timer8_default {
1330                 function = "TIMER8";
1331                 groups = "TIMER8";
1332         };
1333
1334         pinctrl_txd1_default: txd1_default {
1335                 function = "TXD1";
1336                 groups = "TXD1";
1337         };
1338
1339         pinctrl_txd2_default: txd2_default {
1340                 function = "TXD2";
1341                 groups = "TXD2";
1342         };
1343
1344         pinctrl_txd3_default: txd3_default {
1345                 function = "TXD3";
1346                 groups = "TXD3";
1347         };
1348
1349         pinctrl_txd4_default: txd4_default {
1350                 function = "TXD4";
1351                 groups = "TXD4";
1352         };
1353
1354         pinctrl_uart6_default: uart6_default {
1355                 function = "UART6";
1356                 groups = "UART6";
1357         };
1358
1359         pinctrl_usbcki_default: usbcki_default {
1360                 function = "USBCKI";
1361                 groups = "USBCKI";
1362         };
1363
1364         pinctrl_usb2h_default: usb2h_default {
1365                 function = "USB2H1";
1366                 groups = "USB2H1";
1367         };
1368
1369         pinctrl_usb2d_default: usb2d_default {
1370                 function = "USB2D1";
1371                 groups = "USB2D1";
1372         };
1373
1374         pinctrl_vgabios_rom_default: vgabios_rom_default {
1375                 function = "VGABIOS_ROM";
1376                 groups = "VGABIOS_ROM";
1377         };
1378
1379         pinctrl_vgahs_default: vgahs_default {
1380                 function = "VGAHS";
1381                 groups = "VGAHS";
1382         };
1383
1384         pinctrl_vgavs_default: vgavs_default {
1385                 function = "VGAVS";
1386                 groups = "VGAVS";
1387         };
1388
1389         pinctrl_vpi18_default: vpi18_default {
1390                 function = "VPI18";
1391                 groups = "VPI18";
1392         };
1393
1394         pinctrl_vpi24_default: vpi24_default {
1395                 function = "VPI24";
1396                 groups = "VPI24";
1397         };
1398
1399         pinctrl_vpi30_default: vpi30_default {
1400                 function = "VPI30";
1401                 groups = "VPI30";
1402         };
1403
1404         pinctrl_vpo12_default: vpo12_default {
1405                 function = "VPO12";
1406                 groups = "VPO12";
1407         };
1408
1409         pinctrl_vpo24_default: vpo24_default {
1410                 function = "VPO24";
1411                 groups = "VPO24";
1412         };
1413
1414         pinctrl_wdtrst1_default: wdtrst1_default {
1415                 function = "WDTRST1";
1416                 groups = "WDTRST1";
1417         };
1418
1419         pinctrl_wdtrst2_default: wdtrst2_default {
1420                 function = "WDTRST2";
1421                 groups = "WDTRST2";
1422         };
1423 };