| 1 |
// SPDX-License-Identifier: BSD-3-Clause |
| 2 |
/* |
| 3 |
* SDX55 SoC device tree source |
| 4 |
* |
| 5 |
* Copyright (c) 2018, The Linux Foundation. All rights reserved. |
| 6 |
* Copyright (c) 2020, Linaro Ltd. |
| 7 |
*/ |
| 8 |
|
| 9 |
#include <dt-bindings/clock/qcom,gcc-sdx55.h> |
| 10 |
#include <dt-bindings/clock/qcom,rpmh.h> |
| 11 |
#include <dt-bindings/gpio/gpio.h> |
| 12 |
#include <dt-bindings/interconnect/qcom,sdx55.h> |
| 13 |
#include <dt-bindings/interrupt-controller/arm-gic.h> |
| 14 |
#include <dt-bindings/power/qcom-rpmpd.h> |
| 15 |
#include <dt-bindings/soc/qcom,rpmh-rsc.h> |
| 16 |
|
| 17 |
/ { |
| 18 |
#address-cells = <1>; |
| 19 |
#size-cells = <1>; |
| 20 |
qcom,msm-id = <357 0x10000>, <368 0x10000>, <418 0x10000>; |
| 21 |
interrupt-parent = <&intc>; |
| 22 |
|
| 23 |
memory { |
| 24 |
device_type = "memory"; |
| 25 |
reg = <0 0>; |
| 26 |
}; |
| 27 |
|
| 28 |
clocks { |
| 29 |
xo_board: xo-board { |
| 30 |
compatible = "fixed-clock"; |
| 31 |
#clock-cells = <0>; |
| 32 |
clock-frequency = <38400000>; |
| 33 |
clock-output-names = "xo_board"; |
| 34 |
}; |
| 35 |
|
| 36 |
sleep_clk: sleep-clk { |
| 37 |
compatible = "fixed-clock"; |
| 38 |
#clock-cells = <0>; |
| 39 |
clock-frequency = <32000>; |
| 40 |
}; |
| 41 |
|
| 42 |
nand_clk_dummy: nand-clk-dummy { |
| 43 |
compatible = "fixed-clock"; |
| 44 |
#clock-cells = <0>; |
| 45 |
clock-frequency = <32000>; |
| 46 |
}; |
| 47 |
}; |
| 48 |
|
| 49 |
cpus { |
| 50 |
#address-cells = <1>; |
| 51 |
#size-cells = <0>; |
| 52 |
|
| 53 |
cpu0: cpu@0 { |
| 54 |
device_type = "cpu"; |
| 55 |
compatible = "arm,cortex-a7"; |
| 56 |
reg = <0x0>; |
| 57 |
enable-method = "psci"; |
| 58 |
clocks = <&apcs>; |
| 59 |
power-domains = <&rpmhpd SDX55_CX>; |
| 60 |
power-domain-names = "perf"; |
| 61 |
operating-points-v2 = <&cpu_opp_table>; |
| 62 |
}; |
| 63 |
}; |
| 64 |
|
| 65 |
firmware { |
| 66 |
scm { |
| 67 |
compatible = "qcom,scm-sdx55", "qcom,scm"; |
| 68 |
}; |
| 69 |
}; |
| 70 |
|
| 71 |
cpu_opp_table: opp-table-cpu { |
| 72 |
compatible = "operating-points-v2"; |
| 73 |
opp-shared; |
| 74 |
|
| 75 |
opp-345600000 { |
| 76 |
opp-hz = /bits/ 64 <345600000>; |
| 77 |
required-opps = <&rpmhpd_opp_low_svs>; |
| 78 |
}; |
| 79 |
|
| 80 |
opp-576000000 { |
| 81 |
opp-hz = /bits/ 64 <576000000>; |
| 82 |
required-opps = <&rpmhpd_opp_svs>; |
| 83 |
}; |
| 84 |
|
| 85 |
opp-1094400000 { |
| 86 |
opp-hz = /bits/ 64 <1094400000>; |
| 87 |
required-opps = <&rpmhpd_opp_nom>; |
| 88 |
}; |
| 89 |
|
| 90 |
opp-1555200000 { |
| 91 |
opp-hz = /bits/ 64 <1555200000>; |
| 92 |
required-opps = <&rpmhpd_opp_turbo>; |
| 93 |
}; |
| 94 |
}; |
| 95 |
|
| 96 |
psci { |
| 97 |
compatible = "arm,psci-1.0"; |
| 98 |
method = "smc"; |
| 99 |
}; |
| 100 |
|
| 101 |
reserved-memory { |
| 102 |
#address-cells = <1>; |
| 103 |
#size-cells = <1>; |
| 104 |
ranges; |
| 105 |
|
| 106 |
hyp_mem: memory@8fc00000 { |
| 107 |
no-map; |
| 108 |
reg = <0x8fc00000 0x80000>; |
| 109 |
}; |
| 110 |
|
| 111 |
ac_db_mem: memory@8fc80000 { |
| 112 |
no-map; |
| 113 |
reg = <0x8fc80000 0x40000>; |
| 114 |
}; |
| 115 |
|
| 116 |
secdata_mem: memory@8fcfd000 { |
| 117 |
no-map; |
| 118 |
reg = <0x8fcfd000 0x1000>; |
| 119 |
}; |
| 120 |
|
| 121 |
sbl_mem: memory@8fd00000 { |
| 122 |
no-map; |
| 123 |
reg = <0x8fd00000 0x100000>; |
| 124 |
}; |
| 125 |
|
| 126 |
aop_image: memory@8fe00000 { |
| 127 |
no-map; |
| 128 |
reg = <0x8fe00000 0x20000>; |
| 129 |
}; |
| 130 |
|
| 131 |
aop_cmd_db: memory@8fe20000 { |
| 132 |
compatible = "qcom,cmd-db"; |
| 133 |
reg = <0x8fe20000 0x20000>; |
| 134 |
no-map; |
| 135 |
}; |
| 136 |
|
| 137 |
smem_mem: memory@8fe40000 { |
| 138 |
no-map; |
| 139 |
reg = <0x8fe40000 0xc0000>; |
| 140 |
}; |
| 141 |
|
| 142 |
tz_mem: memory@8ff00000 { |
| 143 |
no-map; |
| 144 |
reg = <0x8ff00000 0x100000>; |
| 145 |
}; |
| 146 |
|
| 147 |
tz_apps_mem: memory@90000000 { |
| 148 |
no-map; |
| 149 |
reg = <0x90000000 0x500000>; |
| 150 |
}; |
| 151 |
}; |
| 152 |
|
| 153 |
smem { |
| 154 |
compatible = "qcom,smem"; |
| 155 |
memory-region = <&smem_mem>; |
| 156 |
hwlocks = <&tcsr_mutex 3>; |
| 157 |
}; |
| 158 |
|
| 159 |
smp2p-mpss { |
| 160 |
compatible = "qcom,smp2p"; |
| 161 |
qcom,smem = <435>, <428>; |
| 162 |
interrupts = <GIC_SPI 113 IRQ_TYPE_EDGE_RISING>; |
| 163 |
mboxes = <&apcs 14>; |
| 164 |
qcom,local-pid = <0>; |
| 165 |
qcom,remote-pid = <1>; |
| 166 |
|
| 167 |
modem_smp2p_out: master-kernel { |
| 168 |
qcom,entry-name = "master-kernel"; |
| 169 |
#qcom,smem-state-cells = <1>; |
| 170 |
}; |
| 171 |
|
| 172 |
modem_smp2p_in: slave-kernel { |
| 173 |
qcom,entry-name = "slave-kernel"; |
| 174 |
interrupt-controller; |
| 175 |
#interrupt-cells = <2>; |
| 176 |
}; |
| 177 |
|
| 178 |
ipa_smp2p_out: ipa-ap-to-modem { |
| 179 |
qcom,entry-name = "ipa"; |
| 180 |
#qcom,smem-state-cells = <1>; |
| 181 |
}; |
| 182 |
|
| 183 |
ipa_smp2p_in: ipa-modem-to-ap { |
| 184 |
qcom,entry-name = "ipa"; |
| 185 |
interrupt-controller; |
| 186 |
#interrupt-cells = <2>; |
| 187 |
}; |
| 188 |
}; |
| 189 |
|
| 190 |
soc: soc { |
| 191 |
#address-cells = <1>; |
| 192 |
#size-cells = <1>; |
| 193 |
ranges; |
| 194 |
compatible = "simple-bus"; |
| 195 |
|
| 196 |
gcc: clock-controller@100000 { |
| 197 |
compatible = "qcom,gcc-sdx55"; |
| 198 |
reg = <0x100000 0x1f0000>; |
| 199 |
#clock-cells = <1>; |
| 200 |
#reset-cells = <1>; |
| 201 |
#power-domain-cells = <1>; |
| 202 |
clock-names = "bi_tcxo", "sleep_clk"; |
| 203 |
clocks = <&rpmhcc RPMH_CXO_CLK>, <&sleep_clk>; |
| 204 |
}; |
| 205 |
|
| 206 |
blsp1_uart3: serial@831000 { |
| 207 |
compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm"; |
| 208 |
reg = <0x00831000 0x200>; |
| 209 |
interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>; |
| 210 |
clocks = <&gcc 30>, |
| 211 |
<&gcc 9>; |
| 212 |
clock-names = "core", "iface"; |
| 213 |
status = "disabled"; |
| 214 |
}; |
| 215 |
|
| 216 |
usb_hsphy: phy@ff4000 { |
| 217 |
compatible = "qcom,sdx55-usb-hs-phy", |
| 218 |
"qcom,usb-snps-hs-7nm-phy"; |
| 219 |
reg = <0x00ff4000 0x114>; |
| 220 |
status = "disabled"; |
| 221 |
#phy-cells = <0>; |
| 222 |
|
| 223 |
clocks = <&rpmhcc RPMH_CXO_CLK>; |
| 224 |
clock-names = "ref"; |
| 225 |
|
| 226 |
resets = <&gcc GCC_QUSB2PHY_BCR>; |
| 227 |
}; |
| 228 |
|
| 229 |
usb_qmpphy: phy@ff6000 { |
| 230 |
compatible = "qcom,sdx55-qmp-usb3-uni-phy"; |
| 231 |
reg = <0x00ff6000 0x1000>; |
| 232 |
|
| 233 |
clocks = <&gcc GCC_USB3_PHY_AUX_CLK>, |
| 234 |
<&gcc GCC_USB3_PRIM_CLKREF_CLK>, |
| 235 |
<&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>, |
| 236 |
<&gcc GCC_USB3_PHY_PIPE_CLK>; |
| 237 |
clock-names = "aux", |
| 238 |
"ref", |
| 239 |
"cfg_ahb", |
| 240 |
"pipe"; |
| 241 |
clock-output-names = "usb3_uni_phy_pipe_clk_src"; |
| 242 |
#clock-cells = <0>; |
| 243 |
#phy-cells = <0>; |
| 244 |
|
| 245 |
resets = <&gcc GCC_USB3_PHY_BCR>, |
| 246 |
<&gcc GCC_USB3PHY_PHY_BCR>; |
| 247 |
reset-names = "phy", |
| 248 |
"phy_phy"; |
| 249 |
|
| 250 |
status = "disabled"; |
| 251 |
}; |
| 252 |
|
| 253 |
mc_virt: interconnect@1100000 { |
| 254 |
compatible = "qcom,sdx55-mc-virt"; |
| 255 |
reg = <0x01100000 0x400000>; |
| 256 |
#interconnect-cells = <1>; |
| 257 |
qcom,bcm-voters = <&apps_bcm_voter>; |
| 258 |
}; |
| 259 |
|
| 260 |
mem_noc: interconnect@9680000 { |
| 261 |
compatible = "qcom,sdx55-mem-noc"; |
| 262 |
reg = <0x09680000 0x40000>; |
| 263 |
#interconnect-cells = <1>; |
| 264 |
qcom,bcm-voters = <&apps_bcm_voter>; |
| 265 |
}; |
| 266 |
|
| 267 |
system_noc: interconnect@162c000 { |
| 268 |
compatible = "qcom,sdx55-system-noc"; |
| 269 |
reg = <0x0162c000 0x31200>; |
| 270 |
#interconnect-cells = <1>; |
| 271 |
qcom,bcm-voters = <&apps_bcm_voter>; |
| 272 |
}; |
| 273 |
|
| 274 |
qpic_bam: dma-controller@1b04000 { |
| 275 |
compatible = "qcom,bam-v1.7.0"; |
| 276 |
reg = <0x01b04000 0x1c000>; |
| 277 |
interrupts = <GIC_SPI 135 IRQ_TYPE_LEVEL_HIGH>; |
| 278 |
clocks = <&rpmhcc RPMH_QPIC_CLK>; |
| 279 |
clock-names = "bam_clk"; |
| 280 |
#dma-cells = <1>; |
| 281 |
qcom,ee = <0>; |
| 282 |
qcom,controlled-remotely; |
| 283 |
status = "disabled"; |
| 284 |
}; |
| 285 |
|
| 286 |
qpic_nand: nand-controller@1b30000 { |
| 287 |
compatible = "qcom,sdx55-nand"; |
| 288 |
reg = <0x01b30000 0x10000>; |
| 289 |
#address-cells = <1>; |
| 290 |
#size-cells = <0>; |
| 291 |
clocks = <&rpmhcc RPMH_QPIC_CLK>, |
| 292 |
<&nand_clk_dummy>; |
| 293 |
clock-names = "core", "aon"; |
| 294 |
|
| 295 |
dmas = <&qpic_bam 0>, |
| 296 |
<&qpic_bam 1>, |
| 297 |
<&qpic_bam 2>; |
| 298 |
dma-names = "tx", "rx", "cmd"; |
| 299 |
status = "disabled"; |
| 300 |
}; |
| 301 |
|
| 302 |
pcie_rc: pcie@1c00000 { |
| 303 |
compatible = "qcom,pcie-sdx55"; |
| 304 |
reg = <0x01c00000 0x3000>, |
| 305 |
<0x40000000 0xf1d>, |
| 306 |
<0x40000f20 0xc8>, |
| 307 |
<0x40001000 0x1000>, |
| 308 |
<0x40100000 0x100000>; |
| 309 |
reg-names = "parf", |
| 310 |
"dbi", |
| 311 |
"elbi", |
| 312 |
"atu", |
| 313 |
"config"; |
| 314 |
device_type = "pci"; |
| 315 |
linux,pci-domain = <0>; |
| 316 |
bus-range = <0x00 0xff>; |
| 317 |
num-lanes = <1>; |
| 318 |
|
| 319 |
#address-cells = <3>; |
| 320 |
#size-cells = <2>; |
| 321 |
|
| 322 |
ranges = <0x01000000 0x0 0x00000000 0x40200000 0x0 0x100000>, |
| 323 |
<0x02000000 0x0 0x40300000 0x40300000 0x0 0x3fd00000>; |
| 324 |
|
| 325 |
interrupts = <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>, |
| 326 |
<GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>, |
| 327 |
<GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>, |
| 328 |
<GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>, |
| 329 |
<GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>, |
| 330 |
<GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>, |
| 331 |
<GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>, |
| 332 |
<GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>; |
| 333 |
interrupt-names = "msi", |
| 334 |
"msi2", |
| 335 |
"msi3", |
| 336 |
"msi4", |
| 337 |
"msi5", |
| 338 |
"msi6", |
| 339 |
"msi7", |
| 340 |
"msi8"; |
| 341 |
#interrupt-cells = <1>; |
| 342 |
interrupt-map-mask = <0 0 0 0x7>; |
| 343 |
interrupt-map = <0 0 0 1 &intc GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>, /* int_a */ |
| 344 |
<0 0 0 2 &intc GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>, /* int_b */ |
| 345 |
<0 0 0 3 &intc GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>, /* int_c */ |
| 346 |
<0 0 0 4 &intc GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>; /* int_d */ |
| 347 |
|
| 348 |
clocks = <&gcc GCC_PCIE_PIPE_CLK>, |
| 349 |
<&gcc GCC_PCIE_AUX_CLK>, |
| 350 |
<&gcc GCC_PCIE_CFG_AHB_CLK>, |
| 351 |
<&gcc GCC_PCIE_MSTR_AXI_CLK>, |
| 352 |
<&gcc GCC_PCIE_SLV_AXI_CLK>, |
| 353 |
<&gcc GCC_PCIE_SLV_Q2A_AXI_CLK>, |
| 354 |
<&gcc GCC_PCIE_SLEEP_CLK>; |
| 355 |
clock-names = "pipe", |
| 356 |
"aux", |
| 357 |
"cfg", |
| 358 |
"bus_master", |
| 359 |
"bus_slave", |
| 360 |
"slave_q2a", |
| 361 |
"sleep"; |
| 362 |
|
| 363 |
assigned-clocks = <&gcc GCC_PCIE_AUX_CLK>; |
| 364 |
assigned-clock-rates = <19200000>; |
| 365 |
|
| 366 |
iommu-map = <0x0 &apps_smmu 0x0200 0x1>, |
| 367 |
<0x100 &apps_smmu 0x0201 0x1>, |
| 368 |
<0x200 &apps_smmu 0x0202 0x1>, |
| 369 |
<0x300 &apps_smmu 0x0203 0x1>, |
| 370 |
<0x400 &apps_smmu 0x0204 0x1>; |
| 371 |
|
| 372 |
resets = <&gcc GCC_PCIE_BCR>; |
| 373 |
reset-names = "pci"; |
| 374 |
|
| 375 |
power-domains = <&gcc PCIE_GDSC>; |
| 376 |
|
| 377 |
phys = <&pcie_phy>; |
| 378 |
phy-names = "pciephy"; |
| 379 |
|
| 380 |
status = "disabled"; |
| 381 |
|
| 382 |
pcie@0 { |
| 383 |
device_type = "pci"; |
| 384 |
reg = <0x0 0x0 0x0 0x0 0x0>; |
| 385 |
bus-range = <0x01 0xff>; |
| 386 |
|
| 387 |
#address-cells = <3>; |
| 388 |
#size-cells = <2>; |
| 389 |
ranges; |
| 390 |
}; |
| 391 |
}; |
| 392 |
|
| 393 |
pcie_ep: pcie-ep@1c00000 { |
| 394 |
compatible = "qcom,sdx55-pcie-ep"; |
| 395 |
reg = <0x01c00000 0x3000>, |
| 396 |
<0x40000000 0xf1d>, |
| 397 |
<0x40000f20 0xc8>, |
| 398 |
<0x40001000 0x1000>, |
| 399 |
<0x40200000 0x100000>, |
| 400 |
<0x01c03000 0x3000>; |
| 401 |
reg-names = "parf", |
| 402 |
"dbi", |
| 403 |
"elbi", |
| 404 |
"atu", |
| 405 |
"addr_space", |
| 406 |
"mmio"; |
| 407 |
|
| 408 |
qcom,perst-regs = <&tcsr 0xb258 0xb270>; |
| 409 |
|
| 410 |
clocks = <&gcc GCC_PCIE_AUX_CLK>, |
| 411 |
<&gcc GCC_PCIE_CFG_AHB_CLK>, |
| 412 |
<&gcc GCC_PCIE_MSTR_AXI_CLK>, |
| 413 |
<&gcc GCC_PCIE_SLV_AXI_CLK>, |
| 414 |
<&gcc GCC_PCIE_SLV_Q2A_AXI_CLK>, |
| 415 |
<&gcc GCC_PCIE_SLEEP_CLK>, |
| 416 |
<&gcc GCC_PCIE_0_CLKREF_CLK>; |
| 417 |
clock-names = "aux", |
| 418 |
"cfg", |
| 419 |
"bus_master", |
| 420 |
"bus_slave", |
| 421 |
"slave_q2a", |
| 422 |
"sleep", |
| 423 |
"ref"; |
| 424 |
|
| 425 |
interrupts = <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>, |
| 426 |
<GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>; |
| 427 |
interrupt-names = "global", |
| 428 |
"doorbell"; |
| 429 |
|
| 430 |
interconnects = <&system_noc MASTER_PCIE &mc_virt SLAVE_EBI_CH0>, |
| 431 |
<&mem_noc MASTER_AMPSS_M0 &system_noc SLAVE_PCIE_0>; |
| 432 |
interconnect-names = "pcie-mem", "cpu-pcie"; |
| 433 |
|
| 434 |
resets = <&gcc GCC_PCIE_BCR>; |
| 435 |
reset-names = "core"; |
| 436 |
power-domains = <&gcc PCIE_GDSC>; |
| 437 |
phys = <&pcie_phy>; |
| 438 |
phy-names = "pciephy"; |
| 439 |
max-link-speed = <3>; |
| 440 |
num-lanes = <2>; |
| 441 |
linux,pci-domain = <0>; |
| 442 |
|
| 443 |
status = "disabled"; |
| 444 |
}; |
| 445 |
|
| 446 |
pcie_phy: phy@1c06000 { |
| 447 |
compatible = "qcom,sdx55-qmp-pcie-phy"; |
| 448 |
reg = <0x01c06000 0x2000>; |
| 449 |
#address-cells = <1>; |
| 450 |
#size-cells = <1>; |
| 451 |
ranges; |
| 452 |
clocks = <&gcc GCC_PCIE_AUX_PHY_CLK_SRC>, |
| 453 |
<&gcc GCC_PCIE_CFG_AHB_CLK>, |
| 454 |
<&gcc GCC_PCIE_0_CLKREF_CLK>, |
| 455 |
<&gcc GCC_PCIE_RCHNG_PHY_CLK>, |
| 456 |
<&gcc GCC_PCIE_PIPE_CLK>; |
| 457 |
clock-names = "aux", |
| 458 |
"cfg_ahb", |
| 459 |
"ref", |
| 460 |
"refgen", |
| 461 |
"pipe"; |
| 462 |
|
| 463 |
clock-output-names = "pcie_pipe_clk"; |
| 464 |
#clock-cells = <0>; |
| 465 |
|
| 466 |
#phy-cells = <0>; |
| 467 |
|
| 468 |
resets = <&gcc GCC_PCIE_PHY_BCR>; |
| 469 |
reset-names = "phy"; |
| 470 |
|
| 471 |
assigned-clocks = <&gcc GCC_PCIE_RCHNG_PHY_CLK>; |
| 472 |
assigned-clock-rates = <100000000>; |
| 473 |
|
| 474 |
status = "disabled"; |
| 475 |
}; |
| 476 |
|
| 477 |
ipa: ipa@1e40000 { |
| 478 |
compatible = "qcom,sdx55-ipa"; |
| 479 |
|
| 480 |
iommus = <&apps_smmu 0x5e0 0x0>, |
| 481 |
<&apps_smmu 0x5e2 0x0>; |
| 482 |
reg = <0x1e40000 0x7000>, |
| 483 |
<0x1e50000 0x4b20>, |
| 484 |
<0x1e04000 0x2c000>; |
| 485 |
reg-names = "ipa-reg", |
| 486 |
"ipa-shared", |
| 487 |
"gsi"; |
| 488 |
|
| 489 |
interrupts-extended = <&intc GIC_SPI 241 IRQ_TYPE_EDGE_RISING>, |
| 490 |
<&intc GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>, |
| 491 |
<&ipa_smp2p_in 0 IRQ_TYPE_EDGE_RISING>, |
| 492 |
<&ipa_smp2p_in 1 IRQ_TYPE_EDGE_RISING>; |
| 493 |
interrupt-names = "ipa", |
| 494 |
"gsi", |
| 495 |
"ipa-clock-query", |
| 496 |
"ipa-setup-ready"; |
| 497 |
|
| 498 |
clocks = <&rpmhcc RPMH_IPA_CLK>; |
| 499 |
clock-names = "core"; |
| 500 |
|
| 501 |
interconnects = <&system_noc MASTER_IPA &mc_virt SLAVE_EBI_CH0>, |
| 502 |
<&system_noc MASTER_IPA &system_noc SLAVE_OCIMEM>, |
| 503 |
<&mem_noc MASTER_AMPSS_M0 &system_noc SLAVE_IPA_CFG>; |
| 504 |
interconnect-names = "memory", |
| 505 |
"imem", |
| 506 |
"config"; |
| 507 |
|
| 508 |
qcom,smem-states = <&ipa_smp2p_out 0>, |
| 509 |
<&ipa_smp2p_out 1>; |
| 510 |
qcom,smem-state-names = "ipa-clock-enabled-valid", |
| 511 |
"ipa-clock-enabled"; |
| 512 |
|
| 513 |
status = "disabled"; |
| 514 |
}; |
| 515 |
|
| 516 |
tcsr_mutex: hwlock@1f40000 { |
| 517 |
compatible = "qcom,tcsr-mutex"; |
| 518 |
reg = <0x01f40000 0x40000>; |
| 519 |
#hwlock-cells = <1>; |
| 520 |
}; |
| 521 |
|
| 522 |
tcsr: syscon@1fc0000 { |
| 523 |
compatible = "qcom,sdx55-tcsr", "syscon"; |
| 524 |
reg = <0x01fc0000 0x1000>; |
| 525 |
}; |
| 526 |
|
| 527 |
sdhc_1: mmc@8804000 { |
| 528 |
compatible = "qcom,sdx55-sdhci", "qcom,sdhci-msm-v5"; |
| 529 |
reg = <0x08804000 0x1000>; |
| 530 |
interrupts = <GIC_SPI 210 IRQ_TYPE_LEVEL_HIGH>, |
| 531 |
<GIC_SPI 227 IRQ_TYPE_LEVEL_HIGH>; |
| 532 |
interrupt-names = "hc_irq", "pwr_irq"; |
| 533 |
clocks = <&gcc GCC_SDCC1_AHB_CLK>, |
| 534 |
<&gcc GCC_SDCC1_APPS_CLK>; |
| 535 |
clock-names = "iface", "core"; |
| 536 |
status = "disabled"; |
| 537 |
}; |
| 538 |
|
| 539 |
remoteproc_mpss: remoteproc@4080000 { |
| 540 |
compatible = "qcom,sdx55-mpss-pas"; |
| 541 |
reg = <0x04080000 0x4040>; |
| 542 |
|
| 543 |
interrupts-extended = <&intc GIC_SPI 250 IRQ_TYPE_EDGE_RISING>, |
| 544 |
<&modem_smp2p_in 0 IRQ_TYPE_EDGE_RISING>, |
| 545 |
<&modem_smp2p_in 1 IRQ_TYPE_EDGE_RISING>, |
| 546 |
<&modem_smp2p_in 2 IRQ_TYPE_EDGE_RISING>, |
| 547 |
<&modem_smp2p_in 3 IRQ_TYPE_EDGE_RISING>, |
| 548 |
<&modem_smp2p_in 7 IRQ_TYPE_EDGE_RISING>; |
| 549 |
interrupt-names = "wdog", "fatal", "ready", "handover", |
| 550 |
"stop-ack", "shutdown-ack"; |
| 551 |
|
| 552 |
clocks = <&rpmhcc RPMH_CXO_CLK>; |
| 553 |
clock-names = "xo"; |
| 554 |
|
| 555 |
power-domains = <&rpmhpd SDX55_CX>, |
| 556 |
<&rpmhpd SDX55_MSS>; |
| 557 |
power-domain-names = "cx", "mss"; |
| 558 |
|
| 559 |
qcom,smem-states = <&modem_smp2p_out 0>; |
| 560 |
qcom,smem-state-names = "stop"; |
| 561 |
|
| 562 |
status = "disabled"; |
| 563 |
|
| 564 |
glink-edge { |
| 565 |
interrupts = <GIC_SPI 114 IRQ_TYPE_EDGE_RISING>; |
| 566 |
label = "mpss"; |
| 567 |
qcom,remote-pid = <1>; |
| 568 |
mboxes = <&apcs 15>; |
| 569 |
}; |
| 570 |
}; |
| 571 |
|
| 572 |
usb: usb@a6f8800 { |
| 573 |
compatible = "qcom,sdx55-dwc3", "qcom,dwc3"; |
| 574 |
reg = <0x0a6f8800 0x400>; |
| 575 |
status = "disabled"; |
| 576 |
#address-cells = <1>; |
| 577 |
#size-cells = <1>; |
| 578 |
ranges; |
| 579 |
|
| 580 |
clocks = <&gcc GCC_USB30_SLV_AHB_CLK>, |
| 581 |
<&gcc GCC_USB30_MASTER_CLK>, |
| 582 |
<&gcc GCC_USB30_MSTR_AXI_CLK>, |
| 583 |
<&gcc GCC_USB30_SLEEP_CLK>, |
| 584 |
<&gcc GCC_USB30_MOCK_UTMI_CLK>; |
| 585 |
clock-names = "cfg_noc", |
| 586 |
"core", |
| 587 |
"iface", |
| 588 |
"sleep", |
| 589 |
"mock_utmi"; |
| 590 |
|
| 591 |
assigned-clocks = <&gcc GCC_USB30_MOCK_UTMI_CLK>, |
| 592 |
<&gcc GCC_USB30_MASTER_CLK>; |
| 593 |
assigned-clock-rates = <19200000>, <200000000>; |
| 594 |
|
| 595 |
interrupts-extended = <&intc GIC_SPI 130 IRQ_TYPE_LEVEL_HIGH>, |
| 596 |
<&intc GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>, |
| 597 |
<&pdc 10 IRQ_TYPE_EDGE_BOTH>, |
| 598 |
<&pdc 11 IRQ_TYPE_EDGE_BOTH>, |
| 599 |
<&pdc 51 IRQ_TYPE_LEVEL_HIGH>; |
| 600 |
interrupt-names = "pwr_event", |
| 601 |
"hs_phy_irq", |
| 602 |
"dp_hs_phy_irq", |
| 603 |
"dm_hs_phy_irq", |
| 604 |
"ss_phy_irq"; |
| 605 |
|
| 606 |
power-domains = <&gcc USB30_GDSC>; |
| 607 |
|
| 608 |
resets = <&gcc GCC_USB30_BCR>; |
| 609 |
|
| 610 |
usb_dwc3: usb@a600000 { |
| 611 |
compatible = "snps,dwc3"; |
| 612 |
reg = <0x0a600000 0xcd00>; |
| 613 |
interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>; |
| 614 |
iommus = <&apps_smmu 0x1a0 0x0>; |
| 615 |
snps,dis_u2_susphy_quirk; |
| 616 |
snps,dis_enblslpm_quirk; |
| 617 |
snps,dis-u1-entry-quirk; |
| 618 |
snps,dis-u2-entry-quirk; |
| 619 |
phys = <&usb_hsphy>, <&usb_qmpphy>; |
| 620 |
phy-names = "usb2-phy", "usb3-phy"; |
| 621 |
}; |
| 622 |
}; |
| 623 |
|
| 624 |
pdc: interrupt-controller@b210000 { |
| 625 |
compatible = "qcom,sdx55-pdc", "qcom,pdc"; |
| 626 |
reg = <0x0b210000 0x30000>; |
| 627 |
qcom,pdc-ranges = <0 179 52>; |
| 628 |
#interrupt-cells = <2>; |
| 629 |
interrupt-parent = <&intc>; |
| 630 |
interrupt-controller; |
| 631 |
}; |
| 632 |
|
| 633 |
restart@c264000 { |
| 634 |
compatible = "qcom,pshold"; |
| 635 |
reg = <0x0c264000 0x1000>; |
| 636 |
}; |
| 637 |
|
| 638 |
spmi_bus: spmi@c440000 { |
| 639 |
compatible = "qcom,spmi-pmic-arb"; |
| 640 |
reg = <0x0c440000 0x0000d00>, |
| 641 |
<0x0c600000 0x2000000>, |
| 642 |
<0x0e600000 0x0100000>, |
| 643 |
<0x0e700000 0x00a0000>, |
| 644 |
<0x0c40a000 0x0000700>; |
| 645 |
reg-names = "core", "chnls", "obsrvr", "intr", "cnfg"; |
| 646 |
interrupt-names = "periph_irq"; |
| 647 |
interrupts = <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>; |
| 648 |
qcom,ee = <0>; |
| 649 |
qcom,channel = <0>; |
| 650 |
#address-cells = <2>; |
| 651 |
#size-cells = <0>; |
| 652 |
interrupt-controller; |
| 653 |
#interrupt-cells = <4>; |
| 654 |
}; |
| 655 |
|
| 656 |
tlmm: pinctrl@f100000 { |
| 657 |
compatible = "qcom,sdx55-pinctrl"; |
| 658 |
reg = <0xf100000 0x300000>; |
| 659 |
interrupts = <GIC_SPI 212 IRQ_TYPE_LEVEL_HIGH>; |
| 660 |
gpio-controller; |
| 661 |
#gpio-cells = <2>; |
| 662 |
interrupt-controller; |
| 663 |
#interrupt-cells = <2>; |
| 664 |
gpio-ranges = <&tlmm 0 0 108>; |
| 665 |
}; |
| 666 |
|
| 667 |
sram@1468f000 { |
| 668 |
compatible = "qcom,sdx55-imem", "syscon", "simple-mfd"; |
| 669 |
reg = <0x1468f000 0x1000>; |
| 670 |
|
| 671 |
#address-cells = <1>; |
| 672 |
#size-cells = <1>; |
| 673 |
|
| 674 |
ranges = <0x0 0x1468f000 0x1000>; |
| 675 |
|
| 676 |
pil-reloc@94c { |
| 677 |
compatible = "qcom,pil-reloc-info"; |
| 678 |
reg = <0x94c 0x200>; |
| 679 |
}; |
| 680 |
}; |
| 681 |
|
| 682 |
apps_smmu: iommu@15000000 { |
| 683 |
compatible = "qcom,sdx55-smmu-500", "qcom,smmu-500", "arm,mmu-500"; |
| 684 |
reg = <0x15000000 0x20000>; |
| 685 |
#iommu-cells = <2>; |
| 686 |
#global-interrupts = <1>; |
| 687 |
interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>, |
| 688 |
<GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>, |
| 689 |
<GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>, |
| 690 |
<GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>, |
| 691 |
<GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>, |
| 692 |
<GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>, |
| 693 |
<GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>, |
| 694 |
<GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>, |
| 695 |
<GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>, |
| 696 |
<GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>, |
| 697 |
<GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>, |
| 698 |
<GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>, |
| 699 |
<GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>, |
| 700 |
<GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>, |
| 701 |
<GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>, |
| 702 |
<GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>, |
| 703 |
<GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>; |
| 704 |
}; |
| 705 |
|
| 706 |
intc: interrupt-controller@17800000 { |
| 707 |
compatible = "qcom,msm-qgic2"; |
| 708 |
interrupt-controller; |
| 709 |
interrupt-parent = <&intc>; |
| 710 |
#address-cells = <0>; |
| 711 |
#interrupt-cells = <3>; |
| 712 |
reg = <0x17800000 0x1000>, |
| 713 |
<0x17802000 0x1000>; |
| 714 |
}; |
| 715 |
|
| 716 |
a7pll: clock@17808000 { |
| 717 |
compatible = "qcom,sdx55-a7pll"; |
| 718 |
reg = <0x17808000 0x1000>; |
| 719 |
clocks = <&rpmhcc RPMH_CXO_CLK>; |
| 720 |
clock-names = "bi_tcxo"; |
| 721 |
#clock-cells = <0>; |
| 722 |
}; |
| 723 |
|
| 724 |
apcs: mailbox@17810000 { |
| 725 |
compatible = "qcom,sdx55-apcs-gcc", "syscon"; |
| 726 |
reg = <0x17810000 0x2000>; |
| 727 |
#mbox-cells = <1>; |
| 728 |
clocks = <&rpmhcc RPMH_CXO_CLK>, <&a7pll>, <&gcc GPLL0>; |
| 729 |
clock-names = "ref", "pll", "aux"; |
| 730 |
#clock-cells = <0>; |
| 731 |
}; |
| 732 |
|
| 733 |
watchdog@17817000 { |
| 734 |
compatible = "qcom,apss-wdt-sdx55", "qcom,kpss-wdt"; |
| 735 |
reg = <0x17817000 0x1000>; |
| 736 |
clocks = <&sleep_clk>; |
| 737 |
}; |
| 738 |
|
| 739 |
timer@17820000 { |
| 740 |
#address-cells = <1>; |
| 741 |
#size-cells = <1>; |
| 742 |
ranges; |
| 743 |
compatible = "arm,armv7-timer-mem"; |
| 744 |
reg = <0x17820000 0x1000>; |
| 745 |
clock-frequency = <19200000>; |
| 746 |
|
| 747 |
frame@17821000 { |
| 748 |
frame-number = <0>; |
| 749 |
interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>, |
| 750 |
<GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>; |
| 751 |
reg = <0x17821000 0x1000>, |
| 752 |
<0x17822000 0x1000>; |
| 753 |
}; |
| 754 |
|
| 755 |
frame@17823000 { |
| 756 |
frame-number = <1>; |
| 757 |
interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>; |
| 758 |
reg = <0x17823000 0x1000>; |
| 759 |
status = "disabled"; |
| 760 |
}; |
| 761 |
|
| 762 |
frame@17824000 { |
| 763 |
frame-number = <2>; |
| 764 |
interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>; |
| 765 |
reg = <0x17824000 0x1000>; |
| 766 |
status = "disabled"; |
| 767 |
}; |
| 768 |
|
| 769 |
frame@17825000 { |
| 770 |
frame-number = <3>; |
| 771 |
interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>; |
| 772 |
reg = <0x17825000 0x1000>; |
| 773 |
status = "disabled"; |
| 774 |
}; |
| 775 |
|
| 776 |
frame@17826000 { |
| 777 |
frame-number = <4>; |
| 778 |
interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>; |
| 779 |
reg = <0x17826000 0x1000>; |
| 780 |
status = "disabled"; |
| 781 |
}; |
| 782 |
|
| 783 |
frame@17827000 { |
| 784 |
frame-number = <5>; |
| 785 |
interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>; |
| 786 |
reg = <0x17827000 0x1000>; |
| 787 |
status = "disabled"; |
| 788 |
}; |
| 789 |
|
| 790 |
frame@17828000 { |
| 791 |
frame-number = <6>; |
| 792 |
interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>; |
| 793 |
reg = <0x17828000 0x1000>; |
| 794 |
status = "disabled"; |
| 795 |
}; |
| 796 |
|
| 797 |
frame@17829000 { |
| 798 |
frame-number = <7>; |
| 799 |
interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>; |
| 800 |
reg = <0x17829000 0x1000>; |
| 801 |
status = "disabled"; |
| 802 |
}; |
| 803 |
}; |
| 804 |
|
| 805 |
apps_rsc: rsc@17830000 { |
| 806 |
compatible = "qcom,rpmh-rsc"; |
| 807 |
reg = <0x17830000 0x10000>, <0x17840000 0x10000>; |
| 808 |
reg-names = "drv-0", "drv-1"; |
| 809 |
interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>, |
| 810 |
<GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>; |
| 811 |
qcom,tcs-offset = <0xd00>; |
| 812 |
qcom,drv-id = <1>; |
| 813 |
qcom,tcs-config = <ACTIVE_TCS 2>, <SLEEP_TCS 2>, |
| 814 |
<WAKE_TCS 2>, <CONTROL_TCS 1>; |
| 815 |
|
| 816 |
rpmhcc: clock-controller { |
| 817 |
compatible = "qcom,sdx55-rpmh-clk"; |
| 818 |
#clock-cells = <1>; |
| 819 |
clock-names = "xo"; |
| 820 |
clocks = <&xo_board>; |
| 821 |
}; |
| 822 |
|
| 823 |
rpmhpd: power-controller { |
| 824 |
compatible = "qcom,sdx55-rpmhpd"; |
| 825 |
#power-domain-cells = <1>; |
| 826 |
operating-points-v2 = <&rpmhpd_opp_table>; |
| 827 |
|
| 828 |
rpmhpd_opp_table: opp-table { |
| 829 |
compatible = "operating-points-v2"; |
| 830 |
|
| 831 |
rpmhpd_opp_ret: opp1 { |
| 832 |
opp-level = <RPMH_REGULATOR_LEVEL_RETENTION>; |
| 833 |
}; |
| 834 |
|
| 835 |
rpmhpd_opp_min_svs: opp2 { |
| 836 |
opp-level = <RPMH_REGULATOR_LEVEL_MIN_SVS>; |
| 837 |
}; |
| 838 |
|
| 839 |
rpmhpd_opp_low_svs: opp3 { |
| 840 |
opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>; |
| 841 |
}; |
| 842 |
|
| 843 |
rpmhpd_opp_svs: opp4 { |
| 844 |
opp-level = <RPMH_REGULATOR_LEVEL_SVS>; |
| 845 |
}; |
| 846 |
|
| 847 |
rpmhpd_opp_svs_l1: opp5 { |
| 848 |
opp-level = <RPMH_REGULATOR_LEVEL_SVS_L1>; |
| 849 |
}; |
| 850 |
|
| 851 |
rpmhpd_opp_nom: opp6 { |
| 852 |
opp-level = <RPMH_REGULATOR_LEVEL_NOM>; |
| 853 |
}; |
| 854 |
|
| 855 |
rpmhpd_opp_nom_l1: opp7 { |
| 856 |
opp-level = <RPMH_REGULATOR_LEVEL_NOM_L1>; |
| 857 |
}; |
| 858 |
|
| 859 |
rpmhpd_opp_nom_l2: opp8 { |
| 860 |
opp-level = <RPMH_REGULATOR_LEVEL_NOM_L2>; |
| 861 |
}; |
| 862 |
|
| 863 |
rpmhpd_opp_turbo: opp9 { |
| 864 |
opp-level = <RPMH_REGULATOR_LEVEL_TURBO>; |
| 865 |
}; |
| 866 |
|
| 867 |
rpmhpd_opp_turbo_l1: opp10 { |
| 868 |
opp-level = <RPMH_REGULATOR_LEVEL_TURBO_L1>; |
| 869 |
}; |
| 870 |
}; |
| 871 |
}; |
| 872 |
|
| 873 |
apps_bcm_voter: bcm-voter { |
| 874 |
compatible = "qcom,bcm-voter"; |
| 875 |
}; |
| 876 |
}; |
| 877 |
}; |
| 878 |
|
| 879 |
timer { |
| 880 |
compatible = "arm,armv7-timer"; |
| 881 |
interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, |
| 882 |
<GIC_PPI 12 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, |
| 883 |
<GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, |
| 884 |
<GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>; |
| 885 |
clock-frequency = <19200000>; |
| 886 |
}; |
| 887 |
}; |