-
Notifications
You must be signed in to change notification settings - Fork 7
/
am40.dts
3892 lines (3383 loc) · 86 KB
/
am40.dts
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
/dts-v1/;
/ {
compatible = "rockchip-box-rev1\0rockchip,rk3399-box";
interrupt-parent = <0x01>;
#address-cells = <0x02>;
#size-cells = <0x02>;
model = "Rockchip RK3399 Board rev1 (BOX)";
ddr_timing {
compatible = "rockchip,ddr-timing";
ddr3_speed_bin = <0x15>;
pd_idle = <0x00>;
sr_idle = <0x00>;
sr_mc_gate_idle = <0x00>;
srpd_lite_idle = <0x00>;
standby_idle = <0x00>;
dram_dll_dis_freq = <0x12c>;
phy_dll_dis_freq = <0x7d>;
ddr3_odt_dis_freq = <0x14d>;
ddr3_drv = <0x28>;
ddr3_odt = <0x78>;
phy_ddr3_ca_drv = <0x28>;
phy_ddr3_dq_drv = <0x28>;
phy_ddr3_odt = <0xf0>;
lpddr3_odt_dis_freq = <0x14d>;
lpddr3_drv = <0x22>;
lpddr3_odt = <0xf0>;
phy_lpddr3_ca_drv = <0x28>;
phy_lpddr3_dq_drv = <0x28>;
phy_lpddr3_odt = <0xf0>;
lpddr4_odt_dis_freq = <0x14d>;
lpddr4_drv = <0x3c>;
lpddr4_dq_odt = <0x28>;
lpddr4_ca_odt = <0x28>;
phy_lpddr4_ca_drv = <0x28>;
phy_lpddr4_ck_cs_drv = <0x50>;
phy_lpddr4_dq_drv = <0x50>;
phy_lpddr4_odt = <0x3c>;
linux,phandle = <0x8b>;
phandle = <0x8b>;
};
aliases {
i2c0 = "/i2c@ff3c0000";
i2c1 = "/i2c@ff110000";
i2c2 = "/i2c@ff120000";
i2c3 = "/i2c@ff130000";
i2c4 = "/i2c@ff3d0000";
i2c5 = "/i2c@ff140000";
i2c6 = "/i2c@ff150000";
i2c7 = "/i2c@ff160000";
i2c8 = "/i2c@ff3e0000";
serial0 = "/serial@ff180000";
serial1 = "/serial@ff190000";
serial2 = "/serial@ff1a0000";
serial3 = "/serial@ff1b0000";
serial4 = "/serial@ff370000";
};
cpus {
#address-cells = <0x02>;
#size-cells = <0x00>;
cpu-map {
cluster0 {
core0 {
cpu = <0x02>;
};
core1 {
cpu = <0x03>;
};
core2 {
cpu = <0x04>;
};
core3 {
cpu = <0x05>;
};
};
cluster1 {
core0 {
cpu = <0x06>;
};
core1 {
cpu = <0x07>;
};
};
};
cpu@0 {
device_type = "cpu";
compatible = "arm,cortex-a53\0arm,armv8";
reg = <0x00 0x00>;
enable-method = "psci";
#cooling-cells = <0x02>;
dynamic-power-coefficient = <0x64>;
clocks = <0x08 0x08>;
cpu-idle-states = <0x09 0x0a>;
operating-points-v2 = <0x0b>;
sched-energy-costs = <0x0c 0x0d>;
cpu-supply = <0x0e>;
linux,phandle = <0x02>;
phandle = <0x02>;
};
cpu@1 {
device_type = "cpu";
compatible = "arm,cortex-a53\0arm,armv8";
reg = <0x00 0x01>;
enable-method = "psci";
clocks = <0x08 0x08>;
cpu-idle-states = <0x09 0x0a>;
operating-points-v2 = <0x0b>;
sched-energy-costs = <0x0c 0x0d>;
cpu-supply = <0x0e>;
linux,phandle = <0x03>;
phandle = <0x03>;
};
cpu@2 {
device_type = "cpu";
compatible = "arm,cortex-a53\0arm,armv8";
reg = <0x00 0x02>;
enable-method = "psci";
clocks = <0x08 0x08>;
cpu-idle-states = <0x09 0x0a>;
operating-points-v2 = <0x0b>;
sched-energy-costs = <0x0c 0x0d>;
cpu-supply = <0x0e>;
linux,phandle = <0x04>;
phandle = <0x04>;
};
cpu@3 {
device_type = "cpu";
compatible = "arm,cortex-a53\0arm,armv8";
reg = <0x00 0x03>;
enable-method = "psci";
clocks = <0x08 0x08>;
cpu-idle-states = <0x09 0x0a>;
operating-points-v2 = <0x0b>;
sched-energy-costs = <0x0c 0x0d>;
cpu-supply = <0x0e>;
linux,phandle = <0x05>;
phandle = <0x05>;
};
cpu@100 {
device_type = "cpu";
compatible = "arm,cortex-a72\0arm,armv8";
reg = <0x00 0x100>;
enable-method = "psci";
#cooling-cells = <0x02>;
dynamic-power-coefficient = <0x1b4>;
clocks = <0x08 0x09>;
cpu-idle-states = <0x09 0x0a>;
operating-points-v2 = <0x0f>;
sched-energy-costs = <0x10 0x11>;
cpu-supply = <0x12>;
linux,phandle = <0x06>;
phandle = <0x06>;
};
cpu@101 {
device_type = "cpu";
compatible = "arm,cortex-a72\0arm,armv8";
reg = <0x00 0x101>;
enable-method = "psci";
clocks = <0x08 0x09>;
cpu-idle-states = <0x09 0x0a>;
operating-points-v2 = <0x0f>;
sched-energy-costs = <0x10 0x11>;
cpu-supply = <0x12>;
linux,phandle = <0x07>;
phandle = <0x07>;
};
idle-states {
entry-method = "psci";
cpu-sleep {
compatible = "arm,idle-state";
local-timer-stop;
arm,psci-suspend-param = <0x10000>;
entry-latency-us = <0x78>;
exit-latency-us = <0xfa>;
min-residency-us = <0x384>;
linux,phandle = <0x09>;
phandle = <0x09>;
};
cluster-sleep {
compatible = "arm,idle-state";
local-timer-stop;
arm,psci-suspend-param = <0x1010000>;
entry-latency-us = <0x190>;
exit-latency-us = <0x1f4>;
min-residency-us = <0x7d0>;
linux,phandle = <0x0a>;
phandle = <0x0a>;
};
};
};
pmu_a53 {
compatible = "arm,cortex-a53-pmu";
interrupts = <0x01 0x07 0x08 0x13>;
};
pmu_a72 {
compatible = "arm,cortex-a72-pmu";
interrupts = <0x01 0x07 0x08 0x14>;
};
psci {
compatible = "arm,psci-1.0";
method = "smc";
};
timer {
compatible = "arm,armv8-timer";
interrupts = <0x01 0x0d 0x08 0x00 0x01 0x0e 0x08 0x00 0x01 0x0b 0x08 0x00 0x01 0x0a 0x08 0x00>;
};
xin24m {
compatible = "fixed-clock";
clock-frequency = <0x16e3600>;
clock-output-names = "xin24m";
#clock-cells = <0x00>;
};
dummy_cpll {
compatible = "fixed-clock";
clock-frequency = <0x00>;
clock-output-names = "dummy_cpll";
#clock-cells = <0x00>;
};
dummy_vpll {
compatible = "fixed-clock";
clock-frequency = <0x00>;
clock-output-names = "dummy_vpll";
#clock-cells = <0x00>;
};
amba {
compatible = "arm,amba-bus";
#address-cells = <0x02>;
#size-cells = <0x02>;
ranges;
dma-controller@ff6d0000 {
compatible = "arm,pl330\0arm,primecell";
reg = <0x00 0xff6d0000 0x00 0x4000>;
interrupts = <0x00 0x05 0x04 0x00 0x00 0x06 0x04 0x00>;
#dma-cells = <0x01>;
clocks = <0x08 0xd3>;
clock-names = "apb_pclk";
peripherals-req-type-burst;
linux,phandle = <0x94>;
phandle = <0x94>;
};
dma-controller@ff6e0000 {
compatible = "arm,pl330\0arm,primecell";
reg = <0x00 0xff6e0000 0x00 0x4000>;
interrupts = <0x00 0x07 0x04 0x00 0x00 0x08 0x04 0x00>;
#dma-cells = <0x01>;
clocks = <0x08 0xd4>;
clock-names = "apb_pclk";
peripherals-req-type-burst;
};
};
ethernet@fe300000 {
compatible = "rockchip,rk3399-gmac";
reg = <0x00 0xfe300000 0x00 0x10000>;
rockchip,grf = <0x15>;
interrupts = <0x00 0x0c 0x04 0x00>;
interrupt-names = "macirq";
clocks = <0x08 0x69 0x08 0x67 0x08 0x68 0x08 0x66 0x08 0x6a 0x08 0xd5 0x08 0x166>;
clock-names = "stmmaceth\0mac_clk_rx\0mac_clk_tx\0clk_mac_ref\0clk_mac_refout\0aclk_mac\0pclk_mac";
resets = <0x08 0x89>;
reset-names = "stmmaceth";
status = "okay";
phy-supply = <0x16>;
phy-mode = "rgmii";
clock_in_out = "input";
snps,reset-gpio = <0x17 0x0f 0x01>;
snps,reset-active-low;
snps,reset-delays-us = <0x00 0x186a0 0x186a0>;
assigned-clocks = <0x08 0xa6>;
assigned-clock-parents = <0x18>;
pinctrl-names = "default";
pinctrl-0 = <0x19>;
tx_delay = <0x1e>;
rx_delay = <0x1e>;
lan_name = "RTL8211F";
wakeup_ms = <0x3a98>;
};
dwmmc@fe310000 {
compatible = "rockchip,rk3399-dw-mshc\0rockchip,rk3288-dw-mshc";
reg = <0x00 0xfe310000 0x00 0x4000>;
interrupts = <0x00 0x40 0x04 0x00>;
clock-freq-min-max = <0x30d40 0x5f5e100>;
clocks = <0x08 0x1ee 0x08 0x4d 0x08 0x9c 0x08 0x9d>;
clock-names = "biu\0ciu\0ciu-drive\0ciu-sample";
fifo-depth = <0x100>;
power-domains = <0x1a 0x1c>;
status = "disabled";
clock-frequency = <0x5f5e100>;
supports-sdio;
bus-width = <0x04>;
disable-wp;
cap-sd-highspeed;
cap-sdio-irq;
keep-power-in-suspend;
mmc-pwrseq = <0x1b>;
non-removable;
num-slots = <0x01>;
pinctrl-names = "default";
pinctrl-0 = <0x1c 0x1d 0x1e>;
sd-uhs-sdr104;
};
dwmmc@fe320000 {
compatible = "rockchip,rk3399-dw-mshc\0rockchip,rk3288-dw-mshc";
reg = <0x00 0xfe320000 0x00 0x4000>;
interrupts = <0x00 0x41 0x04 0x00>;
clock-freq-min-max = <0x186a0 0x5f5e100>;
clocks = <0x08 0x1ce 0x08 0x4c 0x08 0x9a 0x08 0x9b>;
clock-names = "biu\0ciu\0ciu-drive\0ciu-sample";
fifo-depth = <0x100>;
power-domains = <0x1a 0x1b>;
status = "okay";
clock-frequency = <0x5f5e100>;
supports-sd;
bus-width = <0x04>;
cap-mmc-highspeed;
cap-sd-highspeed;
disable-wp;
num-slots = <0x01>;
vqmmc-supply = <0x1f>;
pinctrl-names = "default";
pinctrl-0 = <0x20 0x21 0x22 0x23>;
card-detect-delay = <0x320>;
};
sdhci@fe330000 {
compatible = "rockchip,rk3399-sdhci-5.1\0arasan,sdhci-5.1";
reg = <0x00 0xfe330000 0x00 0x10000>;
interrupts = <0x00 0x0b 0x04 0x00>;
arasan,soc-ctl-syscon = <0x15>;
assigned-clocks = <0x08 0x4e>;
assigned-clock-rates = <0xbebc200>;
clocks = <0x08 0x4e 0x08 0xf0>;
clock-names = "clk_xin\0clk_ahb";
clock-output-names = "emmc_cardclock";
#clock-cells = <0x00>;
phys = <0x24>;
phy-names = "phy_arasan";
power-domains = <0x1a 0x17>;
status = "okay";
assigned-clock-parents = <0x08 0x05>;
bus-width = <0x08>;
mmc-hs400-1_8v;
supports-emmc;
non-removable;
mmc-hs400-enhanced-strobe;
linux,phandle = <0x92>;
phandle = <0x92>;
};
usb@fe380000 {
compatible = "generic-ehci";
reg = <0x00 0xfe380000 0x00 0x20000>;
interrupts = <0x00 0x1a 0x04 0x00>;
clocks = <0x08 0x1c8 0x08 0x1c9 0x08 0xa8>;
clock-names = "hclk_host0\0hclk_host0_arb\0usbphy0_480m";
phys = <0x25>;
phy-names = "usb";
power-domains = <0x1a 0x0e>;
status = "okay";
};
usb@fe3a0000 {
compatible = "generic-ohci";
reg = <0x00 0xfe3a0000 0x00 0x20000>;
interrupts = <0x00 0x1c 0x04 0x00>;
clocks = <0x08 0x1c8 0x08 0x1c9 0x08 0xa8>;
clock-names = "hclk_host0\0hclk_host0_arb\0usbphy0_480m";
phys = <0x25>;
phy-names = "usb";
power-domains = <0x1a 0x0e>;
status = "okay";
};
usb@fe3c0000 {
compatible = "generic-ehci";
reg = <0x00 0xfe3c0000 0x00 0x20000>;
interrupts = <0x00 0x1e 0x04 0x00>;
clocks = <0x08 0x1ca 0x08 0x1cb 0x08 0xa9>;
clock-names = "hclk_host1\0hclk_host1_arb\0usbphy1_480m";
phys = <0x26>;
phy-names = "usb";
power-domains = <0x1a 0x0e>;
status = "okay";
};
usb@fe3e0000 {
compatible = "generic-ohci";
reg = <0x00 0xfe3e0000 0x00 0x20000>;
interrupts = <0x00 0x20 0x04 0x00>;
clocks = <0x08 0x1ca 0x08 0x1cb 0x08 0xa9>;
clock-names = "hclk_host1\0hclk_host1_arb\0usbphy1_480m";
phys = <0x26>;
phy-names = "usb";
power-domains = <0x1a 0x0e>;
status = "okay";
};
usb@fe800000 {
compatible = "rockchip,rk3399-dwc3";
clocks = <0x08 0x81 0x08 0x83 0x08 0xf6 0x08 0xf9>;
clock-names = "ref_clk\0suspend_clk\0bus_clk\0grf_clk";
power-domains = <0x1a 0x18>;
resets = <0x08 0x125>;
reset-names = "usb3-otg";
#address-cells = <0x02>;
#size-cells = <0x02>;
ranges;
status = "okay";
extcon = <0x27>;
dwc3@fe800000 {
compatible = "snps,dwc3";
reg = <0x00 0xfe800000 0x00 0x100000>;
interrupts = <0x00 0x69 0x04 0x00>;
dr_mode = "otg";
phys = <0x28 0x29>;
phy-names = "usb2-phy\0usb3-phy";
phy_type = "utmi_wide";
snps,dis_enblslpm_quirk;
snps,dis-u2-freeclk-exists-quirk;
snps,dis_u2_susphy_quirk;
snps,dis-del-phy-power-chg-quirk;
snps,tx-ipgap-linecheck-dis-quirk;
snps,xhci-slow-suspend-quirk;
snps,usb3-warm-reset-on-resume-quirk;
status = "okay";
};
};
usb@fe900000 {
compatible = "rockchip,rk3399-dwc3";
clocks = <0x08 0x82 0x08 0x84 0x08 0xf7 0x08 0xf9>;
clock-names = "ref_clk\0suspend_clk\0bus_clk\0grf_clk";
power-domains = <0x1a 0x18>;
resets = <0x08 0x126>;
reset-names = "usb3-otg";
#address-cells = <0x02>;
#size-cells = <0x02>;
ranges;
status = "okay";
dwc3@fe900000 {
compatible = "snps,dwc3";
reg = <0x00 0xfe900000 0x00 0x100000>;
interrupts = <0x00 0x6e 0x04 0x00>;
dr_mode = "host";
phys = <0x2a 0x2b>;
phy-names = "usb2-phy\0usb3-phy";
phy_type = "utmi_wide";
snps,dis_enblslpm_quirk;
snps,dis-u2-freeclk-exists-quirk;
snps,dis_u2_susphy_quirk;
snps,dis-del-phy-power-chg-quirk;
snps,tx-ipgap-linecheck-dis-quirk;
snps,xhci-slow-suspend-quirk;
snps,usb3-warm-reset-on-resume-quirk;
status = "okay";
};
};
dp@fec00000 {
compatible = "rockchip,rk3399-cdn-dp";
reg = <0x00 0xfec00000 0x00 0x100000>;
interrupts = <0x00 0x09 0x04>;
clocks = <0x08 0x72 0x08 0x175 0x08 0xa1 0x08 0x16f>;
clock-names = "core-clk\0pclk\0spdif\0grf";
assigned-clocks = <0x08 0x72>;
assigned-clock-rates = <0x5f5e100>;
power-domains = <0x1a 0x15>;
phys = <0x2c 0x2d>;
resets = <0x08 0x103 0x08 0x148 0x08 0x14a 0x08 0xfd>;
reset-names = "spdif\0dptx\0apb\0core";
rockchip,grf = <0x15>;
#address-cells = <0x01>;
#size-cells = <0x00>;
#sound-dai-cells = <0x01>;
status = "okay";
extcon = <0x2e>;
dp_vop_sel = <0x01>;
linux,phandle = <0xce>;
phandle = <0xce>;
ports {
#address-cells = <0x01>;
#size-cells = <0x00>;
port {
#address-cells = <0x01>;
#size-cells = <0x00>;
endpoint@0 {
reg = <0x00>;
remote-endpoint = <0x2f>;
status = "disabled";
linux,phandle = <0xa4>;
phandle = <0xa4>;
};
endpoint@1 {
reg = <0x01>;
remote-endpoint = <0x30>;
linux,phandle = <0x9e>;
phandle = <0x9e>;
};
};
};
};
interrupt-controller@fee00000 {
compatible = "arm,gic-v3";
#interrupt-cells = <0x04>;
#address-cells = <0x02>;
#size-cells = <0x02>;
ranges;
interrupt-controller;
reg = <0x00 0xfee00000 0x00 0x10000 0x00 0xfef00000 0x00 0xc0000 0x00 0xfff00000 0x00 0x10000 0x00 0xfff10000 0x00 0x10000 0x00 0xfff20000 0x00 0x10000>;
interrupts = <0x01 0x09 0x04 0x00>;
linux,phandle = <0x01>;
phandle = <0x01>;
interrupt-controller@fee20000 {
compatible = "arm,gic-v3-its";
msi-controller;
reg = <0x00 0xfee20000 0x00 0x20000>;
linux,phandle = <0x81>;
phandle = <0x81>;
};
ppi-partitions {
interrupt-partition-0 {
affinity = <0x02 0x03 0x04 0x05>;
linux,phandle = <0x13>;
phandle = <0x13>;
};
interrupt-partition-1 {
affinity = <0x06 0x07>;
linux,phandle = <0x14>;
phandle = <0x14>;
};
};
};
saradc@ff100000 {
compatible = "rockchip,rk3399-saradc";
reg = <0x00 0xff100000 0x00 0x100>;
interrupts = <0x00 0x3e 0x04 0x00>;
#io-channel-cells = <0x01>;
clocks = <0x08 0x50 0x08 0x165>;
clock-names = "saradc\0apb_pclk";
resets = <0x08 0xd4>;
reset-names = "saradc-apb";
status = "okay";
linux,phandle = <0xc4>;
phandle = <0xc4>;
};
i2c@ff3c0000 {
compatible = "rockchip,rk3399-i2c";
reg = <0x00 0xff3c0000 0x00 0x1000>;
clocks = <0x31 0x09 0x31 0x1b>;
clock-names = "i2c\0pclk";
interrupts = <0x00 0x39 0x04 0x00>;
pinctrl-names = "default";
pinctrl-0 = <0x32>;
#address-cells = <0x01>;
#size-cells = <0x00>;
status = "okay";
i2c-scl-rising-time-ns = <0xa8>;
i2c-scl-falling-time-ns = <0x04>;
clock-frequency = <0x61a80>;
syr827@40 {
compatible = "silergy,syr827";
reg = <0x40>;
regulator-compatible = "fan53555-reg";
pinctrl-0 = <0x33>;
vsel-gpios = <0x34 0x11 0x00>;
regulator-name = "vdd_cpu_b";
regulator-min-microvolt = <0xadf34>;
regulator-max-microvolt = <0x16e360>;
regulator-ramp-delay = <0x3e8>;
fcs,suspend-voltage-selector = <0x01>;
regulator-always-on;
regulator-boot-on;
vin-supply = <0x35>;
linux,phandle = <0x12>;
phandle = <0x12>;
regulator-state-mem {
regulator-off-in-suspend;
};
};
syr828@41 {
compatible = "silergy,syr828";
reg = <0x41>;
regulator-compatible = "fan53555-reg";
pinctrl-0 = <0x36>;
vsel-gpios = <0x34 0x0e 0x00>;
regulator-name = "vdd_gpu";
regulator-min-microvolt = <0xadf34>;
regulator-max-microvolt = <0x16e360>;
regulator-ramp-delay = <0x3e8>;
fcs,suspend-voltage-selector = <0x01>;
regulator-always-on;
regulator-boot-on;
vin-supply = <0x35>;
regulator-initial-mode = <0x01>;
linux,phandle = <0x99>;
phandle = <0x99>;
regulator-state-mem {
regulator-off-in-suspend;
};
};
pmic@1b {
compatible = "rockchip,rk808";
reg = <0x1b>;
interrupt-parent = <0x34>;
interrupts = <0x15 0x08>;
pinctrl-names = "default";
pinctrl-0 = <0x37>;
rockchip,system-power-controller;
wakeup-source;
#clock-cells = <0x01>;
clock-output-names = "xin32k\0rk808-clkout2";
vcc1-supply = <0x35>;
vcc2-supply = <0x35>;
vcc3-supply = <0x35>;
vcc4-supply = <0x35>;
vcc6-supply = <0x35>;
vcc7-supply = <0x35>;
vcc8-supply = <0x38>;
vcc9-supply = <0x35>;
vcc10-supply = <0x35>;
vcc11-supply = <0x35>;
vcc12-supply = <0x38>;
vddio-supply = <0x39>;
linux,phandle = <0xd4>;
phandle = <0xd4>;
rtc {
status = "disabled";
};
regulators {
DCDC_REG1 {
regulator-name = "vdd_center";
regulator-min-microvolt = <0xb71b0>;
regulator-max-microvolt = <0x149970>;
regulator-ramp-delay = <0x1771>;
regulator-always-on;
regulator-boot-on;
regulator-state-mem {
regulator-off-in-suspend;
};
};
DCDC_REG2 {
regulator-name = "vdd_cpu_l";
regulator-min-microvolt = <0xb71b0>;
regulator-max-microvolt = <0x149970>;
regulator-ramp-delay = <0x1771>;
regulator-always-on;
regulator-boot-on;
linux,phandle = <0x0e>;
phandle = <0x0e>;
regulator-state-mem {
regulator-off-in-suspend;
};
};
DCDC_REG3 {
regulator-name = "vcc_ddr";
regulator-always-on;
regulator-boot-on;
regulator-state-mem {
regulator-on-in-suspend;
};
};
DCDC_REG4 {
regulator-name = "vcc_1v8";
regulator-min-microvolt = <0x1b7740>;
regulator-max-microvolt = <0x1b7740>;
regulator-always-on;
regulator-boot-on;
linux,phandle = <0x39>;
phandle = <0x39>;
regulator-state-mem {
regulator-on-in-suspend;
regulator-suspend-microvolt = <0x1b7740>;
};
};
LDO_REG1 {
regulator-name = "vcc1v8_dvp";
regulator-min-microvolt = <0x1b7740>;
regulator-max-microvolt = <0x1b7740>;
regulator-always-on;
regulator-boot-on;
regulator-state-mem {
regulator-on-in-suspend;
regulator-suspend-microvolt = <0x1b7740>;
};
};
LDO_REG2 {
regulator-name = "vcca1v8_hdmi";
regulator-min-microvolt = <0x1b7740>;
regulator-max-microvolt = <0x1b7740>;
regulator-always-on;
regulator-boot-on;
regulator-state-mem {
regulator-off-in-suspend;
};
};
LDO_REG3 {
regulator-name = "vcca_1v8";
regulator-min-microvolt = <0x1b7740>;
regulator-max-microvolt = <0x1b7740>;
regulator-always-on;
regulator-boot-on;
regulator-state-mem {
regulator-on-in-suspend;
regulator-suspend-microvolt = <0x1b7740>;
};
};
LDO_REG4 {
regulator-name = "vcc_sd";
regulator-min-microvolt = <0x1b7740>;
regulator-max-microvolt = <0x2dc6c0>;
regulator-always-on;
regulator-boot-on;
linux,phandle = <0x1f>;
phandle = <0x1f>;
regulator-state-mem {
regulator-off-in-suspend;
};
};
LDO_REG5 {
regulator-name = "vcc3v0_sd";
regulator-min-microvolt = <0x2dc6c0>;
regulator-max-microvolt = <0x2dc6c0>;
regulator-always-on;
regulator-boot-on;
regulator-state-mem {
regulator-off-in-suspend;
};
};
LDO_REG6 {
regulator-name = "vcc_1v5";
regulator-min-microvolt = <0x16e360>;
regulator-max-microvolt = <0x16e360>;
regulator-always-on;
regulator-boot-on;
regulator-state-mem {
regulator-off-in-suspend;
};
};
LDO_REG7 {
regulator-name = "vcca0v9_hdmi";
regulator-min-microvolt = <0xdbba0>;
regulator-max-microvolt = <0xdbba0>;
regulator-always-on;
regulator-boot-on;
regulator-state-mem {
regulator-off-in-suspend;
};
};
LDO_REG8 {
regulator-name = "vcc_3v0";
regulator-min-microvolt = <0x2dc6c0>;
regulator-max-microvolt = <0x2dc6c0>;
regulator-always-on;
regulator-boot-on;
linux,phandle = <0x91>;
phandle = <0x91>;
regulator-state-mem {
regulator-off-in-suspend;
};
};
SWITCH_REG1 {
regulator-name = "vcc3v3_s3";
regulator-always-on;
regulator-boot-on;
regulator-state-mem {
regulator-on-in-suspend;
};
};
SWITCH_REG2 {
regulator-name = "vcc3v3_s0";
regulator-always-on;
regulator-boot-on;
regulator-state-mem {
regulator-on-in-suspend;
};
};
};
};
};
i2c@ff110000 {
compatible = "rockchip,rk3399-i2c";
reg = <0x00 0xff110000 0x00 0x1000>;
clocks = <0x08 0x41 0x08 0x155>;
clock-names = "i2c\0pclk";
interrupts = <0x00 0x3b 0x04 0x00>;
pinctrl-names = "default";
pinctrl-0 = <0x3a>;
#address-cells = <0x01>;
#size-cells = <0x00>;
status = "disabled";
};
i2c@ff120000 {
compatible = "rockchip,rk3399-i2c";
reg = <0x00 0xff120000 0x00 0x1000>;
clocks = <0x08 0x42 0x08 0x156>;
clock-names = "i2c\0pclk";
interrupts = <0x00 0x23 0x04 0x00>;
pinctrl-names = "default";
pinctrl-0 = <0x3b>;
#address-cells = <0x01>;
#size-cells = <0x00>;
status = "disabled";
};
i2c@ff130000 {
compatible = "rockchip,rk3399-i2c";
reg = <0x00 0xff130000 0x00 0x1000>;
clocks = <0x08 0x43 0x08 0x157>;
clock-names = "i2c\0pclk";
interrupts = <0x00 0x22 0x04 0x00>;
pinctrl-names = "default";
pinctrl-0 = <0x3c>;
#address-cells = <0x01>;
#size-cells = <0x00>;
status = "disabled";
};
i2c@ff140000 {
compatible = "rockchip,rk3399-i2c";
reg = <0x00 0xff140000 0x00 0x1000>;
clocks = <0x08 0x44 0x08 0x158>;
clock-names = "i2c\0pclk";
interrupts = <0x00 0x26 0x04 0x00>;
pinctrl-names = "default";
pinctrl-0 = <0x3d>;
#address-cells = <0x01>;
#size-cells = <0x00>;
status = "disabled";
};
i2c@ff150000 {
compatible = "rockchip,rk3399-i2c";
reg = <0x00 0xff150000 0x00 0x1000>;
clocks = <0x08 0x45 0x08 0x159>;
clock-names = "i2c\0pclk";
interrupts = <0x00 0x25 0x04 0x00>;
pinctrl-names = "default";
pinctrl-0 = <0x3e>;
#address-cells = <0x01>;
#size-cells = <0x00>;
status = "disabled";
};
i2c@ff160000 {
compatible = "rockchip,rk3399-i2c";
reg = <0x00 0xff160000 0x00 0x1000>;
clocks = <0x08 0x46 0x08 0x15a>;
clock-names = "i2c\0pclk";
interrupts = <0x00 0x24 0x04 0x00>;
pinctrl-names = "default";
pinctrl-0 = <0x3f>;
#address-cells = <0x01>;
#size-cells = <0x00>;
status = "disabled";
};
serial@ff180000 {
compatible = "rockchip,rk3399-uart\0snps,dw-apb-uart";
reg = <0x00 0xff180000 0x00 0x100>;
clocks = <0x08 0x51 0x08 0x160>;
clock-names = "baudclk\0apb_pclk";
interrupts = <0x00 0x63 0x04 0x00>;
reg-shift = <0x02>;
reg-io-width = <0x04>;
pinctrl-names = "default";
pinctrl-0 = <0x40 0x41>;
status = "okay";
assigned-clocks = <0x08 0xac>;
assigned-clock-parents = <0x08 0x05>;
};
serial@ff190000 {
compatible = "rockchip,rk3399-uart\0snps,dw-apb-uart";
reg = <0x00 0xff190000 0x00 0x100>;
clocks = <0x08 0x52 0x08 0x161>;
clock-names = "baudclk\0apb_pclk";
interrupts = <0x00 0x62 0x04 0x00>;
reg-shift = <0x02>;
reg-io-width = <0x04>;
pinctrl-names = "default";
pinctrl-0 = <0x42>;
status = "disabled";
assigned-clocks = <0x08 0xad>;
assigned-clock-parents = <0x08 0x05>;
};
serial@ff1a0000 {
compatible = "rockchip,rk3399-uart\0snps,dw-apb-uart";
reg = <0x00 0xff1a0000 0x00 0x100>;
clocks = <0x08 0x53 0x08 0x162>;
clock-names = "baudclk\0apb_pclk";
interrupts = <0x00 0x64 0x04 0x00>;
reg-shift = <0x02>;
reg-io-width = <0x04>;
pinctrl-names = "default";
pinctrl-0 = <0x43>;
status = "okay";
assigned-clocks = <0x08 0xad>;
assigned-clock-parents = <0x08 0x05>;
};
serial@ff1b0000 {
compatible = "rockchip,rk3399-uart\0snps,dw-apb-uart";
reg = <0x00 0xff1b0000 0x00 0x100>;
clocks = <0x08 0x54 0x08 0x163>;
clock-names = "baudclk\0apb_pclk";
interrupts = <0x00 0x65 0x04 0x00>;
reg-shift = <0x02>;
reg-io-width = <0x04>;
pinctrl-names = "default";
pinctrl-0 = <0x44 0x45 0x46>;
status = "disabled";
assigned-clocks = <0x08 0xad>;
assigned-clock-parents = <0x08 0x05>;
};
spi@ff1c0000 {