|
12 | 12 | #include <dt-bindings/clock/qcom,rpmh.h> |
13 | 13 | #include <dt-bindings/dma/qcom-gpi.h> |
14 | 14 | #include <dt-bindings/interconnect/qcom,icc.h> |
| 15 | +#include <dt-bindings/interconnect/qcom,osm-l3.h> |
15 | 16 | #include <dt-bindings/interconnect/qcom,qcs615-rpmh.h> |
16 | 17 | #include <dt-bindings/interrupt-controller/arm-gic.h> |
17 | 18 | #include <dt-bindings/phy/phy-qcom-qmp.h> |
|
41 | 42 | clocks = <&cpufreq_hw 0>; |
42 | 43 | qcom,freq-domain = <&cpufreq_hw 0>; |
43 | 44 | #cooling-cells = <2>; |
| 45 | + operating-points-v2 = <&cpu0_opp_table>; |
| 46 | + interconnects = <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY |
| 47 | + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ACTIVE_ONLY>, |
| 48 | + <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>; |
44 | 49 |
|
45 | 50 | l2_0: l2-cache { |
46 | 51 | compatible = "cache"; |
|
62 | 67 | next-level-cache = <&l2_100>; |
63 | 68 | clocks = <&cpufreq_hw 0>; |
64 | 69 | qcom,freq-domain = <&cpufreq_hw 0>; |
| 70 | + operating-points-v2 = <&cpu0_opp_table>; |
| 71 | + interconnects = <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY |
| 72 | + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ACTIVE_ONLY>, |
| 73 | + <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>; |
65 | 74 |
|
66 | 75 | l2_100: l2-cache { |
67 | 76 | compatible = "cache"; |
|
83 | 92 | next-level-cache = <&l2_200>; |
84 | 93 | clocks = <&cpufreq_hw 0>; |
85 | 94 | qcom,freq-domain = <&cpufreq_hw 0>; |
| 95 | + operating-points-v2 = <&cpu0_opp_table>; |
| 96 | + interconnects = <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY |
| 97 | + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ACTIVE_ONLY>, |
| 98 | + <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>; |
86 | 99 |
|
87 | 100 | l2_200: l2-cache { |
88 | 101 | compatible = "cache"; |
|
104 | 117 | next-level-cache = <&l2_300>; |
105 | 118 | clocks = <&cpufreq_hw 0>; |
106 | 119 | qcom,freq-domain = <&cpufreq_hw 0>; |
| 120 | + operating-points-v2 = <&cpu0_opp_table>; |
| 121 | + interconnects = <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY |
| 122 | + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ACTIVE_ONLY>, |
| 123 | + <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>; |
107 | 124 |
|
108 | 125 | l2_300: l2-cache { |
109 | 126 | compatible = "cache"; |
|
125 | 142 | next-level-cache = <&l2_400>; |
126 | 143 | clocks = <&cpufreq_hw 0>; |
127 | 144 | qcom,freq-domain = <&cpufreq_hw 0>; |
| 145 | + operating-points-v2 = <&cpu0_opp_table>; |
| 146 | + interconnects = <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY |
| 147 | + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ACTIVE_ONLY>, |
| 148 | + <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>; |
128 | 149 |
|
129 | 150 | l2_400: l2-cache { |
130 | 151 | compatible = "cache"; |
|
146 | 167 | next-level-cache = <&l2_500>; |
147 | 168 | clocks = <&cpufreq_hw 0>; |
148 | 169 | qcom,freq-domain = <&cpufreq_hw 0>; |
| 170 | + operating-points-v2 = <&cpu0_opp_table>; |
| 171 | + interconnects = <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY |
| 172 | + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ACTIVE_ONLY>, |
| 173 | + <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>; |
149 | 174 |
|
150 | 175 | l2_500: l2-cache { |
151 | 176 | compatible = "cache"; |
|
168 | 193 | clocks = <&cpufreq_hw 1>; |
169 | 194 | qcom,freq-domain = <&cpufreq_hw 1>; |
170 | 195 | #cooling-cells = <2>; |
| 196 | + operating-points-v2 = <&cpu6_opp_table>; |
| 197 | + interconnects = <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY |
| 198 | + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ACTIVE_ONLY>, |
| 199 | + <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>; |
171 | 200 |
|
172 | 201 | l2_600: l2-cache { |
173 | 202 | compatible = "cache"; |
|
189 | 218 | next-level-cache = <&l2_700>; |
190 | 219 | clocks = <&cpufreq_hw 1>; |
191 | 220 | qcom,freq-domain = <&cpufreq_hw 1>; |
| 221 | + operating-points-v2 = <&cpu6_opp_table>; |
| 222 | + interconnects = <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY |
| 223 | + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ACTIVE_ONLY>, |
| 224 | + <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>; |
192 | 225 |
|
193 | 226 | l2_700: l2-cache { |
194 | 227 | compatible = "cache"; |
|
241 | 274 | }; |
242 | 275 | }; |
243 | 276 |
|
| 277 | + cpu0_opp_table: opp-table-cpu0 { |
| 278 | + compatible = "operating-points-v2"; |
| 279 | + opp-shared; |
| 280 | + |
| 281 | + opp-300000000 { |
| 282 | + opp-hz = /bits/ 64 <300000000>; |
| 283 | + opp-peak-kBps = <(300000 * 4) (300000 * 16)>; |
| 284 | + }; |
| 285 | + |
| 286 | + opp-576000000 { |
| 287 | + opp-hz = /bits/ 64 <576000000>; |
| 288 | + opp-peak-kBps = <(300000 * 4) (576000 * 16)>; |
| 289 | + }; |
| 290 | + |
| 291 | + opp-748800000 { |
| 292 | + opp-hz = /bits/ 64 <748800000>; |
| 293 | + opp-peak-kBps = <(300000 * 4) (576000 * 16)>; |
| 294 | + }; |
| 295 | + |
| 296 | + opp-998400000 { |
| 297 | + opp-hz = /bits/ 64 <998400000>; |
| 298 | + opp-peak-kBps = <(451000 * 4) (806400 * 16)>; |
| 299 | + }; |
| 300 | + |
| 301 | + opp-1209600000 { |
| 302 | + opp-hz = /bits/ 64 <1209600000>; |
| 303 | + opp-peak-kBps = <(547000 * 4) (1017600 * 16)>; |
| 304 | + }; |
| 305 | + |
| 306 | + opp-1363200000 { |
| 307 | + opp-hz = /bits/ 64 <1363200000>; |
| 308 | + opp-peak-kBps = <(768000 * 4) (1209600 * 16)>; |
| 309 | + }; |
| 310 | + |
| 311 | + opp-1516800000 { |
| 312 | + opp-hz = /bits/ 64 <1516800000>; |
| 313 | + opp-peak-kBps = <(768000 * 4) (1209600 * 16)>; |
| 314 | + }; |
| 315 | + |
| 316 | + opp-1593600000 { |
| 317 | + opp-hz = /bits/ 64 <1593600000>; |
| 318 | + opp-peak-kBps = <(1017000 * 4) (1363200 * 16)>; |
| 319 | + }; |
| 320 | + }; |
| 321 | + |
| 322 | + cpu6_opp_table: opp-table-cpu6 { |
| 323 | + compatible = "operating-points-v2"; |
| 324 | + opp-shared; |
| 325 | + |
| 326 | + opp-300000000 { |
| 327 | + opp-hz = /bits/ 64 <300000000>; |
| 328 | + opp-peak-kBps = <(451000 * 4) (300000 * 16)>; |
| 329 | + }; |
| 330 | + |
| 331 | + opp-652800000 { |
| 332 | + opp-hz = /bits/ 64 <652800000>; |
| 333 | + opp-peak-kBps = <(451000 * 4) (576000 * 16)>; |
| 334 | + }; |
| 335 | + |
| 336 | + opp-768000000 { |
| 337 | + opp-hz = /bits/ 64 <768000000>; |
| 338 | + opp-peak-kBps = <(451000 * 4) (576000 * 16)>; |
| 339 | + }; |
| 340 | + |
| 341 | + opp-979200000 { |
| 342 | + opp-hz = /bits/ 64 <979200000>; |
| 343 | + opp-peak-kBps = <(547000 * 4) (806400 * 16)>; |
| 344 | + }; |
| 345 | + |
| 346 | + opp-1017600000 { |
| 347 | + opp-hz = /bits/ 64 <1017600000>; |
| 348 | + opp-peak-kBps = <(547000 * 4) (806400 * 16)>; |
| 349 | + }; |
| 350 | + |
| 351 | + opp-1094400000 { |
| 352 | + opp-hz = /bits/ 64 <109440000>; |
| 353 | + opp-peak-kBps = <(1017600 * 4) (940800 * 16)>; |
| 354 | + }; |
| 355 | + |
| 356 | + opp-1209600000 { |
| 357 | + opp-hz = /bits/ 64 <1209600000>; |
| 358 | + opp-peak-kBps = <(1017600 * 4) (1017600 * 16)>; |
| 359 | + }; |
| 360 | + |
| 361 | + opp-1363200000 { |
| 362 | + opp-hz = /bits/ 64 <1363200000>; |
| 363 | + opp-peak-kBps = <(1555000 * 4) (1209600 * 16)>; |
| 364 | + }; |
| 365 | + |
| 366 | + opp-1516800000 { |
| 367 | + opp-hz = /bits/ 64 <1516800000>; |
| 368 | + opp-peak-kBps = <(1555000 * 4) (1209600 * 16)>; |
| 369 | + }; |
| 370 | + |
| 371 | + opp-1708800000 { |
| 372 | + opp-hz = /bits/ 64 <1708800000>; |
| 373 | + opp-peak-kBps = <(1555000 * 4) (1363200 * 16)>; |
| 374 | + }; |
| 375 | + |
| 376 | + opp-1900800000 { |
| 377 | + opp-hz = /bits/ 64 <1900800000>; |
| 378 | + opp-peak-kBps = <(1555000 * 4) (1363200 * 16)>; |
| 379 | + }; |
| 380 | + }; |
| 381 | + |
244 | 382 | dummy_eud: dummy-sink { |
245 | 383 | compatible = "arm,coresight-dummy-sink"; |
246 | 384 |
|
|
4240 | 4378 | }; |
4241 | 4379 | }; |
4242 | 4380 |
|
| 4381 | + osm_l3: interconnect@18321000 { |
| 4382 | + compatible = "qcom,qcs615-osm-l3", "qcom,sm8150-osm-l3", "qcom,osm-l3"; |
| 4383 | + reg = <0x0 0x18321000 0x0 0x1400>; |
| 4384 | + |
| 4385 | + clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GPLL0>; |
| 4386 | + clock-names = "xo", "alternate"; |
| 4387 | + |
| 4388 | + #interconnect-cells = <1>; |
| 4389 | + }; |
| 4390 | + |
4243 | 4391 | usb_1_hsphy: phy@88e2000 { |
4244 | 4392 | compatible = "qcom,qcs615-qusb2-phy"; |
4245 | 4393 | reg = <0x0 0x88e2000 0x0 0x180>; |
|
0 commit comments