summaryrefslogtreecommitdiff
path: root/arch/riscv/boot/dts/starfive/jh7110.dtsi
blob: ef3dfe05ba51647c2fcc979196e1a2473adc4faf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
// SPDX-License-Identifier: GPL-2.0 OR MIT
/*
 * Copyright (C) 2022 StarFive Technology Co., Ltd.
 * Copyright (C) 2022 Emil Renner Berthing <kernel@esmil.dk>
 */

/dts-v1/;
#include <dt-bindings/clock/starfive,jh7110-crg.h>
#include <dt-bindings/power/starfive,jh7110-pmu.h>
#include <dt-bindings/reset/starfive,jh7110-crg.h>
#include <dt-bindings/thermal/thermal.h>

/ {
	compatible = "starfive,jh7110";
	#address-cells = <2>;
	#size-cells = <2>;

	cpus {
		#address-cells = <1>;
		#size-cells = <0>;

		S7_0: cpu@0 {
			compatible = "sifive,s7", "riscv";
			reg = <0>;
			device_type = "cpu";
			i-cache-block-size = <64>;
			i-cache-sets = <64>;
			i-cache-size = <16384>;
			next-level-cache = <&ccache>;
			riscv,isa = "rv64imac_zba_zbb";
			status = "disabled";

			cpu0_intc: interrupt-controller {
				compatible = "riscv,cpu-intc";
				interrupt-controller;
				#interrupt-cells = <1>;
			};
		};

		U74_1: cpu@1 {
			compatible = "sifive,u74-mc", "riscv";
			reg = <1>;
			d-cache-block-size = <64>;
			d-cache-sets = <64>;
			d-cache-size = <32768>;
			d-tlb-sets = <1>;
			d-tlb-size = <40>;
			device_type = "cpu";
			i-cache-block-size = <64>;
			i-cache-sets = <64>;
			i-cache-size = <32768>;
			i-tlb-sets = <1>;
			i-tlb-size = <40>;
			mmu-type = "riscv,sv39";
			next-level-cache = <&ccache>;
			riscv,isa = "rv64imafdc_zba_zbb";
			tlb-split;
			operating-points-v2 = <&cpu_opp>;
			clocks = <&syscrg JH7110_SYSCLK_CPU_CORE>;
			clock-names = "cpu";
			#cooling-cells = <2>;

			cpu1_intc: interrupt-controller {
				compatible = "riscv,cpu-intc";
				interrupt-controller;
				#interrupt-cells = <1>;
			};
		};

		U74_2: cpu@2 {
			compatible = "sifive,u74-mc", "riscv";
			reg = <2>;
			d-cache-block-size = <64>;
			d-cache-sets = <64>;
			d-cache-size = <32768>;
			d-tlb-sets = <1>;
			d-tlb-size = <40>;
			device_type = "cpu";
			i-cache-block-size = <64>;
			i-cache-sets = <64>;
			i-cache-size = <32768>;
			i-tlb-sets = <1>;
			i-tlb-size = <40>;
			mmu-type = "riscv,sv39";
			next-level-cache = <&ccache>;
			riscv,isa = "rv64imafdc_zba_zbb";
			tlb-split;
			operating-points-v2 = <&cpu_opp>;
			clocks = <&syscrg JH7110_SYSCLK_CPU_CORE>;
			clock-names = "cpu";
			#cooling-cells = <2>;

			cpu2_intc: interrupt-controller {
				compatible = "riscv,cpu-intc";
				interrupt-controller;
				#interrupt-cells = <1>;
			};
		};

		U74_3: cpu@3 {
			compatible = "sifive,u74-mc", "riscv";
			reg = <3>;
			d-cache-block-size = <64>;
			d-cache-sets = <64>;
			d-cache-size = <32768>;
			d-tlb-sets = <1>;
			d-tlb-size = <40>;
			device_type = "cpu";
			i-cache-block-size = <64>;
			i-cache-sets = <64>;
			i-cache-size = <32768>;
			i-tlb-sets = <1>;
			i-tlb-size = <40>;
			mmu-type = "riscv,sv39";
			next-level-cache = <&ccache>;
			riscv,isa = "rv64imafdc_zba_zbb";
			tlb-split;
			operating-points-v2 = <&cpu_opp>;
			clocks = <&syscrg JH7110_SYSCLK_CPU_CORE>;
			clock-names = "cpu";
			#cooling-cells = <2>;

			cpu3_intc: interrupt-controller {
				compatible = "riscv,cpu-intc";
				interrupt-controller;
				#interrupt-cells = <1>;
			};
		};

		U74_4: cpu@4 {
			compatible = "sifive,u74-mc", "riscv";
			reg = <4>;
			d-cache-block-size = <64>;
			d-cache-sets = <64>;
			d-cache-size = <32768>;
			d-tlb-sets = <1>;
			d-tlb-size = <40>;
			device_type = "cpu";
			i-cache-block-size = <64>;
			i-cache-sets = <64>;
			i-cache-size = <32768>;
			i-tlb-sets = <1>;
			i-tlb-size = <40>;
			mmu-type = "riscv,sv39";
			next-level-cache = <&ccache>;
			riscv,isa = "rv64imafdc_zba_zbb";
			tlb-split;
			operating-points-v2 = <&cpu_opp>;
			clocks = <&syscrg JH7110_SYSCLK_CPU_CORE>;
			clock-names = "cpu";
			#cooling-cells = <2>;

			cpu4_intc: interrupt-controller {
				compatible = "riscv,cpu-intc";
				interrupt-controller;
				#interrupt-cells = <1>;
			};
		};

		cpu-map {
			cluster0 {
				core0 {
					cpu = <&S7_0>;
				};

				core1 {
					cpu = <&U74_1>;
				};

				core2 {
					cpu = <&U74_2>;
				};

				core3 {
					cpu = <&U74_3>;
				};

				core4 {
					cpu = <&U74_4>;
				};
			};
		};
	};

	cpu_opp: opp-table-0 {
			compatible = "operating-points-v2";
			opp-shared;
			opp-375000000 {
					opp-hz = /bits/ 64 <375000000>;
					opp-microvolt = <800000>;
			};
			opp-500000000 {
					opp-hz = /bits/ 64 <500000000>;
					opp-microvolt = <800000>;
			};
			opp-750000000 {
					opp-hz = /bits/ 64 <750000000>;
					opp-microvolt = <800000>;
					opp-suspend;
			};
			opp-1500000000 {
					opp-hz = /bits/ 64 <1500000000>;
					opp-microvolt = <1040000>;
			};
			/* CPU opp table for 1.25GHz */
			opp-312500000 {
					opp-hz = /bits/ 64 <312500000>;
					opp-microvolt = <800000>;
			};
			opp-417000000 {
					opp-hz = /bits/ 64 <417000000>;
					opp-microvolt = <800000>;
			};
			opp-625000000 {
					opp-hz = /bits/ 64 <625000000>;
					opp-microvolt = <800000>;
					opp-suspend;
			};
			opp-1250000000 {
					opp-hz = /bits/ 64 <1250000000>;
					opp-microvolt = <1000000>;
			};
	};

	display: display-subsystem {
		compatible = "starfive,jh7110-display","verisilicon,display-subsystem";
		status = "disabled";
	};

	dsi_output: dsi-output {
		compatible = "starfive,jh7110-display-encoder","verisilicon,dsi-encoder";
		status = "disabled";
	};

	mailbox_client0: mailbox_client {
		compatible = "starfive,mailbox-test";
		mbox-names = "rx", "tx";
		mboxes = <&mailbox_contrl0 0 1>,<&mailbox_contrl0 1 0>;
		status = "disabled";
	};

	rgb_output: rgb-output {
		compatible = "starfive,jh7110-rgb_output","verisilicon,rgb-encoder";
		//verisilicon,dss-syscon = <&dssctrl>;
		//verisilicon,mux-mask = <0x70 0x380>;
		//verisilicon,mux-val = <0x40 0x280>;
		status = "disabled";
	};

	tda988x_pin: tda988x_pin {
		compatible = "starfive,tda998x_rgb_pin";
		status = "disabled";
	};

	thermal-zones {
		cpu-thermal {
			polling-delay-passive = <250>;
			polling-delay = <15000>;

			thermal-sensors = <&sfctemp>;

			cooling-maps {
				map0 {
					trip = <&cpu_alert0>;
					cooling-device =
						<&U74_1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
						<&U74_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
						<&U74_3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
						<&U74_4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
				};
			};

			trips {
				cpu_alert0: cpu_alert0 {
					/* milliCelsius */
					temperature = <85000>;
					hysteresis = <2000>;
					type = "passive";
				};

				cpu_crit {
					/* milliCelsius */
					temperature = <100000>;
					hysteresis = <2000>;
					type = "critical";
				};
			};
		};
	};

	dvp_clk: dvp-clock {
		compatible = "fixed-clock";
		clock-output-names = "dvp_clk";
		#clock-cells = <0>;
	};

	gmac0_rgmii_rxin: gmac0-rgmii-rxin-clock {
		compatible = "fixed-clock";
		clock-output-names = "gmac0_rgmii_rxin";
		#clock-cells = <0>;
	};

	gmac0_rmii_refin: gmac0-rmii-refin-clock {
		compatible = "fixed-clock";
		clock-output-names = "gmac0_rmii_refin";
		#clock-cells = <0>;
	};

	gmac1_rgmii_rxin: gmac1-rgmii-rxin-clock {
		compatible = "fixed-clock";
		clock-output-names = "gmac1_rgmii_rxin";
		#clock-cells = <0>;
	};

	gmac1_rmii_refin: gmac1-rmii-refin-clock {
		compatible = "fixed-clock";
		clock-output-names = "gmac1_rmii_refin";
		#clock-cells = <0>;
	};

	hdmitx0_pixelclk: hdmitx0-pixel-clock {
		compatible = "fixed-clock";
		clock-output-names = "hdmitx0_pixelclk";
		#clock-cells = <0>;
	};

	i2srx_bclk_ext: i2srx-bclk-ext-clock {
		compatible = "fixed-clock";
		clock-output-names = "i2srx_bclk_ext";
		#clock-cells = <0>;
	};

	i2srx_lrck_ext: i2srx-lrck-ext-clock {
		compatible = "fixed-clock";
		clock-output-names = "i2srx_lrck_ext";
		#clock-cells = <0>;
	};

	i2stx_bclk_ext: i2stx-bclk-ext-clock {
		compatible = "fixed-clock";
		clock-output-names = "i2stx_bclk_ext";
		#clock-cells = <0>;
	};

	i2stx_lrck_ext: i2stx-lrck-ext-clock {
		compatible = "fixed-clock";
		clock-output-names = "i2stx_lrck_ext";
		#clock-cells = <0>;
	};

	mclk_ext: mclk-ext-clock {
		compatible = "fixed-clock";
		clock-output-names = "mclk_ext";
		#clock-cells = <0>;
	};

	osc: oscillator {
		compatible = "fixed-clock";
		clock-output-names = "osc";
		#clock-cells = <0>;
	};

	rtc_osc: rtc-oscillator {
		compatible = "fixed-clock";
		clock-output-names = "rtc_osc";
		#clock-cells = <0>;
	};

	stmmac_axi_setup: stmmac-axi-config {
		snps,lpi_en;
		snps,wr_osr_lmt = <15>;
		snps,rd_osr_lmt = <15>;
		snps,blen = <256 128 64 32 0 0 0>;
	};

	tdm_ext: tdm-ext-clock {
		compatible = "fixed-clock";
		clock-output-names = "tdm_ext";
		#clock-cells = <0>;
	};

	soc {
		compatible = "simple-bus";
		interrupt-parent = <&plic>;
		#address-cells = <2>;
		#size-cells = <2>;
		ranges;

		clint: timer@2000000 {
			compatible = "starfive,jh7110-clint", "sifive,clint0";
			reg = <0x0 0x2000000 0x0 0x10000>;
			interrupts-extended = <&cpu0_intc 3>, <&cpu0_intc 7>,
					      <&cpu1_intc 3>, <&cpu1_intc 7>,
					      <&cpu2_intc 3>, <&cpu2_intc 7>,
					      <&cpu3_intc 3>, <&cpu3_intc 7>,
					      <&cpu4_intc 3>, <&cpu4_intc 7>;
		};

		ccache: cache-controller@2010000 {
			compatible = "starfive,jh7110-ccache", "sifive,ccache0", "cache";
			reg = <0x0 0x2010000 0x0 0x4000>,
			      <0x0 0x8000000 0x0 0x2000000>,
			      <0x0 0xa000000 0x0 0x2000000>;
			interrupts = <1>, <3>, <4>, <2>;
			cache-block-size = <64>;
			cache-level = <2>;
			cache-sets = <2048>;
			cache-size = <2097152>;
			cache-unified;
		};

		plic: interrupt-controller@c000000 {
			compatible = "starfive,jh7110-plic", "sifive,plic-1.0.0";
			reg = <0x0 0xc000000 0x0 0x4000000>;
			interrupts-extended = <&cpu0_intc 11>,
					      <&cpu1_intc 11>, <&cpu1_intc 9>,
					      <&cpu2_intc 11>, <&cpu2_intc 9>,
					      <&cpu3_intc 11>, <&cpu3_intc 9>,
					      <&cpu4_intc 11>, <&cpu4_intc 9>;
			interrupt-controller;
			#interrupt-cells = <1>;
			#address-cells = <0>;
			riscv,ndev = <136>;
		};

		uart0: serial@10000000 {
			compatible = "snps,dw-apb-uart";
			reg = <0x0 0x10000000 0x0 0x10000>;
			clocks = <&syscrg JH7110_SYSCLK_UART0_CORE>,
				 <&syscrg JH7110_SYSCLK_UART0_APB>;
			clock-names = "baudclk", "apb_pclk";
			resets = <&syscrg JH7110_SYSRST_UART0_APB>,
				 <&syscrg JH7110_SYSRST_UART0_CORE>;
			interrupts = <32>;
			reg-io-width = <4>;
			reg-shift = <2>;
			status = "disabled";
		};

		uart1: serial@10010000 {
			compatible = "snps,dw-apb-uart";
			reg = <0x0 0x10010000 0x0 0x10000>;
			clocks = <&syscrg JH7110_SYSCLK_UART1_CORE>,
				 <&syscrg JH7110_SYSCLK_UART1_APB>;
			clock-names = "baudclk", "apb_pclk";
			resets = <&syscrg JH7110_SYSRST_UART1_APB>,
				 <&syscrg JH7110_SYSRST_UART1_CORE>;
			interrupts = <33>;
			reg-io-width = <4>;
			reg-shift = <2>;
			status = "disabled";
		};

		uart2: serial@10020000 {
			compatible = "snps,dw-apb-uart";
			reg = <0x0 0x10020000 0x0 0x10000>;
			clocks = <&syscrg JH7110_SYSCLK_UART2_CORE>,
				 <&syscrg JH7110_SYSCLK_UART2_APB>;
			clock-names = "baudclk", "apb_pclk";
			resets = <&syscrg JH7110_SYSRST_UART2_APB>,
				 <&syscrg JH7110_SYSRST_UART2_CORE>;
			interrupts = <34>;
			reg-io-width = <4>;
			reg-shift = <2>;
			status = "disabled";
		};

		i2c0: i2c@10030000 {
			compatible = "snps,designware-i2c";
			reg = <0x0 0x10030000 0x0 0x10000>;
			clocks = <&syscrg JH7110_SYSCLK_I2C0_APB>;
			clock-names = "ref";
			resets = <&syscrg JH7110_SYSRST_I2C0_APB>;
			interrupts = <35>;
			#address-cells = <1>;
			#size-cells = <0>;
			status = "disabled";
		};

		i2c1: i2c@10040000 {
			compatible = "snps,designware-i2c";
			reg = <0x0 0x10040000 0x0 0x10000>;
			clocks = <&syscrg JH7110_SYSCLK_I2C1_APB>;
			clock-names = "ref";
			resets = <&syscrg JH7110_SYSRST_I2C1_APB>;
			interrupts = <36>;
			#address-cells = <1>;
			#size-cells = <0>;
			status = "disabled";
		};

		i2c2: i2c@10050000 {
			compatible = "snps,designware-i2c";
			reg = <0x0 0x10050000 0x0 0x10000>;
			clocks = <&syscrg JH7110_SYSCLK_I2C2_APB>;
			clock-names = "ref";
			resets = <&syscrg JH7110_SYSRST_I2C2_APB>;
			interrupts = <37>;
			#address-cells = <1>;
			#size-cells = <0>;
			status = "disabled";
		};

		spi0: spi@10060000 {
			compatible = "arm,pl022", "arm,primecell";
			reg = <0x0 0x10060000 0x0 0x10000>;
			clocks = <&syscrg JH7110_SYSCLK_SPI0_APB>,
				 <&syscrg JH7110_SYSCLK_SPI0_APB>;
			clock-names = "sspclk", "apb_pclk";
			resets = <&syscrg JH7110_SYSRST_SPI0_APB>;
			interrupts = <38>;
			arm,primecell-periphid = <0x00041022>;
			num-cs = <1>;
			#address-cells = <1>;
			#size-cells = <0>;
			status = "disabled";
		};

		spi1: spi@10070000 {
			compatible = "arm,pl022", "arm,primecell";
			reg = <0x0 0x10070000 0x0 0x10000>;
			clocks = <&syscrg JH7110_SYSCLK_SPI1_APB>,
				 <&syscrg JH7110_SYSCLK_SPI1_APB>;
			clock-names = "sspclk", "apb_pclk";
			resets = <&syscrg JH7110_SYSRST_SPI1_APB>;
			interrupts = <39>;
			arm,primecell-periphid = <0x00041022>;
			num-cs = <1>;
			#address-cells = <1>;
			#size-cells = <0>;
			status = "disabled";
		};

		spi2: spi@10080000 {
			compatible = "arm,pl022", "arm,primecell";
			reg = <0x0 0x10080000 0x0 0x10000>;
			clocks = <&syscrg JH7110_SYSCLK_SPI2_APB>,
				 <&syscrg JH7110_SYSCLK_SPI2_APB>;
			clock-names = "sspclk", "apb_pclk";
			resets = <&syscrg JH7110_SYSRST_SPI2_APB>;
			interrupts = <40>;
			arm,primecell-periphid = <0x00041022>;
			num-cs = <1>;
			#address-cells = <1>;
			#size-cells = <0>;
			status = "disabled";
		};

		tdm: tdm@10090000 {
			compatible = "starfive,jh7110-tdm";
			reg = <0x0 0x10090000 0x0 0x1000>;
			clocks = <&syscrg JH7110_SYSCLK_TDM_AHB>,
				 <&syscrg JH7110_SYSCLK_TDM_APB>,
				 <&syscrg JH7110_SYSCLK_TDM_INTERNAL>,
				 <&syscrg JH7110_SYSCLK_TDM_TDM>,
				 <&syscrg JH7110_SYSCLK_MCLK_INNER>,
				 <&tdm_ext>;
			clock-names = "tdm_ahb", "tdm_apb",
				      "tdm_internal", "tdm",
				      "mclk_inner", "tdm_ext";
			resets = <&syscrg JH7110_SYSRST_TDM_AHB>,
				 <&syscrg JH7110_SYSRST_TDM_APB>,
				 <&syscrg JH7110_SYSRST_TDM_CORE>;
			dmas = <&dma 20>, <&dma 21>;
			dma-names = "rx","tx";
			#sound-dai-cells = <0>;
			status = "disabled";
		};

		spdif: spdif@100a0000 {
			compatible = "starfive,jh7110-spdif";
			reg = <0x0 0x100a0000 0x0 0x1000>;
			clocks = <&syscrg JH7110_SYSCLK_SPDIF_APB>,
				 <&syscrg JH7110_SYSCLK_SPDIF_CORE>,
				 <&syscrg JH7110_SYSCLK_AUDIO_ROOT>,
				 <&syscrg JH7110_SYSCLK_MCLK_INNER>,
				 <&mclk_ext>, <&syscrg JH7110_SYSCLK_MCLK>;
			clock-names = "apb", "core",
				      "audroot", "mclk_inner",
				      "mclk_ext", "mclk";
			resets = <&syscrg JH7110_SYSRST_SPDIF_APB>;
			reset-names = "apb";
			interrupts = <84>;
			interrupt-names = "tx";
			#sound-dai-cells = <0>;
			status = "disabled";
		};

		pwmdac: pwmdac@100b0000 {
			compatible = "starfive,jh7110-pwmdac";
			reg = <0x0 0x100b0000 0x0 0x1000>;
			clocks = <&syscrg JH7110_SYSCLK_PWMDAC_APB>,
				 <&syscrg JH7110_SYSCLK_PWMDAC_CORE>;
			clock-names = "apb", "core";
			resets = <&syscrg JH7110_SYSRST_PWMDAC_APB>;
			dmas = <&dma 22>;
			dma-names = "tx";
			#sound-dai-cells = <0>;
			status = "disabled";
		};

		pdm: pdm@100d0000 {
			compatible = "starfive,jh7110-pdm";
			reg = <0x0 0x100d0000 0x0 0x1000>;
			reg-names = "pdm";
			clocks = <&syscrg JH7110_SYSCLK_PDM_DMIC>,
				 <&syscrg JH7110_SYSCLK_PDM_APB>,
				 <&syscrg JH7110_SYSCLK_MCLK>,
				 <&mclk_ext>;
			clock-names = "pdm_mclk", "pdm_apb",
				      "clk_mclk", "mclk_ext";
			resets = <&syscrg JH7110_SYSRST_PDM_DMIC>,
				 <&syscrg JH7110_SYSRST_PDM_APB>;
			reset-names = "pdm_dmic", "pdm_apb";
			#sound-dai-cells = <0>;
			status = "disabled";
		};

		i2srx_mst: i2srx_mst@100e0000 {
			compatible = "starfive,jh7110-i2srx-master";
			reg = <0x0 0x100e0000 0x0 0x1000>;
			clocks = <&syscrg JH7110_SYSCLK_I2SRX_BCLK_MST>,
				 <&syscrg JH7110_SYSCLK_I2SRX_APB>,
				 <&syscrg JH7110_SYSCLK_MCLK>,
				 <&syscrg JH7110_SYSCLK_MCLK_INNER>,
				 <&mclk_ext>;
			clock-names = "i2sclk", "apb", "mclk",
				      "mclk_inner","mclk_ext";
			resets = <&syscrg JH7110_SYSRST_I2SRX_APB>,
				 <&syscrg JH7110_SYSRST_I2SRX_BCLK>;
			dmas = <&dma 24>;
			dma-names = "rx";
			starfive,syscon = <&sys_syscon 0x18 0x2 0x34 0x3FC00 0x24400>;
			#sound-dai-cells = <0>;
			status = "disabled";
		};

		i2srx: i2s@100e0000 {
			compatible = "starfive,jh7110-i2srx";
			reg = <0x0 0x100e0000 0x0 0x1000>;
			clocks = <&syscrg JH7110_SYSCLK_I2SRX_BCLK_MST>,
				 <&syscrg JH7110_SYSCLK_I2SRX_APB>,
				 <&syscrg JH7110_SYSCLK_MCLK>,
				 <&syscrg JH7110_SYSCLK_MCLK_INNER>,
				 <&mclk_ext>,
				 <&syscrg JH7110_SYSCLK_I2SRX_BCLK>,
				 <&syscrg JH7110_SYSCLK_I2SRX_LRCK>,
				 <&i2srx_bclk_ext>,
				 <&i2srx_lrck_ext>;
			clock-names = "i2sclk", "apb", "mclk",
				      "mclk_inner", "mclk_ext", "bclk",
				      "lrck", "bclk_ext", "lrck_ext";
			resets = <&syscrg JH7110_SYSRST_I2SRX_APB>,
				 <&syscrg JH7110_SYSRST_I2SRX_BCLK>;
			dmas = <0>, <&dma 24>;
			dma-names = "tx", "rx";
			starfive,syscon = <&sys_syscon 0x18 0x2>;
			#sound-dai-cells = <0>;
			status = "disabled";
		};

		usb0: usb@10100000 {
			compatible = "starfive,jh7110-usb";
			ranges = <0x0 0x0 0x10100000 0x100000>;
			#address-cells = <1>;
			#size-cells = <1>;
			starfive,stg-syscon = <&stg_syscon 0x4>;
			clocks = <&stgcrg JH7110_STGCLK_USB0_LPM>,
				 <&stgcrg JH7110_STGCLK_USB0_STB>,
				 <&stgcrg JH7110_STGCLK_USB0_APB>,
				 <&stgcrg JH7110_STGCLK_USB0_AXI>,
				 <&stgcrg JH7110_STGCLK_USB0_UTMI_APB>;
			clock-names = "lpm", "stb", "apb", "axi", "utmi_apb";
			resets = <&stgcrg JH7110_STGRST_USB0_PWRUP>,
				 <&stgcrg JH7110_STGRST_USB0_APB>,
				 <&stgcrg JH7110_STGRST_USB0_AXI>,
				 <&stgcrg JH7110_STGRST_USB0_UTMI_APB>;
			reset-names = "pwrup", "apb", "axi", "utmi_apb";
			status = "disabled";

			usb_cdns3: usb@0 {
				compatible = "cdns,usb3";
				reg = <0x0 0x10000>,
				      <0x10000 0x10000>,
				      <0x20000 0x10000>;
				reg-names = "otg", "xhci", "dev";
				interrupts = <100>, <108>, <110>;
				interrupt-names = "host", "peripheral", "otg";
				phys = <&usbphy0>;
				phy-names = "cdns3,usb2-phy";
			};
		};

		usbphy0: phy@10200000 {
			compatible = "starfive,jh7110-usb-phy";
			reg = <0x0 0x10200000 0x0 0x10000>;
			clocks = <&syscrg JH7110_SYSCLK_USB_125M>,
				 <&stgcrg JH7110_STGCLK_USB0_APP_125>;
			clock-names = "125m", "app_125m";
			#phy-cells = <0>;
		};

		pciephy0: phy@10210000 {
			compatible = "starfive,jh7110-pcie-phy";
			reg = <0x0 0x10210000 0x0 0x10000>;
			#phy-cells = <0>;
		};

		pciephy1: phy@10220000 {
			compatible = "starfive,jh7110-pcie-phy";
			reg = <0x0 0x10220000 0x0 0x10000>;
			#phy-cells = <0>;
		};

		stgcrg: clock-controller@10230000 {
			compatible = "starfive,jh7110-stgcrg";
			reg = <0x0 0x10230000 0x0 0x10000>;
			clocks = <&osc>,
				 <&syscrg JH7110_SYSCLK_HIFI4_CORE>,
				 <&syscrg JH7110_SYSCLK_STG_AXIAHB>,
				 <&syscrg JH7110_SYSCLK_USB_125M>,
				 <&syscrg JH7110_SYSCLK_CPU_BUS>,
				 <&syscrg JH7110_SYSCLK_HIFI4_AXI>,
				 <&syscrg JH7110_SYSCLK_NOCSTG_BUS>,
				 <&syscrg JH7110_SYSCLK_APB_BUS>;
			clock-names = "osc", "hifi4_core",
				      "stg_axiahb", "usb_125m",
				      "cpu_bus", "hifi4_axi",
				      "nocstg_bus", "apb_bus";
			#clock-cells = <1>;
			#reset-cells = <1>;
		};

		xrp: xrp@10230000 {
			compatible = "cdns,xrp";
			dma-coherent;
			reg = <0x0 0x10230000 0x0 0x00010000
			       0x0 0x10240000 0x0 0x00010000>;
			clocks = <&stgcrg JH7110_STGCLK_HIFI4_CLK_CORE>;
			clock-names = "core_clk";
			resets = <&stgcrg JH7110_STGRST_HIFI4_CORE>,
				 <&stgcrg JH7110_STGRST_HIFI4_AXI>;
			reset-names = "rst_core","rst_axi";
			starfive,stg-syscon = <&stg_syscon>;
			firmware-name = "hifi4_elf";
			#address-cells = <1>;
			#size-cells = <1>;
			ranges = <0x40000000 0x0 0x20000000 0x040000
				0x69c00000 0x0 0x69c00000 0x03000000>;
			status = "disabled";
			dsp@0 {};
		};

		stg_syscon: syscon@10240000 {
			compatible = "starfive,jh7110-stg-syscon", "syscon";
			reg = <0x0 0x10240000 0x0 0x1000>;
		};

		uart3: serial@12000000 {
			compatible = "snps,dw-apb-uart";
			reg = <0x0 0x12000000 0x0 0x10000>;
			clocks = <&syscrg JH7110_SYSCLK_UART3_CORE>,
				 <&syscrg JH7110_SYSCLK_UART3_APB>;
			clock-names = "baudclk", "apb_pclk";
			resets = <&syscrg JH7110_SYSRST_UART3_APB>,
				 <&syscrg JH7110_SYSRST_UART3_CORE>;
			interrupts = <45>;
			reg-io-width = <4>;
			reg-shift = <2>;
			status = "disabled";
		};

		uart4: serial@12010000 {
			compatible = "snps,dw-apb-uart";
			reg = <0x0 0x12010000 0x0 0x10000>;
			clocks = <&syscrg JH7110_SYSCLK_UART4_CORE>,
				 <&syscrg JH7110_SYSCLK_UART4_APB>;
			clock-names = "baudclk", "apb_pclk";
			resets = <&syscrg JH7110_SYSRST_UART4_APB>,
				 <&syscrg JH7110_SYSRST_UART4_CORE>;
			interrupts = <46>;
			reg-io-width = <4>;
			reg-shift = <2>;
			status = "disabled";
		};

		uart5: serial@12020000 {
			compatible = "snps,dw-apb-uart";
			reg = <0x0 0x12020000 0x0 0x10000>;
			clocks = <&syscrg JH7110_SYSCLK_UART5_CORE>,
				 <&syscrg JH7110_SYSCLK_UART5_APB>;
			clock-names = "baudclk", "apb_pclk";
			resets = <&syscrg JH7110_SYSRST_UART5_APB>,
				 <&syscrg JH7110_SYSRST_UART5_CORE>;
			interrupts = <47>;
			reg-io-width = <4>;
			reg-shift = <2>;
			status = "disabled";
		};

		i2c3: i2c@12030000 {
			compatible = "snps,designware-i2c";
			reg = <0x0 0x12030000 0x0 0x10000>;
			clocks = <&syscrg JH7110_SYSCLK_I2C3_APB>;
			clock-names = "ref";
			resets = <&syscrg JH7110_SYSRST_I2C3_APB>;
			interrupts = <48>;
			#address-cells = <1>;
			#size-cells = <0>;
			status = "disabled";
		};

		i2c4: i2c@12040000 {
			compatible = "snps,designware-i2c";
			reg = <0x0 0x12040000 0x0 0x10000>;
			clocks = <&syscrg JH7110_SYSCLK_I2C4_APB>;
			clock-names = "ref";
			resets = <&syscrg JH7110_SYSRST_I2C4_APB>;
			interrupts = <49>;
			#address-cells = <1>;
			#size-cells = <0>;
			status = "disabled";
		};

		i2c5: i2c@12050000 {
			compatible = "snps,designware-i2c";
			reg = <0x0 0x12050000 0x0 0x10000>;
			clocks = <&syscrg JH7110_SYSCLK_I2C5_APB>;
			clock-names = "ref";
			resets = <&syscrg JH7110_SYSRST_I2C5_APB>;
			interrupts = <50>;
			#address-cells = <1>;
			#size-cells = <0>;
			status = "disabled";
		};

		i2c6: i2c@12060000 {
			compatible = "snps,designware-i2c";
			reg = <0x0 0x12060000 0x0 0x10000>;
			clocks = <&syscrg JH7110_SYSCLK_I2C6_APB>;
			clock-names = "ref";
			resets = <&syscrg JH7110_SYSRST_I2C6_APB>;
			interrupts = <51>;
			#address-cells = <1>;
			#size-cells = <0>;
			status = "disabled";
		};

		spi3: spi@12070000 {
			compatible = "arm,pl022", "arm,primecell";
			reg = <0x0 0x12070000 0x0 0x10000>;
			clocks = <&syscrg JH7110_SYSCLK_SPI3_APB>,
				 <&syscrg JH7110_SYSCLK_SPI3_APB>;
			clock-names = "sspclk", "apb_pclk";
			resets = <&syscrg JH7110_SYSRST_SPI3_APB>;
			interrupts = <52>;
			arm,primecell-periphid = <0x00041022>;
			num-cs = <1>;
			#address-cells = <1>;
			#size-cells = <0>;
			status = "disabled";
		};

		spi4: spi@12080000 {
			compatible = "arm,pl022", "arm,primecell";
			reg = <0x0 0x12080000 0x0 0x10000>;
			clocks = <&syscrg JH7110_SYSCLK_SPI4_APB>,
				 <&syscrg JH7110_SYSCLK_SPI4_APB>;
			clock-names = "sspclk", "apb_pclk";
			resets = <&syscrg JH7110_SYSRST_SPI4_APB>;
			interrupts = <53>;
			arm,primecell-periphid = <0x00041022>;
			num-cs = <1>;
			#address-cells = <1>;
			#size-cells = <0>;
			status = "disabled";
		};

		spi5: spi@12090000 {
			compatible = "arm,pl022", "arm,primecell";
			reg = <0x0 0x12090000 0x0 0x10000>;
			clocks = <&syscrg JH7110_SYSCLK_SPI5_APB>,
				 <&syscrg JH7110_SYSCLK_SPI5_APB>;
			clock-names = "sspclk", "apb_pclk";
			resets = <&syscrg JH7110_SYSRST_SPI5_APB>;
			interrupts = <54>;
			arm,primecell-periphid = <0x00041022>;
			num-cs = <1>;
			#address-cells = <1>;
			#size-cells = <0>;
			status = "disabled";
		};

		spi6: spi@120a0000 {
			compatible = "arm,pl022", "arm,primecell";
			reg = <0x0 0x120A0000 0x0 0x10000>;
			clocks = <&syscrg JH7110_SYSCLK_SPI6_APB>,
				 <&syscrg JH7110_SYSCLK_SPI6_APB>;
			clock-names = "sspclk", "apb_pclk";
			resets = <&syscrg JH7110_SYSRST_SPI6_APB>;
			interrupts = <55>;
			arm,primecell-periphid = <0x00041022>;
			num-cs = <1>;
			#address-cells = <1>;
			#size-cells = <0>;
			status = "disabled";
		};

		i2stx0: i2s@120b0000 {
			compatible = "starfive,jh7110-i2stx0";
			reg = <0x0 0x120b0000 0x0 0x1000>;
			clocks = <&syscrg JH7110_SYSCLK_I2STX0_BCLK_MST>,
				 <&syscrg JH7110_SYSCLK_I2STX0_APB>,
				 <&syscrg JH7110_SYSCLK_MCLK>,
				 <&syscrg JH7110_SYSCLK_MCLK_INNER>,
				 <&mclk_ext>;
			clock-names = "i2sclk", "apb", "mclk",
				      "mclk_inner","mclk_ext";
			resets = <&syscrg JH7110_SYSRST_I2STX0_APB>,
				 <&syscrg JH7110_SYSRST_I2STX0_BCLK>;
			dmas = <&dma 47>;
			dma-names = "tx";
			#sound-dai-cells = <0>;
			status = "disabled";
		};

		i2stx1: i2s@120c0000 {
			compatible = "starfive,jh7110-i2stx1";
			reg = <0x0 0x120c0000 0x0 0x1000>;
			clocks = <&syscrg JH7110_SYSCLK_I2STX1_BCLK_MST>,
				 <&syscrg JH7110_SYSCLK_I2STX1_APB>,
				 <&syscrg JH7110_SYSCLK_MCLK>,
				 <&syscrg JH7110_SYSCLK_MCLK_INNER>,
				 <&mclk_ext>,
				 <&syscrg JH7110_SYSCLK_I2STX1_BCLK>,
				 <&syscrg JH7110_SYSCLK_I2STX1_LRCK>,
				 <&i2stx_bclk_ext>,
				 <&i2stx_lrck_ext>;
			clock-names = "i2sclk", "apb", "mclk",
				      "mclk_inner", "mclk_ext", "bclk",
				      "lrck", "bclk_ext", "lrck_ext";
			resets = <&syscrg JH7110_SYSRST_I2STX1_APB>,
				 <&syscrg JH7110_SYSRST_I2STX1_BCLK>;
			dmas = <&dma 48>;
			dma-names = "tx";
			#sound-dai-cells = <0>;
			status = "disabled";
		};

		pwm: pwm@120d0000 {
			compatible = "starfive,jh7110-pwm", "opencores,pwm-v1";
			reg = <0x0 0x120d0000 0x0 0x10000>;
			clocks = <&syscrg JH7110_SYSCLK_PWM_APB>;
			resets = <&syscrg JH7110_SYSRST_PWM_APB>;
			#pwm-cells = <3>;
			status = "disabled";
		};

		sfctemp: temperature-sensor@120e0000 {
			compatible = "starfive,jh7110-temp";
			reg = <0x0 0x120e0000 0x0 0x10000>;
			clocks = <&syscrg JH7110_SYSCLK_TEMP_CORE>,
				 <&syscrg JH7110_SYSCLK_TEMP_APB>;
			clock-names = "sense", "bus";
			resets = <&syscrg JH7110_SYSRST_TEMP_CORE>,
				 <&syscrg JH7110_SYSRST_TEMP_APB>;
			reset-names = "sense", "bus";
			#thermal-sensor-cells = <0>;
		};

		qspi: spi@13010000 {
			compatible = "starfive,jh7110-qspi", "cdns,qspi-nor";
			reg = <0x0 0x13010000 0x0 0x10000>,
			      <0x0 0x21000000 0x0 0x400000>;
			interrupts = <25>;
			clocks = <&syscrg JH7110_SYSCLK_QSPI_REF>,
				 <&syscrg JH7110_SYSCLK_QSPI_AHB>,
				 <&syscrg JH7110_SYSCLK_QSPI_APB>;
			clock-names = "ref", "ahb", "apb";
			resets = <&syscrg JH7110_SYSRST_QSPI_APB>,
				 <&syscrg JH7110_SYSRST_QSPI_AHB>,
				 <&syscrg JH7110_SYSRST_QSPI_REF>;
			reset-names = "qspi", "qspi-ocp", "rstc_ref";
			cdns,fifo-depth = <256>;
			cdns,fifo-width = <4>;
			cdns,trigger-address = <0x0>;
			status = "disabled";
		};

		syscrg: clock-controller@13020000 {
			compatible = "starfive,jh7110-syscrg";
			reg = <0x0 0x13020000 0x0 0x10000>;
			clocks = <&osc>, <&gmac1_rmii_refin>,
				 <&gmac1_rgmii_rxin>,
				 <&i2stx_bclk_ext>, <&i2stx_lrck_ext>,
				 <&i2srx_bclk_ext>, <&i2srx_lrck_ext>,
				 <&tdm_ext>, <&mclk_ext>,
				 <&pllclk JH7110_PLLCLK_PLL0_OUT>,
				 <&pllclk JH7110_PLLCLK_PLL1_OUT>,
				 <&pllclk JH7110_PLLCLK_PLL2_OUT>;
			clock-names = "osc", "gmac1_rmii_refin",
				      "gmac1_rgmii_rxin",
				      "i2stx_bclk_ext", "i2stx_lrck_ext",
				      "i2srx_bclk_ext", "i2srx_lrck_ext",
				      "tdm_ext", "mclk_ext",
				      "pll0_out", "pll1_out", "pll2_out";
			#clock-cells = <1>;
			#reset-cells = <1>;
		};

		sys_syscon: syscon@13030000 {
			compatible = "starfive,jh7110-sys-syscon", "syscon", "simple-mfd";
			reg = <0x0 0x13030000 0x0 0x1000>;

			pllclk: clock-controller {
				compatible = "starfive,jh7110-pll";
				clocks = <&osc>;
				#clock-cells = <1>;
			};
		};

		sysgpio: pinctrl@13040000 {
			compatible = "starfive,jh7110-sys-pinctrl";
			reg = <0x0 0x13040000 0x0 0x10000>;
			clocks = <&syscrg JH7110_SYSCLK_IOMUX_APB>;
			resets = <&syscrg JH7110_SYSRST_IOMUX_APB>;
			interrupts = <86>;
			interrupt-controller;
			#interrupt-cells = <2>;
			gpio-controller;
			#gpio-cells = <2>;
		};

		timer@13050000 {
			compatible = "starfive,jh7110-timer";
			reg = <0x0 0x13050000 0x0 0x10000>;
			interrupts = <69>, <70>, <71>, <72>;
			clocks = <&syscrg JH7110_SYSCLK_TIMER_APB>,
				 <&syscrg JH7110_SYSCLK_TIMER0>,
				 <&syscrg JH7110_SYSCLK_TIMER1>,
				 <&syscrg JH7110_SYSCLK_TIMER2>,
				 <&syscrg JH7110_SYSCLK_TIMER3>;
			clock-names = "apb", "ch0", "ch1",
				      "ch2", "ch3";
			resets = <&syscrg JH7110_SYSRST_TIMER_APB>,
				 <&syscrg JH7110_SYSRST_TIMER0>,
				 <&syscrg JH7110_SYSRST_TIMER1>,
				 <&syscrg JH7110_SYSRST_TIMER2>,
				 <&syscrg JH7110_SYSRST_TIMER3>;
			reset-names = "apb", "ch0", "ch1",
				      "ch2", "ch3";
		};

		mailbox_contrl0: mailbox@13060000 {
			compatible = "starfive,mail_box";
			reg = <0x0 0x13060000 0x0 0x0001000>;
			clocks = <&syscrg JH7110_SYSCLK_MAILBOX_APB>;
			clock-names = "clk_apb";
			resets = <&syscrg JH7110_SYSRST_MAILBOX_APB>;
			reset-names = "mbx_rre";
			interrupts = <26 27>;
			#mbox-cells = <2>;
			status = "disabled";
		};

		watchdog@13070000 {
			compatible = "starfive,jh7110-wdt";
			reg = <0x0 0x13070000 0x0 0x10000>;
			clocks = <&syscrg JH7110_SYSCLK_WDT_APB>,
				 <&syscrg JH7110_SYSCLK_WDT_CORE>;
			clock-names = "apb", "core";
			resets = <&syscrg JH7110_SYSRST_WDT_APB>,
				 <&syscrg JH7110_SYSRST_WDT_CORE>;
		};

		jpu: jpu@13090000 {
			compatible = "starfive,jpu";
			dma-coherent;
			reg = <0x0 0x13090000 0x0 0x300>;
			interrupts = <14>;
			clocks = <&syscrg JH7110_SYSCLK_CODAJ12_AXI>,
				 <&syscrg JH7110_SYSCLK_CODAJ12_CORE>,
				 <&syscrg JH7110_SYSCLK_CODAJ12_APB>,
				 <&syscrg JH7110_SYSCLK_NOC_BUS_VDEC_AXI>,
				 <&syscrg JH7110_SYSCLK_VDEC_MAIN>,
				 <&syscrg JH7110_SYSCLK_VDEC_JPG>;
			clock-names = "axi_clk", "core_clk", "apb_clk",
				      "noc_bus", "main_clk", "dec_clk";
			resets = <&syscrg JH7110_SYSRST_CODAJ12_AXI>,
				 <&syscrg JH7110_SYSRST_CODAJ12_CORE>,
				 <&syscrg JH7110_SYSRST_CODAJ12_APB>;
			reset-names = "rst_axi", "rst_core", "rst_apb";
			power-domains = <&pwrc JH7110_PD_VDEC>;
			status = "disabled";
		};

		vpu_dec: vpu_dec@130a0000 {
			compatible = "starfive,vdec";
			dma-coherent;
			reg = <0x0 0x130a0000 0x0 0x10000>;
			interrupts = <13>;
			clocks = <&syscrg JH7110_SYSCLK_WAVE511_AXI>,
				 <&syscrg JH7110_SYSCLK_WAVE511_BPU>,
				 <&syscrg JH7110_SYSCLK_WAVE511_VCE>,
				 <&syscrg JH7110_SYSCLK_WAVE511_APB>,
				 <&syscrg JH7110_SYSCLK_NOC_BUS_VDEC_AXI>,
				 <&syscrg JH7110_SYSCLK_VDEC_MAIN>;
			clock-names = "axi_clk", "bpu_clk", "vce_clk",
				      "apb_clk", "noc_bus", "main_clk";
			resets = <&syscrg JH7110_SYSRST_WAVE511_AXI>,
				 <&syscrg JH7110_SYSRST_WAVE511_BPU>,
				 <&syscrg JH7110_SYSRST_WAVE511_VCE>,
				 <&syscrg JH7110_SYSRST_WAVE511_APB>,
				 <&syscrg JH7110_SYSRST_AXIMEM0_AXI>;
			reset-names = "rst_axi", "rst_bpu", "rst_vce",
				      "rst_apb", "rst_sram";
			starfive,vdec_noc_ctrl;
			power-domains = <&pwrc JH7110_PD_VDEC>;
			status = "disabled";
		};

		vpu_enc: vpu_enc@130b0000 {
			compatible = "starfive,venc";
			dma-coherent;
			reg = <0x0 0x130b0000 0x0 0x10000>;
			interrupts = <15>;
			clocks = <&syscrg JH7110_SYSCLK_WAVE420L_AXI>,
				 <&syscrg JH7110_SYSCLK_WAVE420L_BPU>,
				 <&syscrg JH7110_SYSCLK_WAVE420L_VCE>,
				 <&syscrg JH7110_SYSCLK_WAVE420L_APB>,
				 <&syscrg JH7110_SYSCLK_NOC_BUS_VENC_AXI>;
			clock-names = "axi_clk", "bpu_clk", "vce_clk",
				      "apb_clk", "noc_bus";
			resets = <&syscrg JH7110_SYSRST_WAVE420L_AXI>,
				 <&syscrg JH7110_SYSRST_WAVE420L_BPU>,
				 <&syscrg JH7110_SYSRST_WAVE420L_VCE>,
				 <&syscrg JH7110_SYSRST_WAVE420L_APB>,
				 <&syscrg JH7110_SYSRST_AXIMEM1_AXI>;
			reset-names = "rst_axi", "rst_bpu", "rst_vce",
				      "rst_apb", "rst_sram";
			starfive,venc_noc_ctrl;
			power-domains = <&pwrc JH7110_PD_VENC>;
			status = "disabled";
		};

		can0: can@130d0000 {
			compatible = "starfive,jh7110-can", "ipms,can";
			reg = <0x0 0x130d0000 0x0 0x1000>;
			interrupts = <112>;
			clocks = <&syscrg JH7110_SYSCLK_CAN0_APB>,
				 <&syscrg JH7110_SYSCLK_CAN0_CAN>,
				 <&syscrg JH7110_SYSCLK_CAN0_TIMER>;
			clock-names = "apb_clk", "core_clk", "timer_clk";
			resets = <&syscrg JH7110_SYSRST_CAN0_APB>,
				 <&syscrg JH7110_SYSRST_CAN0_CORE>,
				 <&syscrg JH7110_SYSRST_CAN0_TIMER>;
			reset-names = "rst_apb", "rst_core", "rst_timer";
			frequency = <40000000>;
			starfive,sys-syscon = <&sys_syscon 0x10 0x3 0x8>;
			syscon,can_or_canfd = <0>;
			status = "disabled";
		};

		can1: can@130e0000 {
			compatible = "starfive,jh7110-can", "ipms,can";
			reg = <0x0 0x130e0000 0x0 0x1000>;
			interrupts = <113>;
			clocks = <&syscrg JH7110_SYSCLK_CAN1_APB>,
				 <&syscrg JH7110_SYSCLK_CAN1_CAN>,
				 <&syscrg JH7110_SYSCLK_CAN1_TIMER>;
			clock-names = "apb_clk", "core_clk", "timer_clk";
			resets = <&syscrg JH7110_SYSRST_CAN1_APB>,
				 <&syscrg JH7110_SYSRST_CAN1_CORE>,
				 <&syscrg JH7110_SYSRST_CAN1_TIMER>;
			reset-names = "rst_apb", "rst_core", "rst_timer";
			frequency = <40000000>;
			starfive,sys-syscon = <&sys_syscon 0x88 0x12 0x40000>;
			syscon,can_or_canfd = <0>;
			status = "disabled";
		};

		crypto: crypto@16000000 {
			compatible = "starfive,jh7110-crypto";
			reg = <0x0 0x16000000 0x0 0x4000>;
			clocks = <&stgcrg JH7110_STGCLK_SEC_AHB>,
				 <&stgcrg JH7110_STGCLK_SEC_MISC_AHB>;
			clock-names = "hclk", "ahb";
			interrupts = <28>;
			resets = <&stgcrg JH7110_STGRST_SEC_AHB>;
			dmas = <&sdma 1 2>, <&sdma 0 2>;
			dma-names = "tx", "rx";
		};

		sdma: dma-controller@16008000 {
			compatible = "arm,pl080", "arm,primecell";
			arm,primecell-periphid = <0x00041080>;
			reg = <0x0 0x16008000 0x0 0x4000>;
			interrupts = <29>;
			clocks = <&stgcrg JH7110_STGCLK_SEC_AHB>;
			clock-names = "apb_pclk";
			resets = <&stgcrg JH7110_STGRST_SEC_AHB>;
			lli-bus-interface-ahb1;
			mem-bus-interface-ahb1;
			memcpy-burst-size = <256>;
			memcpy-bus-width = <32>;
			#dma-cells = <2>;
		};

		rng: rng@1600c000 {
			compatible = "starfive,jh7110-trng";
			reg = <0x0 0x1600C000 0x0 0x4000>;
			clocks = <&stgcrg JH7110_STGCLK_SEC_AHB>,
				 <&stgcrg JH7110_STGCLK_SEC_MISC_AHB>;
			clock-names = "hclk", "ahb";
			resets = <&stgcrg JH7110_STGRST_SEC_AHB>;
			interrupts = <30>;
		};

		mmc0: mmc@16010000 {
			compatible = "starfive,jh7110-mmc";
			reg = <0x0 0x16010000 0x0 0x10000>;
			clocks = <&syscrg JH7110_SYSCLK_SDIO0_AHB>,
				 <&syscrg JH7110_SYSCLK_SDIO0_SDCARD>;
			clock-names = "biu","ciu";
			resets = <&syscrg JH7110_SYSRST_SDIO0_AHB>;
			reset-names = "reset";
			interrupts = <74>;
			fifo-depth = <32>;
			fifo-watermark-aligned;
			data-addr = <0>;
			starfive,sysreg = <&sys_syscon 0x14 0x1a 0x7c000000>;
			status = "disabled";
		};

		mmc1: mmc@16020000 {
			compatible = "starfive,jh7110-mmc";
			reg = <0x0 0x16020000 0x0 0x10000>;
			clocks = <&syscrg JH7110_SYSCLK_SDIO1_AHB>,
				 <&syscrg JH7110_SYSCLK_SDIO1_SDCARD>;
			clock-names = "biu","ciu";
			resets = <&syscrg JH7110_SYSRST_SDIO1_AHB>;
			reset-names = "reset";
			interrupts = <75>;
			fifo-depth = <32>;
			fifo-watermark-aligned;
			data-addr = <0>;
			starfive,sysreg = <&sys_syscon 0x9c 0x1 0x3e>;
			status = "disabled";
		};

		gmac0: ethernet@16030000 {
			compatible = "starfive,jh7110-dwmac", "snps,dwmac-5.20";
			reg = <0x0 0x16030000 0x0 0x10000>;
			clocks = <&aoncrg JH7110_AONCLK_GMAC0_AXI>,
				 <&aoncrg JH7110_AONCLK_GMAC0_AHB>,
				 <&syscrg JH7110_SYSCLK_GMAC0_PTP>,
				 <&aoncrg JH7110_AONCLK_GMAC0_TX_INV>,
				 <&syscrg JH7110_SYSCLK_GMAC0_GTXC>;
			clock-names = "stmmaceth", "pclk", "ptp_ref",
				      "tx", "gtx";
			resets = <&aoncrg JH7110_AONRST_GMAC0_AXI>,
				 <&aoncrg JH7110_AONRST_GMAC0_AHB>;
			reset-names = "stmmaceth", "ahb";
			interrupts = <7>, <6>, <5>;
			interrupt-names = "macirq", "eth_wake_irq", "eth_lpi";
			rx-fifo-depth = <2048>;
			tx-fifo-depth = <2048>;
			snps,multicast-filter-bins = <64>;
			snps,perfect-filter-entries = <256>;
			snps,fixed-burst;
			snps,no-pbl-x8;
			snps,force_thresh_dma_mode;
			snps,axi-config = <&stmmac_axi_setup>;
			snps,tso;
			snps,en-tx-lpi-clockgating;
			snps,txpbl = <16>;
			snps,rxpbl = <16>;
			starfive,syscon = <&aon_syscon 0xc 0x12>;
			status = "disabled";
		};

		gmac1: ethernet@16040000 {
			compatible = "starfive,jh7110-dwmac", "snps,dwmac-5.20";
			reg = <0x0 0x16040000 0x0 0x10000>;
			clocks = <&syscrg JH7110_SYSCLK_GMAC1_AXI>,
				 <&syscrg JH7110_SYSCLK_GMAC1_AHB>,
				 <&syscrg JH7110_SYSCLK_GMAC1_PTP>,
				 <&syscrg JH7110_SYSCLK_GMAC1_TX_INV>,
				 <&syscrg JH7110_SYSCLK_GMAC1_GTXC>;
			clock-names = "stmmaceth", "pclk", "ptp_ref",
				      "tx", "gtx";
			resets = <&syscrg JH7110_SYSRST_GMAC1_AXI>,
				 <&syscrg JH7110_SYSRST_GMAC1_AHB>;
			reset-names = "stmmaceth", "ahb";
			interrupts = <78>, <77>, <76>;
			interrupt-names = "macirq", "eth_wake_irq", "eth_lpi";
			rx-fifo-depth = <2048>;
			tx-fifo-depth = <2048>;
			snps,multicast-filter-bins = <64>;
			snps,perfect-filter-entries = <256>;
			snps,fixed-burst;
			snps,no-pbl-x8;
			snps,force_thresh_dma_mode;
			snps,axi-config = <&stmmac_axi_setup>;
			snps,tso;
			snps,en-tx-lpi-clockgating;
			snps,txpbl = <16>;
			snps,rxpbl = <16>;
			starfive,syscon = <&sys_syscon 0x90 0x2>;
			status = "disabled";
		};

		dma: dma-controller@16050000 {
			compatible = "starfive,jh7110-axi-dma";
			reg = <0x0 0x16050000 0x0 0x10000>;
			clocks = <&stgcrg JH7110_STGCLK_DMA1P_AXI>,
				 <&stgcrg JH7110_STGCLK_DMA1P_AHB>;
			clock-names = "core-clk", "cfgr-clk";
			resets = <&stgcrg JH7110_STGRST_DMA1P_AXI>,
				 <&stgcrg JH7110_STGRST_DMA1P_AHB>;
			interrupts = <73>;
			#dma-cells = <1>;
			dma-channels = <4>;
			snps,dma-masters = <1>;
			snps,data-width = <3>;
			snps,block-size = <65536 65536 65536 65536>;
			snps,priority = <0 1 2 3>;
			snps,axi-max-burst-len = <16>;
		};

		aoncrg: clock-controller@17000000 {
			compatible = "starfive,jh7110-aoncrg";
			reg = <0x0 0x17000000 0x0 0x10000>;
			clocks = <&osc>, <&gmac0_rmii_refin>,
				 <&gmac0_rgmii_rxin>,
				 <&syscrg JH7110_SYSCLK_STG_AXIAHB>,
				 <&syscrg JH7110_SYSCLK_APB_BUS>,
				 <&syscrg JH7110_SYSCLK_GMAC0_GTXCLK>,
				 <&rtc_osc>;
			clock-names = "osc", "gmac0_rmii_refin",
				      "gmac0_rgmii_rxin", "stg_axiahb",
				      "apb_bus", "gmac0_gtxclk",
				      "rtc_osc";
			#clock-cells = <1>;
			#reset-cells = <1>;
		};

		aon_syscon: syscon@17010000 {
			compatible = "starfive,jh7110-aon-syscon", "syscon";
			reg = <0x0 0x17010000 0x0 0x1000>;
			#power-domain-cells = <1>;
		};

		aongpio: pinctrl@17020000 {
			compatible = "starfive,jh7110-aon-pinctrl";
			reg = <0x0 0x17020000 0x0 0x10000>;
			resets = <&aoncrg JH7110_AONRST_IOMUX>;
			interrupts = <85>;
			interrupt-controller;
			#interrupt-cells = <2>;
			gpio-controller;
			#gpio-cells = <2>;
		};

		pwrc: power-controller@17030000 {
			compatible = "starfive,jh7110-pmu";
			reg = <0x0 0x17030000 0x0 0x10000>;
			interrupts = <111>;
			#power-domain-cells = <1>;
		};

		rtc: rtc@17040000 {
			compatible = "starfive,jh7110-rtc";
			reg = <0x0 0x17040000 0x0 0x10000>;
			interrupts = <10>, <11>, <12>;
			interrupt-names = "rtc_ms_pulse", "rtc_sec_pulse", "rtc";
			clocks = <&aoncrg JH7110_AONCLK_RTC_APB>,
				 <&aoncrg JH7110_AONCLK_RTC_CAL>;
			clock-names = "pclk", "cal_clk";
			resets = <&aoncrg JH7110_AONRST_RTC_32K>,
				 <&aoncrg JH7110_AONRST_RTC_APB>,
				 <&aoncrg JH7110_AONRST_RTC_CAL>;
			reset-names = "rst_osc", "rst_apb", "rst_cal";
			rtc,cal-clock-freq = <1000000>;
		};

		gpu: gpu@18000000 {
			compatible = "img-gpu";
			reg = <0x0 0x18000000 0x0 0x100000>,
				<0x0 0x130C000 0x0 0x10000>;
			clocks = <&syscrg JH7110_SYSCLK_GPU_CORE>,
				 <&syscrg JH7110_SYSCLK_GPU_APB>,
				 <&syscrg JH7110_SYSCLK_GPU_RTC_TOGGLE>,
				 <&syscrg JH7110_SYSCLK_GPU_CORE_CLK>,
				 <&syscrg JH7110_SYSCLK_GPU_SYS_CLK>,
				 <&syscrg JH7110_SYSCLK_NOC_BUS_GPU_AXI>;
			clock-names = "clk_bv", "clk_apb", "clk_rtc",
					"clk_core", "clk_sys", "clk_axi";
			resets = <&syscrg JH7110_SYSRST_GPU_APB>,
				 <&syscrg JH7110_SYSRST_GPU_DOMA>;
			reset-names = "rst_apb", "rst_doma";
			power-domains = <&pwrc JH7110_PD_GPUA>;
			interrupts = <82>;
			current-clock = <8000000>;
			status = "disabled";
		};

		csi2rx: csi-bridge@19800000 {
			compatible = "starfive,jh7110-csi2rx";
			reg = <0x0 0x19800000 0x0 0x10000>;
			clocks = <&ispcrg JH7110_ISPCLK_VIN_SYS>,
				 <&ispcrg JH7110_ISPCLK_VIN_APB>,
				 <&ispcrg JH7110_ISPCLK_VIN_PIXEL_IF0>,
				 <&ispcrg JH7110_ISPCLK_VIN_PIXEL_IF1>,
				 <&ispcrg JH7110_ISPCLK_VIN_PIXEL_IF2>,
				 <&ispcrg JH7110_ISPCLK_VIN_PIXEL_IF3>;
			clock-names = "sys_clk", "p_clk",
				 "pixel_if0_clk", "pixel_if1_clk",
				 "pixel_if2_clk", "pixel_if3_clk";
			resets = <&ispcrg JH7110_ISPRST_VIN_SYS>,
				 <&ispcrg JH7110_ISPRST_VIN_APB>,
				 <&ispcrg JH7110_ISPRST_VIN_PIXEL_IF0>,
				 <&ispcrg JH7110_ISPRST_VIN_PIXEL_IF1>,
				 <&ispcrg JH7110_ISPRST_VIN_PIXEL_IF2>,
				 <&ispcrg JH7110_ISPRST_VIN_PIXEL_IF3>;
			reset-names = "sys", "reg_bank",
				 "pixel_if0", "pixel_if1",
				 "pixel_if2", "pixel_if3";
			phys = <&csi_phy>;
			phy-names = "dphy";
			status = "disabled";
		};

		vin_sysctl: vin_sysctl@19800000 {
			compatible = "starfive,jh7110-vin";
			reg = <0x0 0x19800000 0x0 0x10000>,
				<0x0 0x19810000 0x0 0x10000>,
				<0x0 0x19820000 0x0 0x10000>,
				<0x0 0x19840000 0x0 0x10000>,
				<0x0 0x19870000 0x0 0x30000>,
				<0x0 0x11840000 0x0 0x10000>,
				<0x0 0x17030000 0x0 0x10000>,
				<0x0 0x13020000 0x0 0x10000>;
			reg-names = "csi2rx", "vclk", "vrst", "sctrl",
				"isp", "trst", "pmu", "syscrg";
			clocks = <&ispcrg JH7110_ISPCLK_DOM4_APB_FUNC>,
				 <&ispcrg JH7110_ISPCLK_VIN_APB>,
				 <&ispcrg JH7110_ISPCLK_VIN_SYS>,
				 <&ispcrg JH7110_ISPCLK_ISPV2_TOP_WRAPPER_C>,
				 <&ispcrg JH7110_ISPCLK_DVP_INV>,
				 <&ispcrg JH7110_ISPCLK_VIN_P_AXI_WR>,
				 <&ispcrg JH7110_ISPCLK_MIPI_RX0_PXL>,
				 <&ispcrg JH7110_ISPCLK_VIN_PIXEL_IF0>,
				 <&ispcrg JH7110_ISPCLK_VIN_PIXEL_IF1>,
				 <&ispcrg JH7110_ISPCLK_VIN_PIXEL_IF2>,
				 <&ispcrg JH7110_ISPCLK_VIN_PIXEL_IF3>,
				 <&ispcrg JH7110_ISPCLK_M31DPHY_CFG_IN>,
				 <&ispcrg JH7110_ISPCLK_M31DPHY_REF_IN>,
				 <&ispcrg JH7110_ISPCLK_M31DPHY_TX_ESC_LAN0>,
				 <&syscrg JH7110_SYSCLK_ISP_TOP_CORE>,
				 <&syscrg JH7110_SYSCLK_ISP_TOP_AXI>;
			clock-names = "clk_apb_func", "clk_pclk", "clk_sys_clk",
				"clk_wrapper_clk_c", "clk_dvp_inv", "clk_axiwr",
				"clk_mipi_rx0_pxl", "clk_pixel_clk_if0",
				"clk_pixel_clk_if1", "clk_pixel_clk_if2",
				"clk_pixel_clk_if3", "clk_m31dphy_cfgclk_in",
				"clk_m31dphy_refclk_in", "clk_m31dphy_txclkesc_lan0",
				"clk_ispcore_2x", "clk_isp_axi";
			resets = <&ispcrg JH7110_ISPRST_ISPV2_TOP_WRAPPER_P>,
				 <&ispcrg JH7110_ISPRST_ISPV2_TOP_WRAPPER_C>,
				 <&ispcrg JH7110_ISPRST_VIN_APB>,
				 <&ispcrg JH7110_ISPRST_VIN_SYS>,
				 <&ispcrg JH7110_ISPRST_VIN_P_AXI_RD>,
				 <&ispcrg JH7110_ISPRST_VIN_P_AXI_WR>,
				 <&ispcrg JH7110_ISPRST_VIN_PIXEL_IF0>,
				 <&ispcrg JH7110_ISPRST_VIN_PIXEL_IF1>,
				 <&ispcrg JH7110_ISPRST_VIN_PIXEL_IF2>,
				 <&ispcrg JH7110_ISPRST_VIN_PIXEL_IF3>,
				 <&ispcrg JH7110_ISPRST_M31DPHY_HW>,
				 <&ispcrg JH7110_ISPRST_M31DPHY_B09_AON>,
				 <&syscrg JH7110_SYSRST_ISP_TOP>,
				 <&syscrg JH7110_SYSRST_ISP_TOP_AXI>;
			reset-names = "rst_wrapper_p", "rst_wrapper_c", "rst_pclk",
				"rst_sys_clk", "rst_axird", "rst_axiwr", "rst_pixel_clk_if0",
				"rst_pixel_clk_if1", "rst_pixel_clk_if2", "rst_pixel_clk_if3",
				"rst_m31dphy_hw", "rst_m31dphy_b09_always_on",
				"rst_isp_top_n", "rst_isp_top_axi";
			starfive,aon-syscon = <&aon_syscon 0x00>;
			power-domains = <&pwrc JH7110_PD_ISP>;
			/* irq nr: vin, isp, isp_csi, isp_scd, isp_csiline */
			interrupts = <92 87 88 89 90>;
			status = "disabled";
		};

		ispcrg: clock-controller@19810000 {
			compatible = "starfive,jh7110-ispcrg";
			reg = <0x0 0x19810000 0x0 0x10000>;
			clocks = <&syscrg JH7110_SYSCLK_ISP_TOP_CORE>,
				 <&syscrg JH7110_SYSCLK_ISP_TOP_AXI>,
				 <&syscrg JH7110_SYSCLK_NOC_BUS_ISP_AXI>,
				 <&dvp_clk>;
			clock-names = "isp_top_core", "isp_top_axi",
				      "noc_bus_isp_axi", "dvp_clk";
			resets = <&syscrg JH7110_SYSRST_ISP_TOP>,
				 <&syscrg JH7110_SYSRST_ISP_TOP_AXI>,
				 <&syscrg JH7110_SYSRST_NOC_BUS_ISP_AXI>;
			#clock-cells = <1>;
			#reset-cells = <1>;
			power-domains = <&pwrc JH7110_PD_ISP>;
		};

		csi_phy: phy@19820000 {
			compatible = "starfive,jh7110-dphy-rx";
			reg = <0x0 0x19820000 0x0 0x10000>;
			clocks = <&ispcrg JH7110_ISPCLK_M31DPHY_CFG_IN>,
				 <&ispcrg JH7110_ISPCLK_M31DPHY_REF_IN>,
				 <&ispcrg JH7110_ISPCLK_M31DPHY_TX_ESC_LAN0>;
			clock-names = "cfg", "ref", "tx";
			resets = <&ispcrg JH7110_ISPRST_M31DPHY_HW>,
				 <&ispcrg JH7110_ISPRST_M31DPHY_B09_AON>;
			power-domains = <&aon_syscon JH7110_AON_PD_DPHY_RX>;
			#phy-cells = <0>;
		};

		dc8200: dc8200@29400000 {
			compatible = "starfive,jh7110-dc8200","verisilicon,dc8200";
			verisilicon,dss-syscon = <&dssctrl>;//20220624 panel syscon
			reg = <0x0 0x29400000 0x0 0x100>,
			      <0x0 0x29400800 0x0 0x2000>,
			      <0x0 0x17030000 0x0 0x1000>;
			interrupts = <95>;
			clocks = <&syscrg JH7110_SYSCLK_NOC_BUS_DISP_AXI>,
				 <&syscrg JH7110_SYSCLK_VOUT_SRC>,
				 <&syscrg JH7110_SYSCLK_VOUT_TOP_AXI>,
				 <&syscrg JH7110_SYSCLK_VOUT_TOP_AHB>,
				 <&voutcrg JH7110_VOUTCLK_DC8200_PIX0>,
				 <&voutcrg JH7110_VOUTCLK_DC8200_PIX1>,
				 <&voutcrg JH7110_VOUTCLK_DC8200_AXI>,
				 <&voutcrg JH7110_VOUTCLK_DC8200_CORE>,
				 <&voutcrg JH7110_VOUTCLK_DC8200_AHB>,
				 <&syscrg JH7110_SYSCLK_VOUT_TOP_AXI>,
				 <&voutcrg JH7110_VOUTCLK_DOM_VOUT_TOP_LCD>,
				 <&hdmitx0_pixelclk>,
				 <&voutcrg JH7110_VOUTCLK_DC8200_PIX>;
			clock-names = "noc_disp","vout_src",
			   "top_vout_axi","top_vout_ahb",
			   "pix_clk","vout_pix1",
			   "axi_clk","core_clk","vout_ahb",
			   "vout_top_axi","vout_top_lcd","hdmitx0_pixelclk","dc8200_pix0";
			resets = <&syscrg JH7110_SYSRST_VOUT_TOP_SRC>,
				 <&voutcrg JH7110_VOUTRST_DC8200_AXI>,
				 <&voutcrg JH7110_VOUTRST_DC8200_AHB>,
				 <&voutcrg JH7110_VOUTRST_DC8200_CORE>,
				 <&syscrg JH7110_SYSRST_NOC_BUS_DISP_AXI>;
			reset-names = "rst_vout_src","rst_axi","rst_ahb","rst_core",
					"rst_noc_disp";
			status = "disabled";
		};

		hdmi: hdmi@29590000 {
			compatible = "starfive,jh7110-hdmi","inno,hdmi";
			reg = <0x0 0x29590000 0x0 0x4000>;
			interrupts = <99>;
			/*interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;*/
			/*clocks = <&cru  PCLK_HDMI>;*/
			/*clock-names = "pclk";*/
			/*pinctrl-names = "default";*/
			/*pinctrl-0 = <&hdmi_ctl>;*/
			clocks = <&voutcrg JH7110_VOUTCLK_HDMI_TX_SYS>,
				 <&voutcrg JH7110_VOUTCLK_HDMI_TX_MCLK>,
				 <&voutcrg JH7110_VOUTCLK_HDMI_TX_BCLK>,
				 <&hdmitx0_pixelclk>;
			clock-names = "sysclk", "mclk","bclk","pclk";
			resets = <&voutcrg JH7110_VOUTRST_HDMI_TX_HDMI>;
			reset-names = "hdmi_tx";
			#sound-dai-cells = <0>;
			status = "disabled";
		};

		dssctrl: dssctrl@295B0000 {
			compatible = "starfive,jh7110-dssctrl","verisilicon,dss-ctrl", "syscon";
			reg = <0 0x295B0000 0 0x90>;
		};

		voutcrg: clock-controller@295c0000 {
			compatible = "starfive,jh7110-voutcrg";
			reg = <0x0 0x295c0000 0x0 0x10000>;
			clocks = <&syscrg JH7110_SYSCLK_VOUT_SRC>,
				 <&syscrg JH7110_SYSCLK_VOUT_TOP_AHB>,
				 <&syscrg JH7110_SYSCLK_VOUT_TOP_AXI>,
				 <&syscrg JH7110_SYSCLK_VOUT_TOP_HDMITX0_MCLK>,
				 <&syscrg JH7110_SYSCLK_I2STX0_BCLK>,
				 <&hdmitx0_pixelclk>;
			clock-names = "vout_src", "vout_top_ahb",
				      "vout_top_axi", "vout_top_hdmitx0_mclk",
				      "i2stx0_bclk", "hdmitx0_pixelclk";
			resets = <&syscrg JH7110_SYSRST_VOUT_TOP_SRC>;
			#clock-cells = <1>;
			#reset-cells = <1>;
			power-domains = <&pwrc JH7110_PD_VOUT>;
		};

		mipi_dsi: mipi@295d0000 {
			compatible = "starfive,jh7110-mipi_dsi","cdns,dsi";
			reg = <0x0 0x295d0000 0x0 0x10000>;
			interrupts = <98>;
			reg-names = "dsi";
			clocks = <&voutcrg JH7110_VOUTCLK_DSITX_SYS>,
				 <&voutcrg JH7110_VOUTCLK_DSITX_APB>,
				 <&voutcrg JH7110_VOUTCLK_DSITX_TXESC>,
				 <&voutcrg JH7110_VOUTCLK_DSITX_DPI>;
			clock-names = "dpi", "apb", "txesc", "sys";
			resets = <&voutcrg JH7110_VOUTRST_DSITX_DPI>,
				 <&voutcrg JH7110_VOUTRST_DSITX_APB>,
				 <&voutcrg JH7110_VOUTRST_DSITX_RXESC>,
				 <&voutcrg JH7110_VOUTRST_DSITX_SYS>,
				 <&voutcrg JH7110_VOUTRST_DSITX_TXBYTEHS>,
				 <&voutcrg JH7110_VOUTRST_DSITX_TXESC>;
			reset-names = "dsi_dpi", "dsi_apb", "dsi_rxesc",
					"dsi_sys", "dsi_txbytehs", "dsi_txesc";
			phys = <&mipi_dphy>;
			phy-names = "dphy";
			status = "disabled";
		};

		mipi_dphy: mipi-dphy@295e0000{
			compatible = "starfive,jh7110-mipi-dphy-tx","m31,mipi-dphy-tx";
			reg = <0x0 0x295e0000 0x0 0x10000>;
			clocks = <&voutcrg JH7110_VOUTCLK_MIPITX_DPHY_TXESC>;
			clock-names = "dphy_txesc";
			resets = <&voutcrg JH7110_VOUTRST_MIPITX_DPHY_SYS>,
				 <&voutcrg JH7110_VOUTRST_MIPITX_DPHY_TXBYTEHS>;
			reset-names = "dphy_sys", "dphy_txbytehs";
			#phy-cells = <0>;
			status = "disabled";
		};

		co_process: e24@6e210000 {
			compatible = "starfive,e24";
			dma-coherent;
			reg = <0x0 0x6e210000 0x0 0x00001000>,
				<0x0 0x6e211000 0x0 0x0003f000>;
			reg-names = "ecmd", "espace";
			clocks = <&stgcrg JH7110_STGCLK_E2_RTC>,
				 <&stgcrg JH7110_STGCLK_E2_CORE>,
				 <&stgcrg JH7110_STGCLK_E2_DBG>;
			clock-names = "clk_rtc", "clk_core", "clk_dbg";
			resets = <&stgcrg JH7110_STGRST_E24_CORE>;
			reset-names = "e24_core";
			starfive,stg-syscon = <&stg_syscon>;
			interrupt-parent = <&plic>;
			firmware-name = "e24_elf";
			irq-mode = <1>;
			mbox-names = "tx", "rx";
			mboxes = <&mailbox_contrl0 0 2>,
				 <&mailbox_contrl0 2 0>;
			#address-cells = <1>;
			#size-cells = <1>;
			ranges = <0x6ce00000 0x0 0x6ce00000 0x1600000>;
			status = "disabled";
			dsp@0 {};
		};

		pcie0: pcie@940000000 {
			compatible = "starfive,jh7110-pcie";
			reg = <0x9 0x40000000 0x0 0x1000000>,
			      <0x0 0x2b000000 0x0 0x100000>;
			reg-names = "cfg", "apb";
			linux,pci-domain = <0>;
			#address-cells = <3>;
			#size-cells = <2>;
			#interrupt-cells = <1>;
			ranges = <0x82000000  0x0 0x30000000  0x0 0x30000000 0x0 0x08000000>,
				 <0xc3000000  0x9 0x00000000  0x9 0x00000000 0x0 0x40000000>;
			interrupts = <56>;
			interrupt-map-mask = <0x0 0x0 0x0 0x7>;
			interrupt-map = <0x0 0x0 0x0 0x1 &pcie_intc0 0x1>,
					<0x0 0x0 0x0 0x2 &pcie_intc0 0x2>,
					<0x0 0x0 0x0 0x3 &pcie_intc0 0x3>,
					<0x0 0x0 0x0 0x4 &pcie_intc0 0x4>;
			msi-controller;
			device_type = "pci";
			starfive,stg-syscon = <&stg_syscon>;
			bus-range = <0x0 0xff>;
			clocks = <&syscrg JH7110_SYSCLK_NOC_BUS_STG_AXI>,
				 <&stgcrg JH7110_STGCLK_PCIE0_TL>,
				 <&stgcrg JH7110_STGCLK_PCIE0_AXI_MST0>,
				 <&stgcrg JH7110_STGCLK_PCIE0_APB>;
			clock-names = "noc", "tl", "axi_mst0", "apb";
			resets = <&stgcrg JH7110_STGRST_PCIE0_AXI_MST0>,
				 <&stgcrg JH7110_STGRST_PCIE0_AXI_SLV0>,
				 <&stgcrg JH7110_STGRST_PCIE0_AXI_SLV>,
				 <&stgcrg JH7110_STGRST_PCIE0_BRG>,
				 <&stgcrg JH7110_STGRST_PCIE0_CORE>,
				 <&stgcrg JH7110_STGRST_PCIE0_APB>;
			reset-names = "mst0", "slv0", "slv", "brg",
				      "core", "apb";
			status = "disabled";

			pcie_intc0: interrupt-controller {
				#address-cells = <0>;
				#interrupt-cells = <1>;
				interrupt-controller;
			};
		};

		pcie1: pcie@9c0000000 {
			compatible = "starfive,jh7110-pcie";
			reg = <0x9 0xc0000000 0x0 0x1000000>,
			      <0x0 0x2c000000 0x0 0x100000>;
			reg-names = "cfg", "apb";
			linux,pci-domain = <1>;
			#address-cells = <3>;
			#size-cells = <2>;
			#interrupt-cells = <1>;
			ranges = <0x82000000  0x0 0x38000000  0x0 0x38000000 0x0 0x08000000>,
				 <0xc3000000  0x9 0x80000000  0x9 0x80000000 0x0 0x40000000>;
			interrupts = <57>;
			interrupt-map-mask = <0x0 0x0 0x0 0x7>;
			interrupt-map = <0x0 0x0 0x0 0x1 &pcie_intc1 0x1>,
					<0x0 0x0 0x0 0x2 &pcie_intc1 0x2>,
					<0x0 0x0 0x0 0x3 &pcie_intc1 0x3>,
					<0x0 0x0 0x0 0x4 &pcie_intc1 0x4>;
			msi-controller;
			device_type = "pci";
			starfive,stg-syscon = <&stg_syscon>;
			bus-range = <0x0 0xff>;
			clocks = <&syscrg JH7110_SYSCLK_NOC_BUS_STG_AXI>,
				 <&stgcrg JH7110_STGCLK_PCIE1_TL>,
				 <&stgcrg JH7110_STGCLK_PCIE1_AXI_MST0>,
				 <&stgcrg JH7110_STGCLK_PCIE1_APB>;
			clock-names = "noc", "tl", "axi_mst0", "apb";
			resets = <&stgcrg JH7110_STGRST_PCIE1_AXI_MST0>,
				 <&stgcrg JH7110_STGRST_PCIE1_AXI_SLV0>,
				 <&stgcrg JH7110_STGRST_PCIE1_AXI_SLV>,
				 <&stgcrg JH7110_STGRST_PCIE1_BRG>,
				 <&stgcrg JH7110_STGRST_PCIE1_CORE>,
				 <&stgcrg JH7110_STGRST_PCIE1_APB>;
			reset-names = "mst0", "slv0", "slv", "brg",
				      "core", "apb";
			status = "disabled";

			pcie_intc1: interrupt-controller {
				#address-cells = <0>;
				#interrupt-cells = <1>;
				interrupt-controller;
			};
		};
	};
};