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