1 // SPDX-License-Identifier: BSD-3-Clause
3 * Copyright (c) 2021, The Linux Foundation. All rights reserved.
4 * Copyright (c) 2022, Linaro Limited
7 #include "sc8280xp.dtsi"
9 /delete-node/ &cpu0_opp_table;
10 /delete-node/ &cpu4_opp_table;
13 cpu0_opp_table: opp-table-cpu0 {
14 compatible = "operating-points-v2";
18 opp-hz = /bits/ 64 <300000000>;
19 opp-peak-kBps = <(300000 * 32)>;
22 opp-hz = /bits/ 64 <403200000>;
23 opp-peak-kBps = <(384000 * 32)>;
26 opp-hz = /bits/ 64 <499200000>;
27 opp-peak-kBps = <(480000 * 32)>;
30 opp-hz = /bits/ 64 <595200000>;
31 opp-peak-kBps = <(576000 * 32)>;
34 opp-hz = /bits/ 64 <710400000>;
35 opp-peak-kBps = <(672000 * 32)>;
38 opp-hz = /bits/ 64 <806400000>;
39 opp-peak-kBps = <(768000 * 32)>;
42 opp-hz = /bits/ 64 <902400000>;
43 opp-peak-kBps = <(864000 * 32)>;
46 opp-hz = /bits/ 64 <1017600000>;
47 opp-peak-kBps = <(960000 * 32)>;
50 opp-hz = /bits/ 64 <1113600000>;
51 opp-peak-kBps = <(1075200 * 32)>;
54 opp-hz = /bits/ 64 <1209600000>;
55 opp-peak-kBps = <(1171200 * 32)>;
58 opp-hz = /bits/ 64 <1324800000>;
59 opp-peak-kBps = <(1286400 * 32)>;
62 opp-hz = /bits/ 64 <1440000000>;
63 opp-peak-kBps = <(1382400 * 32)>;
66 opp-hz = /bits/ 64 <1555200000>;
67 opp-peak-kBps = <(1497600 * 32)>;
70 opp-hz = /bits/ 64 <1670400000>;
71 opp-peak-kBps = <(1593600 * 32)>;
74 opp-hz = /bits/ 64 <1785600000>;
75 opp-peak-kBps = <(1708800 * 32)>;
78 opp-hz = /bits/ 64 <1881600000>;
79 opp-peak-kBps = <(1708800 * 32)>;
82 opp-hz = /bits/ 64 <2016000000>;
83 opp-peak-kBps = <(1708800 * 32)>;
86 opp-hz = /bits/ 64 <2131200000>;
87 opp-peak-kBps = <(1708800 * 32)>;
90 opp-hz = /bits/ 64 <2246400000>;
91 opp-peak-kBps = <(1708800 * 32)>;
95 cpu4_opp_table: opp-table-cpu4 {
96 compatible = "operating-points-v2";
100 opp-hz = /bits/ 64 <825600000>;
101 opp-peak-kBps = <(300000 * 32)>;
104 opp-hz = /bits/ 64 <940800000>;
105 opp-peak-kBps = <(864000 * 32)>;
108 opp-hz = /bits/ 64 <1056000000>;
109 opp-peak-kBps = <(960000 * 32)>;
112 opp-hz = /bits/ 64 <1171200000>;
113 opp-peak-kBps = <(1171200 * 32)>;
116 opp-hz = /bits/ 64 <1286400000>;
117 opp-peak-kBps = <(1286400 * 32)>;
120 opp-hz = /bits/ 64 <1401600000>;
121 opp-peak-kBps = <(1382400 * 32)>;
124 opp-hz = /bits/ 64 <1516800000>;
125 opp-peak-kBps = <(1497600 * 32)>;
128 opp-hz = /bits/ 64 <1632000000>;
129 opp-peak-kBps = <(1593600 * 32)>;
132 opp-hz = /bits/ 64 <1747200000>;
133 opp-peak-kBps = <(1593600 * 32)>;
136 opp-hz = /bits/ 64 <1862400000>;
137 opp-peak-kBps = <(1708800 * 32)>;
140 opp-hz = /bits/ 64 <1977600000>;
141 opp-peak-kBps = <(1708800 * 32)>;
144 opp-hz = /bits/ 64 <2073600000>;
145 opp-peak-kBps = <(1708800 * 32)>;
148 opp-hz = /bits/ 64 <2169600000>;
149 opp-peak-kBps = <(1708800 * 32)>;
152 opp-hz = /bits/ 64 <2284800000>;
153 opp-peak-kBps = <(1708800 * 32)>;
156 opp-hz = /bits/ 64 <2380800000>;
157 opp-peak-kBps = <(1708800 * 32)>;
160 opp-hz = /bits/ 64 <2496000000>;
161 opp-peak-kBps = <(1708800 * 32)>;
164 opp-hz = /bits/ 64 <2592000000>;
165 opp-peak-kBps = <(1708800 * 32)>;
171 /* SA8295P and SA8540P doesn't provide gfx.lvl */
172 /delete-property/ power-domains;
182 compatible = "qcom,pcie-sa8540p";
184 linux,pci-domain = <0>;
186 interrupts = <GIC_SPI 440 IRQ_TYPE_LEVEL_HIGH>;
187 interrupt-names = "msi";
191 compatible = "qcom,pcie-sa8540p";
193 linux,pci-domain = <1>;
195 interrupts = <GIC_SPI 263 IRQ_TYPE_LEVEL_HIGH>;
196 interrupt-names = "msi";
200 compatible = "qcom,pcie-sa8540p";
201 reg = <0x0 0x01c10000 0x0 0x3000>,
202 <0x0 0x40000000 0x0 0xf1d>,
203 <0x0 0x40000f20 0x0 0xa8>,
204 <0x0 0x40001000 0x0 0x1000>,
205 <0x0 0x40100000 0x0 0x100000>;
206 reg-names = "parf", "dbi", "elbi", "atu", "config";
208 ranges = <0x01000000 0x0 0x40200000 0x0 0x40200000 0x0 0x100000>,
209 <0x02000000 0x0 0x40300000 0x0 0x40300000 0x0 0x1d00000>;
211 linux,pci-domain = <2>;
213 interrupts = <GIC_SPI 567 IRQ_TYPE_LEVEL_HIGH>;
214 interrupt-names = "msi";
216 interrupt-map = <0 0 0 1 &intc 0 0 GIC_SPI 541 IRQ_TYPE_LEVEL_HIGH>,
217 <0 0 0 2 &intc 0 0 GIC_SPI 542 IRQ_TYPE_LEVEL_HIGH>,
218 <0 0 0 3 &intc 0 0 GIC_SPI 543 IRQ_TYPE_LEVEL_HIGH>,
219 <0 0 0 4 &intc 0 0 GIC_SPI 544 IRQ_TYPE_LEVEL_HIGH>;
223 compatible = "qcom,pcie-sa8540p";
225 linux,pci-domain = <3>;
227 interrupts = <GIC_SPI 565 IRQ_TYPE_LEVEL_HIGH>;
228 interrupt-names = "msi";
232 compatible = "qcom,pcie-sa8540p";
234 linux,pci-domain = <4>;
236 interrupts = <GIC_SPI 518 IRQ_TYPE_LEVEL_HIGH>;
237 interrupt-names = "msi";
241 compatible = "qcom,sa8540p-rpmhpd";