-
Notifications
You must be signed in to change notification settings - Fork 147
Expand file tree
/
Copy pathmsm8996.dtsi
More file actions
3868 lines (3433 loc) · 103 KB
/
msm8996.dtsi
File metadata and controls
3868 lines (3433 loc) · 103 KB
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
/* Copyright (c) 2014-2015, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include "skeleton64.dtsi"
#include <dt-bindings/clock/msm-clocks-8996.h>
/ {
model = "Qualcomm Technologies, Inc. MSM 8996";
compatible = "qcom,msm8996";
qcom,msm-id = <246 0x0>;
qcom,pmic-id = <0x20009 0x2000A 0x0 0x0>;
interrupt-parent = <&intc>;
chosen {
bootargs = "sched_enable_hmp=1 sched_enable_power_aware=1";
};
aliases {
sdhc1 = &sdhc_1; /* SDC1 eMMC slot */
sdhc2 = &sdhc_2; /* SDC2 SD card slot */
smd7 = &smdtty_data1;
smd8 = &smdtty_data4;
smd11 = &smdtty_data11;
smd21 = &smdtty_data21;
smd36 = &smdtty_loopback;
pci-domain0 = &pcie0;
pci-domain1 = &pcie1;
pci-domain2 = &pcie2;
i2c6 = &i2c_6;
i2c7 = &i2c_7;
i2c8 = &i2c_8;
i2c12 = &i2c_12;
spi0 = &spi_0;
};
psci {
compatible = "arm,psci-1.0";
method = "smc";
};
cpus {
#address-cells = <2>;
#size-cells = <0>;
CPU0: cpu@0 {
device_type = "cpu";
compatible = "qcom,kryo";
reg = <0x0 0x0>;
qcom,limits-info = <&mitigation_profile0>;
enable-method = "psci";
qcom,ea = <&ea0>;
next-level-cache = <&L2_0>;
L2_0: l2-cache {
compatible = "arm,arch-cache";
cache-level = <2>;
qcom,dump-size = <0x88000>;
};
L1_D_0: l1-dcache {
compatible = "arm,arch-cache";
qcom,dump-size = <0x7800>;
};
L1_TLB_0: l1-tlb {
qcom,dump-size = <0x2800>;
};
};
CPU1: cpu@1 {
device_type = "cpu";
compatible = "qcom,kryo";
reg = <0x0 0x1>;
qcom,limits-info = <&mitigation_profile1>;
enable-method = "psci";
qcom,ea = <&ea1>;
next-level-cache = <&L2_0>;
L1_D_1: l1-dcache {
compatible = "arm,arch-cache";
qcom,dump-size = <0x7800>;
};
L1_TLB_1: l1-tlb {
qcom,dump-size = <0x2800>;
};
};
CPU2: cpu@100 {
device_type = "cpu";
compatible = "qcom,kryo";
reg = <0x0 0x100>;
qcom,limits-info = <&mitigation_profile2>;
enable-method = "psci";
qcom,ea = <&ea2>;
next-level-cache = <&L2_1>;
L2_1: l2-cache {
compatible = "arm,arch-cache";
cache-level = <2>;
qcom,dump-size = <0x110000>;
};
L1_D_100: l1-dcache {
compatible = "arm,arch-cache";
qcom,dump-size = <0x7800>;
};
L1_TLB_100: l1-tlb {
qcom,dump-size = <0x2800>;
};
};
CPU3: cpu@101 {
device_type = "cpu";
compatible = "qcom,kryo";
reg = <0x0 0x101>;
enable-method = "psci";
qcom,limits-info = <&mitigation_profile3>;
qcom,ea = <&ea3>;
next-level-cache = <&L2_1>;
L1_D_101: l1-dcache {
compatible = "arm,arch-cache";
qcom,dump-size = <0x7800>;
};
L1_TLB_101: l1-tlb {
qcom,dump-size = <0x2800>;
};
};
cpu-map {
cluster0 {
core0 {
cpu = <&CPU0>;
};
core1 {
cpu = <&CPU1>;
};
};
cluster1 {
core0 {
cpu = <&CPU2>;
};
core1 {
cpu = <&CPU3>;
};
};
};
};
soc: soc { };
reserved-memory {
#address-cells = <2>;
#size-cells = <2>;
ranges;
removed_regions: removed_regions@85800000 {
compatible = "removed-dma-pool";
no-map;
reg = <0 0x85800000 0 0x3000000>;
};
peripheral_mem: peripheral_region@8ea00000 {
compatible = "removed-dma-pool";
no-map;
reg = <0 0x8ea00000 0 0x2b00000>;
};
adsp_mem: adsp_region {
compatible = "shared-dma-pool";
alloc-ranges = <0 0x00000000 0 0xffffffff>;
reusable;
alignment = <0 0x100000>;
size = <0 0x400000>;
};
qseecom_mem: qseecom_region {
compatible = "shared-dma-pool";
alloc-ranges = <0 0x00000000 0 0xffffffff>;
reusable;
alignment = <0 0x400000>;
size = <0 0x1400000>;
};
secure_display_memory: secure_region {
compatible = "shared-dma-pool";
alloc-ranges = <0 0x00000000 0 0xffffffff>;
reusable;
alignment = <0 0x200000>;
size = <0 0x5c00000>;
};
modem_mem: modem_region@88800000 {
compatible = "removed-dma-pool";
no-map;
reg = <0 0x88800000 0 0x6200000>;
};
dfps_data_mem: dfps_data_mem@83400000 {
compatible = "shared-dma-pool";
no-map;
reg = <0 0x83400000 0 0x1000>;
label = "dfps_data_mem";
};
cont_splash_mem: cont_splash_mem@83401000 {
reg = <0 0x83401000 0 0x23FF000>;
label = "cont_splash_mem";
};
cont_splash_mem_hdmi: cont_splash_mem_hdmi@b1c00000 {
reg = <0 0xb1c00000 0 0x23ff000>;
label = "cont_splash_mem_hdmi";
};
};
};
#include "msm8996-ion.dtsi"
#include "msm8996-mdss.dtsi"
#include "msm8996-mdss-pll.dtsi"
#include "msm8996-smp2p.dtsi"
#include "msm8996-ipcrouter.dtsi"
#include "msm-gdsc-8996.dtsi"
#include "msm8996-bus.dtsi"
#include "msm-rdbg.dtsi"
#include "msm8996-blsp.dtsi"
&soc {
#address-cells = <1>;
#size-cells = <1>;
ranges = <0 0 0 0xffffffff>;
compatible = "simple-bus";
apc_apm: apm@099e0000 {
compatible = "qcom,msm-apm";
reg = <0x099e0000 0x1000>,
<0x09820000 0x10000>,
<0x06400050 0x8>,
<0x06480050 0x8>,
<0x09981068 0x8>,
<0x09991068 0x8>,
<0x099b1068 0x8>,
<0x099c1068 0x8>,
<0x099a1068 0x8>,
<0x099d1068 0x8>;
reg-names = "pm-apcc-glb",
"apcs-csr",
"apc0-pll-ctl",
"apc1-pll-ctl",
"apc0-cpu0-spm",
"apc0-cpu1-spm",
"apc1-cpu0-spm",
"apc1-cpu1-spm",
"apc0-l2-spm",
"apc1-l2-spm";
qcom,clock-source-override;
};
intc: interrupt-controller@09bc0000 {
compatible = "arm,gic-v3";
reg = <0x9bc0000 0x10000>, /* GICD */
<0x9c00000 0x100000>; /* GICR * 4 */
#interrupt-cells = <3>;
#address-cells = <1>;
#size-cells = <1>;
ranges;
interrupt-controller;
#redistributor-regions = <1>;
redistributor-stride = <0x0 0x40000>;
interrupts = <1 9 4>;
gic-its@09BE0000 {
compatible = "arm,gic-v3-its";
msi-contoller;
reg = <0x9be0000 0x20000>;
};
};
timer {
compatible = "arm,armv8-timer";
interrupts = <1 13 0xf08>,
<1 14 0xf08>,
<1 11 0xf08>,
<1 10 0xf08>;
clock-frequency = <19200000>;
};
restart@4ab000 {
compatible = "qcom,pshold";
reg = <0x4ab000 0x4>,
<0x7b3000 0x4>;
reg-names = "pshold-base", "tcsr-boot-misc-detect";
};
qcom,sps {
compatible = "qcom,msm_sps_4k";
qcom,device-type = <3>;
qcom,pipe-attr-ee;
};
uartblsp1dm1: serial@07570000 {
compatible = "qcom,msm-lsuart-v14";
reg = <0x7570000 0x1000>;
interrupts = <0 108 0>;
status = "disabled";
clocks = <&clock_gcc clk_gcc_blsp1_uart2_apps_clk>,
<&clock_gcc clk_gcc_blsp1_ahb_clk>;
clock-names = "core_clk", "iface_clk";
};
uartblsp2dm1: serial@075b0000 {
compatible = "qcom,msm-lsuart-v14";
reg = <0x75b0000 0x1000>;
interrupts = <0 114 0>;
status = "disabled";
clocks = <&clock_gcc clk_gcc_blsp2_uart2_apps_clk>,
<&clock_gcc clk_gcc_blsp2_ahb_clk>;
clock-names = "core_clk", "iface_clk";
};
i2c_12: i2c@75ba000 {
compatible = "qcom,i2c-msm-v2";
#address-cells = <1>;
#size-cells = <0>;
reg-names = "qup_phys_addr";
reg = <0x75ba000 0x1000>;
interrupt-names = "qup_irq";
interrupts = <0 106 0>;
dmas = <&dma_blsp2 22 64 0x20000020 0x20>,
<&dma_blsp2 23 32 0x20000020 0x20>;
dma-names = "tx", "rx";
qcom,master-id = <84>;
qcom,clk-freq-out = <400000>;
qcom,clk-freq-in = <19200000>;
clock-names = "iface_clk", "core_clk";
clocks = <&clock_gcc clk_gcc_blsp2_ahb_clk>,
<&clock_gcc clk_gcc_blsp2_qup6_i2c_apps_clk>;
pinctrl-names = "i2c_active", "i2c_sleep";
pinctrl-0 = <&i2c_12_active>;
pinctrl-1 = <&i2c_12_sleep>;
};
dma_blsp1: qcom,sps-dma@0x7544000{ /* BLSP1 */
#dma-cells = <4>;
compatible = "qcom,sps-dma";
reg = <0x7544000 0x2b000>;
interrupts = <0 238 0>;
qcom,summing-threshold = <0x10>;
};
dma_blsp2: qcom,sps-dma@0x7584000{ /* BLSP2 */
#dma-cells = <4>;
compatible = "qcom,sps-dma";
reg = <0x7584000 0x2b000>;
interrupts = <0 239 0>;
qcom,summing-threshold = <0x10>;
};
i2c_6: i2c@757a000 { /* BLSP1 QUP6 */
compatible = "qcom,i2c-msm-v2";
#address-cells = <1>;
#size-cells = <0>;
reg = <0x757a000 0x1000>;
reg-names = "qup_phys_addr";
interrupt-names = "qup_irq";
interrupts = <0 100 0>;
dmas = <&dma_blsp1 22 64 0x20000020 0x20>,
<&dma_blsp1 23 32 0x20000020 0x20>;
dma-names = "tx", "rx";
qcom,master-id = <86>;
qcom,clk-freq-out = <400000>;
qcom,clk-freq-in = <19200000>;
clock-names = "iface_clk", "core_clk";
clocks = <&clock_gcc clk_gcc_blsp1_ahb_clk>,
<&clock_gcc clk_gcc_blsp1_qup6_i2c_apps_clk>;
pinctrl-names = "i2c_active", "i2c_sleep";
pinctrl-0 = <&i2c_6_active>;
pinctrl-1 = <&i2c_6_sleep>;
};
i2c_7: i2c@75b5000 { /* BLSP2 QUP1 */
compatible = "qcom,i2c-msm-v2";
#address-cells = <1>;
#size-cells = <0>;
reg-names = "qup_phys_addr";
reg = <0x75b5000 0x1000>;
interrupt-names = "qup_irq";
interrupts = <0 101 0>;
dmas = <&dma_blsp2 12 32 0x20000020 0x20>,
<&dma_blsp2 13 32 0x20000020 0x20>;
dma-names = "tx", "rx";
qcom,master-id = <84>;
qcom,clk-freq-out = <400000>;
qcom,clk-freq-in = <19200000>;
clock-names = "iface_clk", "core_clk";
clocks = <&clock_gcc clk_gcc_blsp2_ahb_clk>,
<&clock_gcc clk_gcc_blsp2_qup1_i2c_apps_clk>;
pinctrl-names = "i2c_active", "i2c_sleep";
pinctrl-0 = <&i2c_7_active>;
pinctrl-1 = <&i2c_7_sleep>;
};
i2c_8: i2c@75b6000 { /* BLSP2 QUP2 */
compatible = "qcom,i2c-msm-v2";
#address-cells = <1>;
#size-cells = <0>;
reg-names = "qup_phys_addr";
reg = <0x75b6000 0x1000>;
interrupt-names = "qup_irq";
interrupts = <0 102 0>;
dmas = <&dma_blsp2 14 32 0x20000020 0x20>,
<&dma_blsp2 15 32 0x20000020 0x20>;
dma-names = "tx", "rx";
qcom,master-id = <84>;
qcom,clk-freq-out = <400000>;
qcom,clk-freq-in = <19200000>;
clock-names = "iface_clk", "core_clk";
clocks = <&clock_gcc clk_gcc_blsp2_ahb_clk>,
<&clock_gcc clk_gcc_blsp2_qup2_i2c_apps_clk>;
pinctrl-names = "i2c_active", "i2c_sleep";
pinctrl-0 = <&i2c_8_active>;
pinctrl-1 = <&i2c_8_sleep>;
};
blsp1_uart2: uart@07570000 { /* BLSP1 UART2 */
compatible = "qcom,msm-hsuart-v14";
reg = <0x07570000 0x1000>,
<0x7544000 0x2b000>;
status = "disabled";
reg-names = "core_mem", "bam_mem";
interrupt-names = "core_irq", "bam_irq", "wakeup_irq";
#address-cells = <0>;
interrupt-parent = <&blsp1_uart2>;
interrupts = <0 1 2>;
#interrupt-cells = <1>;
interrupt-map-mask = <0xffffffff>;
interrupt-map = <0 &intc 0 0 108 0
1 &intc 0 0 238 0
2 &tlmm 42 0>;
qcom,inject-rx-on-wakeup;
qcom,rx-char-to-inject = <0xFD>;
qcom,bam-tx-ep-pipe-index = <2>;
qcom,bam-rx-ep-pipe-index = <3>;
qcom,master-id = <86>;
clock-names = "core_clk", "iface_clk";
clocks = <&clock_gcc clk_gcc_blsp1_uart2_apps_clk>,
<&clock_gcc clk_gcc_blsp1_ahb_clk>;
pinctrl-names = "sleep", "default";
pinctrl-0 = <&blsp1_uart2_sleep>;
pinctrl-1 = <&blsp1_uart2_active>;
qcom,msm-bus,name = "buart2";
qcom,msm-bus,num-cases = <2>;
qcom,msm-bus,num-paths = <1>;
qcom,msm-bus,vectors-KBps =
<86 512 0 0>,
<86 512 500 800>;
};
m4m_cache: qcom,m4m {
compatible = "devfreq-simple-dev";
clock-names = "devfreq_clk";
clocks = <&clock_cpu clk_cbf_clk>;
governor = "cpufreq";
freq-tbl-khz =
< 150000 >,
< 307200 >,
< 384000 >,
< 499200 >,
< 595200 >,
< 691200 >,
< 787200 >,
< 883200 >,
< 960000 >,
< 1036800 >;
};
cpubw: qcom,cpubw {
compatible = "qcom,devbw";
governor = "performance";
qcom,src-dst-ports = <1 512>;
qcom,active-only;
qcom,bw-tbl =
< 762 /* 100 MHz */ >,
< 1144 /* 150 MHz */ >,
< 1525 /* 200 MHz */ >,
< 2288 /* 300 MHz */ >,
< 3143 /* 412 MHz */ >,
< 4173 /* 547 MHz */ >,
< 5195 /* 681 MHz */ >,
< 5859 /* 768 MHz */ >,
< 7759 /* 1017 MHz */ >,
< 9887 /* 1296 MHz */ >,
< 11863 /* 1555 MHz */ >,
< 13763 /* 1804 MHz */ >;
};
qcom,cpu-bwmon {
compatible = "qcom,bimc-bwmon3";
reg = <0x00408000 0x300>, <0x00401000 0x200>;
reg-names = "base", "global_base";
interrupts = <0 183 4>;
qcom,mport = <0>;
qcom,target-dev = <&cpubw>;
};
mincpubw: qcom,mincpubw {
compatible = "qcom,devbw";
governor = "powersave";
qcom,src-dst-ports = <1 512>;
qcom,active-only;
qcom,bw-tbl =
< 762 /* 100 MHz */ >,
< 1144 /* 150 MHz */ >,
< 1525 /* 200 MHz */ >,
< 2288 /* 300 MHz */ >,
< 3143 /* 412 MHz */ >,
< 4173 /* 547 MHz */ >,
< 5195 /* 681 MHz */ >,
< 5859 /* 768 MHz */ >,
< 7759 /* 1017 MHz */ >,
< 9887 /* 1296 MHz */ >,
< 11863 /* 1555 MHz */ >,
< 13763 /* 1804 MHz */ >;
};
memlat_cpu0: qcom,memlat-cpu0 {
compatible = "qcom,devbw";
governor = "powersave";
qcom,src-dst-ports = <1 512>;
qcom,active-only;
qcom,bw-tbl =
< 1525 /* 200 MHz */ >,
< 2288 /* 300 MHz */ >,
< 3509 /* 460 MHz */ >,
< 4066 /* 533 MHz */ >,
< 5126 /* 672 MHz */ >,
< 5928 /* 777 MHz */ >,
< 7904 /* 1036 MHz */ >,
< 9887 /* 1296 MHz */ >,
< 11863 /* 1555 MHz */ >,
< 13763 /* 1804 MHz */ >;
};
memlat_cpu2: qcom,memlat-cpu2 {
compatible = "qcom,devbw";
governor = "powersave";
qcom,src-dst-ports = <1 512>;
qcom,active-only;
qcom,bw-tbl =
< 1525 /* 200 MHz */ >,
< 2288 /* 300 MHz */ >,
< 3509 /* 460 MHz */ >,
< 4066 /* 533 MHz */ >,
< 5126 /* 672 MHz */ >,
< 5928 /* 777 MHz */ >,
< 7904 /* 1036 MHz */ >,
< 9887 /* 1296 MHz */ >,
< 11863 /* 1555 MHz */ >,
< 13763 /* 1804 MHz */ >;
};
qcom,arm-memlat-mon-0 {
compatible = "qcom,arm-memlat-mon";
qcom,cpulist = <&CPU0 &CPU1>;
qcom,target-dev = <&memlat_cpu0>;
};
qcom,arm-memlat-mon-2 {
compatible = "qcom,arm-memlat-mon";
qcom,cpulist = <&CPU2 &CPU3>;
qcom,target-dev = <&memlat_cpu2>;
};
devfreq_cpufreq: devfreq-cpufreq {
cpubw-cpufreq {
target-dev = <&cpubw>;
cpu-to-dev-map-0 =
< 1459200 1525 >;
cpu-to-dev-map-2 =
< 1593600 1525 >;
};
m4m-cpufreq {
target-dev = <&m4m_cache>;
cpu-to-dev-map-0 =
< 345600 307200 >,
< 403200 384000 >,
< 576000 499200 >,
< 633600 595200 >,
< 729600 691200 >,
< 806400 787200 >,
< 883200 883200 >,
< 960000 960000 >,
< 1459200 1036000 >;
cpu-to-dev-map-2 =
< 345600 307200 >,
< 403200 384000 >,
< 576000 499200 >,
< 633600 595200 >,
< 729600 691200 >,
< 806400 787200 >,
< 883200 883200 >,
< 960000 960000 >,
< 1593600 1036000 >;
};
mincpubw-cpufreq {
target-dev = <&mincpubw>;
cpu-to-dev-map-0 =
< 1420800 1525 >;
cpu-to-dev-map-2 =
< 1420800 1525 >,
< 1593600 5195 >;
};
};
msm_cpufreq: qcom,msm-cpufreq {
compatible = "qcom,msm-cpufreq";
clock-names = "l2_clk", "cpu0_clk", "cpu1_clk", "cpu2_clk",
"cpu3_clk";
clocks = <&clock_cpu clk_cbf_clk>,
<&clock_cpu clk_pwrcl_clk>,
<&clock_cpu clk_pwrcl_clk>,
<&clock_cpu clk_perfcl_clk>,
<&clock_cpu clk_perfcl_clk>;
qcom,governor-per-policy;
qcom,cpufreq-table-0 =
< 307200 >,
< 345600 >,
< 403200 >,
< 480000 >,
< 576000 >,
< 633600 >,
< 729600 >,
< 806400 >,
< 883200 >,
< 960000 >,
< 1017600 >,
< 1113600 >,
< 1190400 >,
< 1267200 >,
< 1344000 >,
< 1420800 >,
< 1459200 >;
qcom,cpufreq-table-2 =
< 307200 >,
< 345600 >,
< 403200 >,
< 480000 >,
< 576000 >,
< 633600 >,
< 729600 >,
< 806400 >,
< 883200 >,
< 960000 >,
< 1017600 >,
< 1113600 >,
< 1190400 >,
< 1267200 >,
< 1344000 >,
< 1420800 >,
< 1497600 >,
< 1593600 >;
};
clock_cpu: qcom,cpu-clock-8996@ {
compatible = "qcom,cpu-clock-8996";
reg = <0x06400000 0x1000>,
<0x06480000 0x1000>,
<0x09A20000 0x1000>,
<0x06400000 0x1000>,
<0x06480000 0x1000>,
<0x09A11000 0x1000>,
<0x00074130 0x8>,
<0x09820000 0x1000>;
reg-names = "pwrcl_pll", "perfcl_pll", "cbf_pll", "pwrcl_mux", "perfcl_mux", "cbf_mux", "efuse", "debug";
vdd-pwrcl-supply = <&apc0_pwrcl_vreg>;
vdd-perfcl-supply = <&apc1_vreg>;
vdd-cbf-supply = <&apc0_cbf_vreg>;
vdd-dig-supply = <&pm8994_s2_corner_ao>;
cbf-dev = <&m4m_cache>;
/* please look at msm8996-v3.dtsi for the v3 plan */
qcom,pwrcl-speedbin0-v0 =
< 0 0 >,
< 307200000 3 >,
< 345600000 4 >,
< 403200000 5 >,
< 480000000 6 >,
< 576000000 7 >,
< 633600000 8 >,
< 729600000 9 >,
< 806400000 10 >,
< 883200000 11 >,
< 960000000 12 >,
< 1017600000 13 >,
< 1113600000 14 >,
< 1190400000 15 >,
< 1267200000 16 >,
< 1344000000 17 >,
< 1420800000 18 >,
< 1459200000 19 >;
qcom,perfcl-speedbin0-v0 =
< 0 0 >,
< 307200000 1 >,
< 345600000 2 >,
< 403200000 3 >,
< 480000000 4 >,
< 576000000 5 >,
< 633600000 6 >,
< 729600000 7 >,
< 806400000 8 >,
< 883200000 9 >,
< 960000000 10 >,
< 1017600000 11 >,
< 1113600000 12 >,
< 1190400000 13 >,
< 1267200000 14 >,
< 1344000000 15 >,
< 1420800000 16 >,
< 1497600000 17 >,
< 1593600000 18 >;
qcom,cbf-speedbin0-v0 =
< 0 0 >,
< 307200000 2 >,
< 384000000 3 >,
< 499200000 4 >,
< 595200000 5 >,
< 691200000 6 >,
< 787200000 7 >,
< 883200000 8 >,
< 960000000 9 >,
< 1036800000 10 >;
clock-names = "xo_ao", "aux_clk";
clocks = <&clock_gcc clk_cxo_clk_src_ao>,
<&clock_gcc clk_gpll0_ao>;
#clock-cells = <1>;
};
clock_gcc: qcom,gcc@300000 {
compatible = "qcom,gcc-8996";
reg = <0x300000 0x8f014>;
reg-names = "cc_base";
vdd_dig-supply = <&pm8994_s1_corner>;
#clock-cells = <1>;
};
clock_mmss: qcom,mmsscc@8c0000 {
compatible = "qcom,mmsscc-8996";
reg = <0x8c0000 0xb00c>,
<0x74130 0x8>;
reg-names = "cc_base", "efuse";
vdd_dig-supply = <&pm8994_s1_corner>;
mmpll4_dig-supply = <&pm8994_s1_corner>;
mmpll4_analog-supply = <&pm8994_l12>;
qcom,vfe0_clk_src-opp-store-vcorner = <&vfe0>;
qcom,vfe1_clk_src-opp-store-vcorner = <&vfe1>;
qcom,cpp_clk_src-opp-store-vcorner = <&cpp>;
clock-names = "xo", "gpll0", "gpll0_div",
"pclk0_src", "pclk1_src",
"byte0_src", "byte1_src",
"extpclk_src";
clocks = <&clock_gcc clk_cxo_clk_src>,
<&clock_gcc clk_gpll0_out_main>,
<&clock_gcc clk_gcc_mmss_gpll0_div_clk>,
<&mdss_dsi0_pll clk_dsi0pll_pixel_clk_mux>,
<&mdss_dsi1_pll clk_dsi1pll_pixel_clk_mux>,
<&mdss_dsi0_pll clk_dsi0pll_byte_clk_mux>,
<&mdss_dsi1_pll clk_dsi1pll_byte_clk_mux>,
<&mdss_hdmi_pll clk_hdmi_vco_clk>;
#clock-cells = <1>;
};
clock_gpu: qcom,gpucc@8c0000 {
compatible = "qcom,gpucc-8996";
reg = <0x8c0000 0xb00c>;
reg-names = "cc_base";
vdd_gfx-supply = <&gfx_vreg>;
qcom,gfx3d_clk_src-opp-handle = <&msm_gpu>;
vdd_mx-supply = <&pm8994_s2_corner>;
vdd_gpu_mx-supply = <&pm8994_s2_corner>;
qcom,gfxfreq-speedbin0 =
< 0 0 0 >,
< 19200000 3 4 >,
< 60000000 3 4 >,
< 120000000 3 4 >,
< 205000000 3 4 >,
< 360000000 4 5 >,
< 480000000 5 7 >;
qcom,gfxfreq-mx-speedbin0 =
< 0 0 >,
< 19200000 4 >,
< 60000000 4 >,
< 120000000 4 >,
< 205000000 4 >,
< 360000000 5 >,
< 480000000 7 >;
#clock-cells = <1>;
};
clock_debug: qcom,cc-debug@362000 {
compatible = "qcom,cc-debug-8996";
reg = <0x362000 0x4>;
reg-names = "cc_base";
clock-names = "debug_mmss_clk", "debug_gpu_clk", "debug_cpu_clk";
clocks = <&clock_mmss clk_mmss_gcc_dbg_clk>,
<&clock_gpu clk_gpu_gcc_dbg_clk>,
<&clock_cpu clk_cpu_debug_mux>;
#clock-cells = <1>;
};
qcom,rmtfs_sharedmem@0 {
compatible = "qcom,sharedmem-uio";
reg = <0x0 0x00200000>;
reg-names = "rmtfs";
qcom,client-id = <0x00000001>;
};
wcd9xxx_intc: wcd9xxx-irq {
compatible = "qcom,wcd9xxx-irq";
interrupt-controller;
#interrupt-cells = <1>;
interrupt-parent = <&tlmm>;
qcom,gpio-connect = <&tlmm 54 0>;
pinctrl-names = "default";
pinctrl-0 = <&wcd_intr_default>;
};
clock_audio: audio_ext_clk {
compatible = "qcom,audio-ref-clk";
qcom,audio-ref-clk-gpio = <&pm8994_gpios 15 0>;
clock-names = "osr_clk";
clocks = <&clock_gcc clk_div_clk1>;
qcom,node_has_rpm_clock;
#clock-cells = <1>;
pinctrl-names = "sleep", "active";
pinctrl-0 = <&spkr_i2s_clk_sleep>;
pinctrl-1 = <&spkr_i2s_clk_active>;
};
tspp: msm_tspp@075e7000 {
compatible = "qcom,msm_tspp";
reg = <0x075e7000 0x1000>, /* MSM_TSIF0_PHYS */
<0x075e8000 0x1000>, /* MSM_TSIF1_PHYS */
<0x075e9000 0x1000>, /* MSM_TSPP_PHYS */
<0x075c4000 0x23000>; /* MSM_TSPP_BAM_PHYS */
reg-names = "MSM_TSIF0_PHYS",
"MSM_TSIF1_PHYS",
"MSM_TSPP_PHYS",
"MSM_TSPP_BAM_PHYS";
interrupts = <0 121 0>, /* TSIF_TSPP_IRQ */
<0 119 0>, /* TSIF0_IRQ */
<0 120 0>, /* TSIF1_IRQ */
<0 122 0>; /* TSIF_BAM_IRQ */
interrupt-names = "TSIF_TSPP_IRQ",
"TSIF0_IRQ",
"TSIF1_IRQ",
"TSIF_BAM_IRQ";
clock-names = "iface_clk", "ref_clk";
clocks = <&clock_gcc clk_gcc_tsif_ahb_clk>,
<&clock_gcc clk_gcc_tsif_ref_clk>;
qcom,msm-bus,name = "tsif";
qcom,msm-bus,num-cases = <2>;
qcom,msm-bus,num-paths = <1>;
qcom,msm-bus,vectors-KBps =
<82 512 0 0>, /* No vote */
<82 512 12288 24576>; /* Max. bandwidth, 2xTSIF, each max of 96Mbps */
pinctrl-names = "disabled",
"tsif0-mode1", "tsif0-mode2",
"tsif1-mode1", "tsif1-mode2",
"dual-tsif-mode1", "dual-tsif-mode2";
pinctrl-0 = <>; /* disabled */
pinctrl-1 = <&tsif0_signals_active>; /* tsif0-mode1 */
pinctrl-2 = <&tsif0_signals_active
&tsif0_sync_active>; /* tsif0-mode2 */
pinctrl-3 = <&tsif1_signals_active>; /* tsif1-mode1 */
pinctrl-4 = <&tsif1_signals_active
&tsif1_sync_active>; /* tsif1-mode2 */
pinctrl-5 = <&tsif0_signals_active
&tsif1_signals_active>; /* dual-tsif-mode1 */
pinctrl-6 = <&tsif0_signals_active
&tsif0_sync_active
&tsif1_signals_active
&tsif1_sync_active>; /* dual-tsif-mode2 */
};
wcd_rst_gpio: wcd_gpio_ctrl {
compatible = "qcom,wcd-gpio-ctrl";
qcom,cdc-rst-n-gpio = <&tlmm 64 0>;
pinctrl-names = "aud_active", "aud_sleep";
pinctrl-0 = <&cdc_reset_active>;
pinctrl-1 = <&cdc_reset_sleep>;
};
slim_msm: slim@91c0000 {
cell-index = <1>;
compatible = "qcom,slim-ngd";
reg = <0x91c0000 0x2C000>,
<0x9184000 0x32000>;
reg-names = "slimbus_physical", "slimbus_bam_physical";
interrupts = <0 163 0>, <0 164 0>;
interrupt-names = "slimbus_irq", "slimbus_bam_irq";
qcom,apps-ch-pipes = <0x60000000>;
qcom,ea-pc = <0x160>;
msm_dai_slim {
compatible = "qcom,msm-dai-slim";
elemental-addr = [ff ff ff fe 17 02];
};
tasha_codec {
compatible = "qcom,tasha-slim-pgd";
elemental-addr = [00 01 A0 01 17 02];
interrupt-parent = <&wcd9xxx_intc>;
interrupts = <0 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>;
qcom,wcd-rst-gpio-node = <&wcd_rst_gpio>;
clock-names = "wcd_clk", "wcd_native_clk";
clocks = <&clock_audio clk_audio_pmi_clk>,
<&clock_audio clk_audio_ap_clk2>;
cdc-vdd-buck-supply = <&pm8994_s4>;
qcom,cdc-vdd-buck-voltage = <1800000 1800000>;
qcom,cdc-vdd-buck-current = <650000>;
cdc-buck-sido-supply = <&pm8994_s4>;
qcom,cdc-buck-sido-voltage = <1800000 1800000>;
qcom,cdc-buck-sido-current = <250000>;
cdc-vdd-tx-h-supply = <&pm8994_s4>;
qcom,cdc-vdd-tx-h-voltage = <1800000 1800000>;
qcom,cdc-vdd-tx-h-current = <25000>;
cdc-vdd-rx-h-supply = <&pm8994_s4>;
qcom,cdc-vdd-rx-h-voltage = <1800000 1800000>;
qcom,cdc-vdd-rx-h-current = <25000>;
cdc-vddpx-1-supply = <&pm8994_s4>;
qcom,cdc-vddpx-1-voltage = <1800000 1800000>;
qcom,cdc-vddpx-1-current = <10000>;
qcom,cdc-static-supplies = "cdc-vdd-buck",
"cdc-buck-sido",
"cdc-vdd-tx-h",
"cdc-vdd-rx-h",
"cdc-vddpx-1";
qcom,cdc-micbias1-mv = <1800>;
qcom,cdc-micbias2-mv = <1800>;
qcom,cdc-micbias3-mv = <1800>;
qcom,cdc-micbias4-mv = <1800>;
qcom,cdc-mclk-clk-rate = <9600000>;
qcom,cdc-slim-ifd = "tasha-slim-ifd";
qcom,cdc-slim-ifd-elemental-addr = [00 00 A0 01 17 02];
qcom,cdc-dmic-sample-rate = <4800000>;
qcom,cdc-mad-dmic-rate = <600000>;
};
};
sdhc_1: sdhci@7464900 {
compatible = "qcom,sdhci-msm";
reg = <0x7464900 0x500>, <0x7464000 0x800>, <0x7464E00 0x19C>;
reg-names = "hc_mem", "core_mem", "cmdq_mem";
interrupts = <0 141 0>, <0 134 0>;
interrupt-names = "hc_irq", "pwr_irq";
clock-names = "iface_clk", "core_clk", "ice_core_clk";
clocks = <&clock_gcc clk_gcc_sdcc1_ahb_clk>,
<&clock_gcc clk_gcc_sdcc1_apps_clk>,
<&clock_gcc clk_gcc_sdcc1_ice_core_clk>;
sdhc-msm-crypto = <&sdcc1_ice>;
qcom,large-address-bus;
qcom,bus-width = <8>;