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