blob: 7a8141a8e9f0ce032f8631feeb64f86c1b3f52cc [file] [log] [blame]
Yanhong Wang96c3eb722023-03-29 11:42:21 +08001// SPDX-License-Identifier: GPL-2.0 OR MIT
2/*
3 * Copyright (C) 2022 StarFive Technology Co., Ltd.
4 */
5
6/dts-v1/;
7#include <dt-bindings/clock/starfive,jh7110-crg.h>
8#include <dt-bindings/reset/starfive,jh7110-crg.h>
9
10/ {
11 compatible = "starfive,jh7110";
12 #address-cells = <2>;
13 #size-cells = <2>;
14
15 cpus {
16 #address-cells = <1>;
17 #size-cells = <0>;
18
19 S7_0: cpu@0 {
20 compatible = "sifive,s7", "riscv";
21 reg = <0>;
22 device_type = "cpu";
23 i-cache-block-size = <64>;
24 i-cache-sets = <64>;
25 i-cache-size = <16384>;
26 next-level-cache = <&ccache>;
27 riscv,isa = "rv64imac_zba_zbb";
28 status = "disabled";
29
30 cpu0_intc: interrupt-controller {
31 compatible = "riscv,cpu-intc";
32 interrupt-controller;
33 #interrupt-cells = <1>;
34 };
35 };
36
37 U74_1: cpu@1 {
38 compatible = "sifive,u74-mc", "riscv";
39 reg = <1>;
40 d-cache-block-size = <64>;
41 d-cache-sets = <64>;
42 d-cache-size = <32768>;
43 d-tlb-sets = <1>;
44 d-tlb-size = <40>;
45 device_type = "cpu";
46 i-cache-block-size = <64>;
47 i-cache-sets = <64>;
48 i-cache-size = <32768>;
49 i-tlb-sets = <1>;
50 i-tlb-size = <40>;
51 mmu-type = "riscv,sv39";
52 next-level-cache = <&ccache>;
53 riscv,isa = "rv64imafdc_zba_zbb";
54 tlb-split;
55
56 cpu1_intc: interrupt-controller {
57 compatible = "riscv,cpu-intc";
58 interrupt-controller;
59 #interrupt-cells = <1>;
60 };
61 };
62
63 U74_2: cpu@2 {
64 compatible = "sifive,u74-mc", "riscv";
65 reg = <2>;
66 d-cache-block-size = <64>;
67 d-cache-sets = <64>;
68 d-cache-size = <32768>;
69 d-tlb-sets = <1>;
70 d-tlb-size = <40>;
71 device_type = "cpu";
72 i-cache-block-size = <64>;
73 i-cache-sets = <64>;
74 i-cache-size = <32768>;
75 i-tlb-sets = <1>;
76 i-tlb-size = <40>;
77 mmu-type = "riscv,sv39";
78 next-level-cache = <&ccache>;
79 riscv,isa = "rv64imafdc_zba_zbb";
80 tlb-split;
81
82 cpu2_intc: interrupt-controller {
83 compatible = "riscv,cpu-intc";
84 interrupt-controller;
85 #interrupt-cells = <1>;
86 };
87 };
88
89 U74_3: cpu@3 {
90 compatible = "sifive,u74-mc", "riscv";
91 reg = <3>;
92 d-cache-block-size = <64>;
93 d-cache-sets = <64>;
94 d-cache-size = <32768>;
95 d-tlb-sets = <1>;
96 d-tlb-size = <40>;
97 device_type = "cpu";
98 i-cache-block-size = <64>;
99 i-cache-sets = <64>;
100 i-cache-size = <32768>;
101 i-tlb-sets = <1>;
102 i-tlb-size = <40>;
103 mmu-type = "riscv,sv39";
104 next-level-cache = <&ccache>;
105 riscv,isa = "rv64imafdc_zba_zbb";
106 tlb-split;
107
108 cpu3_intc: interrupt-controller {
109 compatible = "riscv,cpu-intc";
110 interrupt-controller;
111 #interrupt-cells = <1>;
112 };
113 };
114
115 U74_4: cpu@4 {
116 compatible = "sifive,u74-mc", "riscv";
117 reg = <4>;
118 d-cache-block-size = <64>;
119 d-cache-sets = <64>;
120 d-cache-size = <32768>;
121 d-tlb-sets = <1>;
122 d-tlb-size = <40>;
123 device_type = "cpu";
124 i-cache-block-size = <64>;
125 i-cache-sets = <64>;
126 i-cache-size = <32768>;
127 i-tlb-sets = <1>;
128 i-tlb-size = <40>;
129 mmu-type = "riscv,sv39";
130 next-level-cache = <&ccache>;
131 riscv,isa = "rv64imafdc_zba_zbb";
132 tlb-split;
133
134 cpu4_intc: interrupt-controller {
135 compatible = "riscv,cpu-intc";
136 interrupt-controller;
137 #interrupt-cells = <1>;
138 };
139 };
140
141 cpu-map {
142 cluster0 {
143 core0 {
144 cpu = <&S7_0>;
145 };
146
147 core1 {
148 cpu = <&U74_1>;
149 };
150
151 core2 {
152 cpu = <&U74_2>;
153 };
154
155 core3 {
156 cpu = <&U74_3>;
157 };
158
159 core4 {
160 cpu = <&U74_4>;
161 };
162 };
163 };
164 };
165
166 osc: oscillator {
167 compatible = "fixed-clock";
168 clock-output-names = "osc";
169 #clock-cells = <0>;
170 };
171
172 rtc_osc: rtc-oscillator {
173 compatible = "fixed-clock";
174 clock-output-names = "rtc_osc";
175 #clock-cells = <0>;
176 };
177
178 gmac0_rmii_refin: gmac0-rmii-refin-clock {
179 compatible = "fixed-clock";
180 clock-output-names = "gmac0_rmii_refin";
181 #clock-cells = <0>;
182 };
183
184 gmac0_rgmii_rxin: gmac0-rgmii-rxin-clock {
185 compatible = "fixed-clock";
186 clock-output-names = "gmac0_rgmii_rxin";
187 #clock-cells = <0>;
188 };
189
190 gmac1_rmii_refin: gmac1-rmii-refin-clock {
191 compatible = "fixed-clock";
192 clock-output-names = "gmac1_rmii_refin";
193 #clock-cells = <0>;
194 };
195
196 gmac1_rgmii_rxin: gmac1-rgmii-rxin-clock {
197 compatible = "fixed-clock";
198 clock-output-names = "gmac1_rgmii_rxin";
199 #clock-cells = <0>;
200 };
201
202 i2stx_bclk_ext: i2stx-bclk-ext-clock {
203 compatible = "fixed-clock";
204 clock-output-names = "i2stx_bclk_ext";
205 #clock-cells = <0>;
206 };
207
208 i2stx_lrck_ext: i2stx-lrck-ext-clock {
209 compatible = "fixed-clock";
210 clock-output-names = "i2stx_lrck_ext";
211 #clock-cells = <0>;
212 };
213
214 i2srx_bclk_ext: i2srx-bclk-ext-clock {
215 compatible = "fixed-clock";
216 clock-output-names = "i2srx_bclk_ext";
217 #clock-cells = <0>;
218 };
219
220 i2srx_lrck_ext: i2srx-lrck-ext-clock {
221 compatible = "fixed-clock";
222 clock-output-names = "i2srx_lrck_ext";
223 #clock-cells = <0>;
224 };
225
226 tdm_ext: tdm-ext-clock {
227 compatible = "fixed-clock";
228 clock-output-names = "tdm_ext";
229 #clock-cells = <0>;
230 };
231
232 mclk_ext: mclk-ext-clock {
233 compatible = "fixed-clock";
234 clock-output-names = "mclk_ext";
235 #clock-cells = <0>;
236 };
237
Yanhong Wang7f63bd92023-06-15 17:36:44 +0800238 stmmac_axi_setup: stmmac-axi-config {
239 snps,lpi_en;
240 snps,wr_osr_lmt = <4>;
241 snps,rd_osr_lmt = <4>;
242 snps,blen = <256 128 64 32 0 0 0>;
243 };
244
Yanhong Wang96c3eb722023-03-29 11:42:21 +0800245 soc {
246 compatible = "simple-bus";
247 interrupt-parent = <&plic>;
248 #address-cells = <2>;
249 #size-cells = <2>;
250 ranges;
251
252 clint: timer@2000000 {
253 compatible = "starfive,jh7110-clint", "sifive,clint0";
254 reg = <0x0 0x2000000 0x0 0x10000>;
255 interrupts-extended = <&cpu0_intc 3>, <&cpu0_intc 7>,
256 <&cpu1_intc 3>, <&cpu1_intc 7>,
257 <&cpu2_intc 3>, <&cpu2_intc 7>,
258 <&cpu3_intc 3>, <&cpu3_intc 7>,
259 <&cpu4_intc 3>, <&cpu4_intc 7>;
260 };
261
262 plic: interrupt-controller@c000000 {
263 compatible = "starfive,jh7110-plic", "sifive,plic-1.0.0";
264 reg = <0x0 0xc000000 0x0 0x4000000>;
265 interrupts-extended = <&cpu0_intc 11>,
266 <&cpu1_intc 11>, <&cpu1_intc 9>,
267 <&cpu2_intc 11>, <&cpu2_intc 9>,
268 <&cpu3_intc 11>, <&cpu3_intc 9>,
269 <&cpu4_intc 11>, <&cpu4_intc 9>;
270 interrupt-controller;
271 #interrupt-cells = <1>;
272 #address-cells = <0>;
273 riscv,ndev = <136>;
274 };
275
276 ccache: cache-controller@2010000 {
277 compatible = "starfive,jh7110-ccache", "sifive,ccache0", "cache";
278 reg = <0x0 0x2010000 0x0 0x4000>;
279 interrupts = <1>, <3>, <4>, <2>;
280 cache-block-size = <64>;
281 cache-level = <2>;
282 cache-sets = <2048>;
283 cache-size = <2097152>;
284 cache-unified;
285 };
286
287 uart0: serial@10000000 {
288 compatible = "snps,dw-apb-uart";
289 reg = <0x0 0x10000000 0x0 0x10000>;
290 clocks = <&syscrg JH7110_SYSCLK_UART0_CORE>,
291 <&syscrg JH7110_SYSCLK_UART0_APB>;
292 clock-names = "baudclk", "apb_pclk";
293 resets = <&syscrg JH7110_SYSRST_UART0_APB>,
294 <&syscrg JH7110_SYSRST_UART0_CORE>;
295 interrupts = <32>;
296 reg-io-width = <4>;
297 reg-shift = <2>;
298 status = "disabled";
299 };
300
301 uart1: serial@10010000 {
302 compatible = "snps,dw-apb-uart";
303 reg = <0x0 0x10010000 0x0 0x10000>;
304 clocks = <&syscrg JH7110_SYSCLK_UART1_CORE>,
305 <&syscrg JH7110_SYSCLK_UART1_APB>;
306 clock-names = "baudclk", "apb_pclk";
307 resets = <&syscrg JH7110_SYSRST_UART1_APB>,
308 <&syscrg JH7110_SYSRST_UART1_CORE>;
309 interrupts = <33>;
310 reg-io-width = <4>;
311 reg-shift = <2>;
312 status = "disabled";
313 };
314
315 uart2: serial@10020000 {
316 compatible = "snps,dw-apb-uart";
317 reg = <0x0 0x10020000 0x0 0x10000>;
318 clocks = <&syscrg JH7110_SYSCLK_UART2_CORE>,
319 <&syscrg JH7110_SYSCLK_UART2_APB>;
320 clock-names = "baudclk", "apb_pclk";
321 resets = <&syscrg JH7110_SYSRST_UART2_APB>,
322 <&syscrg JH7110_SYSRST_UART2_CORE>;
323 interrupts = <34>;
324 reg-io-width = <4>;
325 reg-shift = <2>;
326 status = "disabled";
327 };
328
329 i2c0: i2c@10030000 {
330 compatible = "snps,designware-i2c";
331 reg = <0x0 0x10030000 0x0 0x10000>;
332 clocks = <&syscrg JH7110_SYSCLK_I2C0_APB>;
333 clock-names = "ref";
334 resets = <&syscrg JH7110_SYSRST_I2C0_APB>;
335 interrupts = <35>;
336 #address-cells = <1>;
337 #size-cells = <0>;
338 status = "disabled";
339 };
340
341 i2c1: i2c@10040000 {
342 compatible = "snps,designware-i2c";
343 reg = <0x0 0x10040000 0x0 0x10000>;
344 clocks = <&syscrg JH7110_SYSCLK_I2C1_APB>;
345 clock-names = "ref";
346 resets = <&syscrg JH7110_SYSRST_I2C1_APB>;
347 interrupts = <36>;
348 #address-cells = <1>;
349 #size-cells = <0>;
350 status = "disabled";
351 };
352
353 i2c2: i2c@10050000 {
354 compatible = "snps,designware-i2c";
355 reg = <0x0 0x10050000 0x0 0x10000>;
356 clocks = <&syscrg JH7110_SYSCLK_I2C2_APB>;
357 clock-names = "ref";
358 resets = <&syscrg JH7110_SYSRST_I2C2_APB>;
359 interrupts = <37>;
360 #address-cells = <1>;
361 #size-cells = <0>;
362 status = "disabled";
363 };
364
365 stgcrg: clock-controller@10230000 {
366 compatible = "starfive,jh7110-stgcrg";
367 reg = <0x0 0x10230000 0x0 0x10000>;
368 #clock-cells = <1>;
369 #reset-cells = <1>;
370 };
371
372 stg_syscon: stg_syscon@10240000 {
373 compatible = "starfive,jh7110-stg-syscon","syscon";
374 reg = <0x0 0x10240000 0x0 0x1000>;
375 };
376
377 uart3: serial@12000000 {
378 compatible = "snps,dw-apb-uart";
379 reg = <0x0 0x12000000 0x0 0x10000>;
380 clocks = <&syscrg JH7110_SYSCLK_UART3_CORE>,
381 <&syscrg JH7110_SYSCLK_UART3_APB>;
382 clock-names = "baudclk", "apb_pclk";
383 resets = <&syscrg JH7110_SYSRST_UART3_APB>,
384 <&syscrg JH7110_SYSRST_UART3_CORE>;
385 interrupts = <45>;
386 reg-io-width = <4>;
387 reg-shift = <2>;
388 status = "disabled";
389 };
390
391 uart4: serial@12010000 {
392 compatible = "snps,dw-apb-uart";
393 reg = <0x0 0x12010000 0x0 0x10000>;
394 clocks = <&syscrg JH7110_SYSCLK_UART4_CORE>,
395 <&syscrg JH7110_SYSCLK_UART4_APB>;
396 clock-names = "baudclk", "apb_pclk";
397 resets = <&syscrg JH7110_SYSRST_UART4_APB>,
398 <&syscrg JH7110_SYSRST_UART4_CORE>;
399 interrupts = <46>;
400 reg-io-width = <4>;
401 reg-shift = <2>;
402 status = "disabled";
403 };
404
405 uart5: serial@12020000 {
406 compatible = "snps,dw-apb-uart";
407 reg = <0x0 0x12020000 0x0 0x10000>;
408 clocks = <&syscrg JH7110_SYSCLK_UART5_CORE>,
409 <&syscrg JH7110_SYSCLK_UART5_APB>;
410 clock-names = "baudclk", "apb_pclk";
411 resets = <&syscrg JH7110_SYSRST_UART5_APB>,
412 <&syscrg JH7110_SYSRST_UART5_CORE>;
413 interrupts = <47>;
414 reg-io-width = <4>;
415 reg-shift = <2>;
416 status = "disabled";
417 };
418
419 i2c3: i2c@12030000 {
420 compatible = "snps,designware-i2c";
421 reg = <0x0 0x12030000 0x0 0x10000>;
422 clocks = <&syscrg JH7110_SYSCLK_I2C3_APB>;
423 clock-names = "ref";
424 resets = <&syscrg JH7110_SYSRST_I2C3_APB>;
425 interrupts = <48>;
426 #address-cells = <1>;
427 #size-cells = <0>;
428 status = "disabled";
429 };
430
431 i2c4: i2c@12040000 {
432 compatible = "snps,designware-i2c";
433 reg = <0x0 0x12040000 0x0 0x10000>;
434 clocks = <&syscrg JH7110_SYSCLK_I2C4_APB>;
435 clock-names = "ref";
436 resets = <&syscrg JH7110_SYSRST_I2C4_APB>;
437 interrupts = <49>;
438 #address-cells = <1>;
439 #size-cells = <0>;
440 status = "disabled";
441 };
442
443 i2c5: i2c@12050000 {
444 compatible = "snps,designware-i2c";
445 reg = <0x0 0x12050000 0x0 0x10000>;
446 clocks = <&syscrg JH7110_SYSCLK_I2C5_APB>;
447 clock-names = "ref";
448 resets = <&syscrg JH7110_SYSRST_I2C5_APB>;
449 interrupts = <50>;
450 #address-cells = <1>;
451 #size-cells = <0>;
452 status = "disabled";
453 };
454
455 i2c6: i2c@12060000 {
456 compatible = "snps,designware-i2c";
457 reg = <0x0 0x12060000 0x0 0x10000>;
458 clocks = <&syscrg JH7110_SYSCLK_I2C6_APB>;
459 clock-names = "ref";
460 resets = <&syscrg JH7110_SYSRST_I2C6_APB>;
461 interrupts = <51>;
462 #address-cells = <1>;
463 #size-cells = <0>;
464 status = "disabled";
465 };
466
467 qspi: spi@13010000 {
468 compatible = "cdns,qspi-nor";
469 reg = <0x0 0x13010000 0x0 0x10000
470 0x0 0x21000000 0x0 0x400000>;
471 clocks = <&syscrg JH7110_SYSCLK_QSPI_REF>;
472 clock-names = "clk_ref";
473 resets = <&syscrg JH7110_SYSRST_QSPI_APB>,
474 <&syscrg JH7110_SYSRST_QSPI_AHB>,
475 <&syscrg JH7110_SYSRST_QSPI_REF>;
476 reset-names = "rst_apb", "rst_ahb", "rst_ref";
477 cdns,fifo-depth = <256>;
478 cdns,fifo-width = <4>;
479 #address-cells = <1>;
480 #size-cells = <0>;
481 };
482
483 syscrg: clock-controller@13020000 {
484 compatible = "starfive,jh7110-syscrg";
485 reg = <0x0 0x13020000 0x0 0x10000>;
486 clocks = <&osc>, <&gmac1_rmii_refin>,
487 <&gmac1_rgmii_rxin>,
488 <&i2stx_bclk_ext>, <&i2stx_lrck_ext>,
489 <&i2srx_bclk_ext>, <&i2srx_lrck_ext>,
490 <&tdm_ext>, <&mclk_ext>;
491 clock-names = "osc", "gmac1_rmii_refin",
492 "gmac1_rgmii_rxin",
493 "i2stx_bclk_ext", "i2stx_lrck_ext",
494 "i2srx_bclk_ext", "i2srx_lrck_ext",
495 "tdm_ext", "mclk_ext";
496 #clock-cells = <1>;
497 #reset-cells = <1>;
498 };
499
500 sys_syscon: sys_syscon@13030000 {
Xingyu Wu7ae81bb2023-07-07 18:50:08 +0800501 compatible = "starfive,jh7110-sys-syscon","syscon", "simple-mfd";
Yanhong Wang96c3eb722023-03-29 11:42:21 +0800502 reg = <0x0 0x13030000 0x0 0x1000>;
Xingyu Wu7ae81bb2023-07-07 18:50:08 +0800503
504 pllclk: clock-controller {
505 compatible = "starfive,jh7110-pll";
506 clocks = <&osc>;
507 #clock-cells = <1>;
508 };
Yanhong Wang96c3eb722023-03-29 11:42:21 +0800509 };
510
511 sysgpio: pinctrl@13040000 {
512 compatible = "starfive,jh7110-sys-pinctrl";
513 reg = <0x0 0x13040000 0x0 0x10000>;
514 clocks = <&syscrg JH7110_SYSCLK_IOMUX_APB>;
515 resets = <&syscrg JH7110_SYSRST_IOMUX_APB>;
516 interrupts = <86>;
517 interrupt-controller;
518 #interrupt-cells = <2>;
519 gpio-controller;
520 #gpio-cells = <2>;
521 };
522
523 mmc0: mmc@16010000 {
524 compatible = "starfive,jh7110-mmc";
525 reg = <0x0 0x16010000 0x0 0x10000>;
526 clocks = <&syscrg JH7110_SYSCLK_SDIO0_AHB>,
527 <&syscrg JH7110_SYSCLK_SDIO0_SDCARD>;
528 clock-names = "biu", "ciu";
529 resets = <&syscrg JH7110_SYSRST_SDIO0_AHB>;
530 reset-names = "reset";
531 interrupts = <74>;
532 fifo-depth = <32>;
533 fifo-watermark-aligned;
534 data-addr = <0>;
535 starfive,sysreg = <&sys_syscon 0x14 0x1a 0x7c000000>;
536 status = "disabled";
537 };
538
539 mmc1: mmc@16020000 {
540 compatible = "starfive,jh7110-mmc";
541 reg = <0x0 0x16020000 0x0 0x10000>;
542 clocks = <&syscrg JH7110_SYSCLK_SDIO1_AHB>,
543 <&syscrg JH7110_SYSCLK_SDIO1_SDCARD>;
544 clock-names = "biu", "ciu";
545 resets = <&syscrg JH7110_SYSRST_SDIO1_AHB>;
546 reset-names = "reset";
547 interrupts = <75>;
548 fifo-depth = <32>;
549 fifo-watermark-aligned;
550 data-addr = <0>;
551 starfive,sysreg = <&sys_syscon 0x9c 0x1 0x3e>;
552 status = "disabled";
553 };
554
Yanhong Wang7f63bd92023-06-15 17:36:44 +0800555 gmac0: ethernet@16030000 {
556 compatible = "starfive,jh7110-dwmac", "snps,dwmac-5.20";
557 reg = <0x0 0x16030000 0x0 0x10000>;
558 clocks = <&aoncrg JH7110_AONCLK_GMAC0_AXI>,
559 <&aoncrg JH7110_AONCLK_GMAC0_AHB>,
560 <&syscrg JH7110_SYSCLK_GMAC0_PTP>,
561 <&aoncrg JH7110_AONCLK_GMAC0_TX_INV>,
562 <&syscrg JH7110_SYSCLK_GMAC0_GTXC>;
563 clock-names = "stmmaceth", "pclk", "ptp_ref",
564 "tx", "gtx";
565 resets = <&aoncrg JH7110_AONRST_GMAC0_AXI>,
566 <&aoncrg JH7110_AONRST_GMAC0_AHB>;
567 reset-names = "stmmaceth", "ahb";
568 interrupts = <7>, <6>, <5>;
569 interrupt-names = "macirq", "eth_wake_irq", "eth_lpi";
570 snps,multicast-filter-bins = <64>;
571 snps,perfect-filter-entries = <8>;
572 rx-fifo-depth = <2048>;
573 tx-fifo-depth = <2048>;
574 snps,fixed-burst;
575 snps,no-pbl-x8;
576 snps,force_thresh_dma_mode;
577 snps,axi-config = <&stmmac_axi_setup>;
578 snps,tso;
579 snps,en-tx-lpi-clockgating;
580 snps,txpbl = <16>;
581 snps,rxpbl = <16>;
582 starfive,syscon = <&aon_syscon 0xc 0x12>;
583 status = "disabled";
584 };
585
586 gmac1: ethernet@16040000 {
587 compatible = "starfive,jh7110-dwmac", "snps,dwmac-5.20";
588 reg = <0x0 0x16040000 0x0 0x10000>;
589 clocks = <&syscrg JH7110_SYSCLK_GMAC1_AXI>,
590 <&syscrg JH7110_SYSCLK_GMAC1_AHB>,
591 <&syscrg JH7110_SYSCLK_GMAC1_PTP>,
592 <&syscrg JH7110_SYSCLK_GMAC1_TX_INV>,
593 <&syscrg JH7110_SYSCLK_GMAC1_GTXC>;
594 clock-names = "stmmaceth", "pclk", "ptp_ref",
595 "tx", "gtx";
596 resets = <&syscrg JH7110_SYSRST_GMAC1_AXI>,
597 <&syscrg JH7110_SYSRST_GMAC1_AHB>;
598 reset-names = "stmmaceth", "ahb";
599 interrupts = <78>, <77>, <76>;
600 interrupt-names = "macirq", "eth_wake_irq", "eth_lpi";
601 snps,multicast-filter-bins = <64>;
602 snps,perfect-filter-entries = <8>;
603 rx-fifo-depth = <2048>;
604 tx-fifo-depth = <2048>;
605 snps,fixed-burst;
606 snps,no-pbl-x8;
607 snps,force_thresh_dma_mode;
608 snps,axi-config = <&stmmac_axi_setup>;
609 snps,tso;
610 snps,en-tx-lpi-clockgating;
611 snps,txpbl = <16>;
612 snps,rxpbl = <16>;
613 starfive,syscon = <&sys_syscon 0x90 0x2>;
614 status = "disabled";
615 };
616
Yanhong Wang96c3eb722023-03-29 11:42:21 +0800617 aoncrg: clock-controller@17000000 {
618 compatible = "starfive,jh7110-aoncrg";
619 reg = <0x0 0x17000000 0x0 0x10000>;
620 clocks = <&osc>, <&rtc_osc>,
621 <&gmac0_rmii_refin>, <&gmac0_rgmii_rxin>,
622 <&syscrg JH7110_SYSCLK_STG_AXIAHB>,
623 <&syscrg JH7110_SYSCLK_APB_BUS>,
624 <&syscrg JH7110_SYSCLK_GMAC0_GTXCLK>;
625 clock-names = "osc", "rtc_osc", "gmac0_rmii_refin",
626 "gmac0_rgmii_rxin", "stg_axiahb",
627 "apb_bus", "gmac0_gtxclk";
628 #clock-cells = <1>;
629 #reset-cells = <1>;
630 };
631
632 aon_syscon: aon_syscon@17010000 {
633 compatible = "starfive,jh7110-aon-syscon","syscon";
634 reg = <0x0 0x17010000 0x0 0x1000>;
635 };
636
637 aongpio: pinctrl@17020000 {
638 compatible = "starfive,jh7110-aon-pinctrl";
639 reg = <0x0 0x17020000 0x0 0x10000>;
640 resets = <&aoncrg JH7110_AONRST_IOMUX>;
641 interrupts = <85>;
642 interrupt-controller;
643 #interrupt-cells = <2>;
644 gpio-controller;
645 #gpio-cells = <2>;
646 };
647 };
648};