1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-C 2 %YAML 1.2 3 --- 4 $id: http://devicetree.org/schemas/media/qcom, 5 $schema: http://devicetree.org/meta-schemas/co 6 7 title: Qualcomm SC8280XP Camera Subsystem (CAM 8 9 maintainers: 10 - Bryan O'Donoghue <bryan.odonoghue@linaro.or 11 12 description: | 13 The CAMSS IP is a CSI decoder and ISP presen 14 15 properties: 16 compatible: 17 const: qcom,sc8280xp-camss 18 19 clocks: 20 maxItems: 40 21 22 clock-names: 23 items: 24 - const: camnoc_axi 25 - const: cpas_ahb 26 - const: csiphy0 27 - const: csiphy0_timer 28 - const: csiphy1 29 - const: csiphy1_timer 30 - const: csiphy2 31 - const: csiphy2_timer 32 - const: csiphy3 33 - const: csiphy3_timer 34 - const: vfe0_axi 35 - const: vfe0 36 - const: vfe0_cphy_rx 37 - const: vfe0_csid 38 - const: vfe1_axi 39 - const: vfe1 40 - const: vfe1_cphy_rx 41 - const: vfe1_csid 42 - const: vfe2_axi 43 - const: vfe2 44 - const: vfe2_cphy_rx 45 - const: vfe2_csid 46 - const: vfe3_axi 47 - const: vfe3 48 - const: vfe3_cphy_rx 49 - const: vfe3_csid 50 - const: vfe_lite0 51 - const: vfe_lite0_cphy_rx 52 - const: vfe_lite0_csid 53 - const: vfe_lite1 54 - const: vfe_lite1_cphy_rx 55 - const: vfe_lite1_csid 56 - const: vfe_lite2 57 - const: vfe_lite2_cphy_rx 58 - const: vfe_lite2_csid 59 - const: vfe_lite3 60 - const: vfe_lite3_cphy_rx 61 - const: vfe_lite3_csid 62 - const: gcc_axi_hf 63 - const: gcc_axi_sf 64 65 interrupts: 66 maxItems: 20 67 68 interrupt-names: 69 items: 70 - const: csid1_lite 71 - const: vfe_lite1 72 - const: csiphy3 73 - const: csid0 74 - const: vfe0 75 - const: csid1 76 - const: vfe1 77 - const: csid0_lite 78 - const: vfe_lite0 79 - const: csiphy0 80 - const: csiphy1 81 - const: csiphy2 82 - const: csid2 83 - const: vfe2 84 - const: csid3_lite 85 - const: csid2_lite 86 - const: vfe_lite3 87 - const: vfe_lite2 88 - const: csid3 89 - const: vfe3 90 91 iommus: 92 maxItems: 16 93 94 interconnects: 95 maxItems: 4 96 97 interconnect-names: 98 items: 99 - const: cam_ahb 100 - const: cam_hf_mnoc 101 - const: cam_sf_mnoc 102 - const: cam_sf_icp_mnoc 103 104 power-domains: 105 items: 106 - description: IFE0 GDSC - Image Front E 107 - description: IFE1 GDSC - Image Front E 108 - description: IFE2 GDSC - Image Front E 109 - description: IFE3 GDSC - Image Front E 110 - description: Titan Top GDSC - Titan IS 111 112 power-domain-names: 113 items: 114 - const: ife0 115 - const: ife1 116 - const: ife2 117 - const: ife3 118 - const: top 119 120 ports: 121 $ref: /schemas/graph.yaml#/properties/port 122 123 description: 124 CSI input ports. 125 126 properties: 127 port@0: 128 $ref: /schemas/graph.yaml#/$defs/port- 129 unevaluatedProperties: false 130 description: 131 Input port for receiving CSI data fr 132 133 properties: 134 endpoint: 135 $ref: video-interfaces.yaml# 136 unevaluatedProperties: false 137 138 properties: 139 clock-lanes: 140 maxItems: 1 141 142 data-lanes: 143 minItems: 1 144 maxItems: 4 145 146 required: 147 - clock-lanes 148 - data-lanes 149 150 port@1: 151 $ref: /schemas/graph.yaml#/$defs/port- 152 unevaluatedProperties: false 153 description: 154 Input port for receiving CSI data fr 155 156 properties: 157 endpoint: 158 $ref: video-interfaces.yaml# 159 unevaluatedProperties: false 160 161 properties: 162 clock-lanes: 163 maxItems: 1 164 165 data-lanes: 166 minItems: 1 167 maxItems: 4 168 169 required: 170 - clock-lanes 171 - data-lanes 172 173 port@2: 174 $ref: /schemas/graph.yaml#/$defs/port- 175 unevaluatedProperties: false 176 description: 177 Input port for receiving CSI data fr 178 179 properties: 180 endpoint: 181 $ref: video-interfaces.yaml# 182 unevaluatedProperties: false 183 184 properties: 185 clock-lanes: 186 maxItems: 1 187 188 data-lanes: 189 minItems: 1 190 maxItems: 4 191 192 required: 193 - clock-lanes 194 - data-lanes 195 196 port@3: 197 $ref: /schemas/graph.yaml#/$defs/port- 198 unevaluatedProperties: false 199 description: 200 Input port for receiving CSI data fr 201 202 properties: 203 endpoint: 204 $ref: video-interfaces.yaml# 205 unevaluatedProperties: false 206 207 properties: 208 clock-lanes: 209 maxItems: 1 210 211 data-lanes: 212 minItems: 1 213 maxItems: 4 214 215 required: 216 - clock-lanes 217 - data-lanes 218 219 reg: 220 maxItems: 20 221 222 reg-names: 223 items: 224 - const: csiphy2 225 - const: csiphy3 226 - const: csiphy0 227 - const: csiphy1 228 - const: vfe0 229 - const: csid0 230 - const: vfe1 231 - const: csid1 232 - const: vfe2 233 - const: csid2 234 - const: vfe_lite0 235 - const: csid0_lite 236 - const: vfe_lite1 237 - const: csid1_lite 238 - const: vfe_lite2 239 - const: csid2_lite 240 - const: vfe_lite3 241 - const: csid3_lite 242 - const: vfe3 243 - const: csid3 244 245 vdda-phy-supply: 246 description: 247 Phandle to a regulator supply to PHY cor 248 249 vdda-pll-supply: 250 description: 251 Phandle to 1.8V regulator supply to PHY 252 253 required: 254 - clock-names 255 - clocks 256 - compatible 257 - interconnects 258 - interconnect-names 259 - interrupts 260 - interrupt-names 261 - iommus 262 - power-domains 263 - power-domain-names 264 - reg 265 - reg-names 266 - vdda-phy-supply 267 - vdda-pll-supply 268 269 additionalProperties: false 270 271 examples: 272 - | 273 #include <dt-bindings/interrupt-controller 274 #include <dt-bindings/clock/qcom,gcc-sc828 275 #include <dt-bindings/clock/qcom,sc8280xp- 276 #include <dt-bindings/interconnect/qcom,sc 277 #include <dt-bindings/power/qcom-rpmpd.h> 278 279 soc { 280 #address-cells = <2>; 281 #size-cells = <2>; 282 283 camss: camss@ac5a000 { 284 compatible = "qcom,sc8280xp-camss" 285 286 reg = <0 0x0ac5a000 0 0x2000>, 287 <0 0x0ac5c000 0 0x2000>, 288 <0 0x0ac65000 0 0x2000>, 289 <0 0x0ac67000 0 0x2000>, 290 <0 0x0acaf000 0 0x4000>, 291 <0 0x0acb3000 0 0x1000>, 292 <0 0x0acb6000 0 0x4000>, 293 <0 0x0acba000 0 0x1000>, 294 <0 0x0acbd000 0 0x4000>, 295 <0 0x0acc1000 0 0x1000>, 296 <0 0x0acc4000 0 0x4000>, 297 <0 0x0acc8000 0 0x1000>, 298 <0 0x0accb000 0 0x4000>, 299 <0 0x0accf000 0 0x1000>, 300 <0 0x0acd2000 0 0x4000>, 301 <0 0x0acd6000 0 0x1000>, 302 <0 0x0acd9000 0 0x4000>, 303 <0 0x0acdd000 0 0x1000>, 304 <0 0x0ace0000 0 0x4000>, 305 <0 0x0ace4000 0 0x1000>; 306 307 reg-names = "csiphy2", 308 "csiphy3", 309 "csiphy0", 310 "csiphy1", 311 "vfe0", 312 "csid0", 313 "vfe1", 314 "csid1", 315 "vfe2", 316 "csid2", 317 "vfe_lite0", 318 "csid0_lite", 319 "vfe_lite1", 320 "csid1_lite", 321 "vfe_lite2", 322 "csid2_lite", 323 "vfe_lite3", 324 "csid3_lite", 325 "vfe3", 326 "csid3"; 327 328 vdda-phy-supply = <&vreg_l6d>; 329 vdda-pll-supply = <&vreg_l4d>; 330 331 interrupts = <GIC_SPI 359 IRQ_TYPE 332 <GIC_SPI 360 IRQ_TYPE 333 <GIC_SPI 448 IRQ_TYPE 334 <GIC_SPI 464 IRQ_TYPE 335 <GIC_SPI 465 IRQ_TYPE 336 <GIC_SPI 466 IRQ_TYPE 337 <GIC_SPI 467 IRQ_TYPE 338 <GIC_SPI 468 IRQ_TYPE 339 <GIC_SPI 469 IRQ_TYPE 340 <GIC_SPI 477 IRQ_TYPE 341 <GIC_SPI 478 IRQ_TYPE 342 <GIC_SPI 479 IRQ_TYPE 343 <GIC_SPI 640 IRQ_TYPE 344 <GIC_SPI 641 IRQ_TYPE 345 <GIC_SPI 758 IRQ_TYPE 346 <GIC_SPI 759 IRQ_TYPE 347 <GIC_SPI 760 IRQ_TYPE 348 <GIC_SPI 761 IRQ_TYPE 349 <GIC_SPI 762 IRQ_TYPE 350 <GIC_SPI 764 IRQ_TYPE 351 352 interrupt-names = "csid1_lite", 353 "vfe_lite1", 354 "csiphy3", 355 "csid0", 356 "vfe0", 357 "csid1", 358 "vfe1", 359 "csid0_lite", 360 "vfe_lite0", 361 "csiphy0", 362 "csiphy1", 363 "csiphy2", 364 "csid2", 365 "vfe2", 366 "csid3_lite", 367 "csid2_lite", 368 "vfe_lite3", 369 "vfe_lite2", 370 "csid3", 371 "vfe3"; 372 373 power-domains = <&camcc IFE_0_GDSC 374 <&camcc IFE_1_GDSC 375 <&camcc IFE_2_GDSC 376 <&camcc IFE_3_GDSC 377 <&camcc TITAN_TOP_ 378 379 power-domain-names = "ife0", 380 "ife1", 381 "ife2", 382 "ife3", 383 "top"; 384 385 clocks = <&camcc CAMCC_CAMNOC_AXI_ 386 <&camcc CAMCC_CPAS_AHB_CL 387 <&camcc CAMCC_CSIPHY0_CLK 388 <&camcc CAMCC_CSI0PHYTIME 389 <&camcc CAMCC_CSIPHY1_CLK 390 <&camcc CAMCC_CSI1PHYTIME 391 <&camcc CAMCC_CSIPHY2_CLK 392 <&camcc CAMCC_CSI2PHYTIME 393 <&camcc CAMCC_CSIPHY3_CLK 394 <&camcc CAMCC_CSI3PHYTIME 395 <&camcc CAMCC_IFE_0_AXI_C 396 <&camcc CAMCC_IFE_0_CLK>, 397 <&camcc CAMCC_IFE_0_CPHY_ 398 <&camcc CAMCC_IFE_0_CSID_ 399 <&camcc CAMCC_IFE_1_AXI_C 400 <&camcc CAMCC_IFE_1_CLK>, 401 <&camcc CAMCC_IFE_1_CPHY_ 402 <&camcc CAMCC_IFE_1_CSID_ 403 <&camcc CAMCC_IFE_2_AXI_C 404 <&camcc CAMCC_IFE_2_CLK>, 405 <&camcc CAMCC_IFE_2_CPHY_ 406 <&camcc CAMCC_IFE_2_CSID_ 407 <&camcc CAMCC_IFE_3_AXI_C 408 <&camcc CAMCC_IFE_3_CLK>, 409 <&camcc CAMCC_IFE_3_CPHY_ 410 <&camcc CAMCC_IFE_3_CSID_ 411 <&camcc CAMCC_IFE_LITE_0_ 412 <&camcc CAMCC_IFE_LITE_0_ 413 <&camcc CAMCC_IFE_LITE_0_ 414 <&camcc CAMCC_IFE_LITE_1_ 415 <&camcc CAMCC_IFE_LITE_1_ 416 <&camcc CAMCC_IFE_LITE_1_ 417 <&camcc CAMCC_IFE_LITE_2_ 418 <&camcc CAMCC_IFE_LITE_2_ 419 <&camcc CAMCC_IFE_LITE_2_ 420 <&camcc CAMCC_IFE_LITE_3_ 421 <&camcc CAMCC_IFE_LITE_3_ 422 <&camcc CAMCC_IFE_LITE_3_ 423 <&gcc GCC_CAMERA_HF_AXI_C 424 <&gcc GCC_CAMERA_SF_AXI_C 425 426 clock-names = "camnoc_axi", 427 "cpas_ahb", 428 "csiphy0", 429 "csiphy0_timer", 430 "csiphy1", 431 "csiphy1_timer", 432 "csiphy2", 433 "csiphy2_timer", 434 "csiphy3", 435 "csiphy3_timer", 436 "vfe0_axi", 437 "vfe0", 438 "vfe0_cphy_rx", 439 "vfe0_csid", 440 "vfe1_axi", 441 "vfe1", 442 "vfe1_cphy_rx", 443 "vfe1_csid", 444 "vfe2_axi", 445 "vfe2", 446 "vfe2_cphy_rx", 447 "vfe2_csid", 448 "vfe3_axi", 449 "vfe3", 450 "vfe3_cphy_rx", 451 "vfe3_csid", 452 "vfe_lite0", 453 "vfe_lite0_cphy_rx", 454 "vfe_lite0_csid", 455 "vfe_lite1", 456 "vfe_lite1_cphy_rx", 457 "vfe_lite1_csid", 458 "vfe_lite2", 459 "vfe_lite2_cphy_rx", 460 "vfe_lite2_csid", 461 "vfe_lite3", 462 "vfe_lite3_cphy_rx", 463 "vfe_lite3_csid", 464 "gcc_axi_hf", 465 "gcc_axi_sf"; 466 467 468 iommus = <&apps_smmu 0x2000 0x4e0> 469 <&apps_smmu 0x2020 0x4e0> 470 <&apps_smmu 0x2040 0x4e0> 471 <&apps_smmu 0x2060 0x4e0> 472 <&apps_smmu 0x2080 0x4e0> 473 <&apps_smmu 0x20e0 0x4e0> 474 <&apps_smmu 0x20c0 0x4e0> 475 <&apps_smmu 0x20a0 0x4e0> 476 <&apps_smmu 0x2400 0x4e0> 477 <&apps_smmu 0x2420 0x4e0> 478 <&apps_smmu 0x2440 0x4e0> 479 <&apps_smmu 0x2460 0x4e0> 480 <&apps_smmu 0x2480 0x4e0> 481 <&apps_smmu 0x24e0 0x4e0> 482 <&apps_smmu 0x24c0 0x4e0> 483 <&apps_smmu 0x24a0 0x4e0> 484 485 interconnects = <&gem_noc MASTER_A 486 <&mmss_noc MASTER_ 487 <&mmss_noc MASTER_ 488 <&mmss_noc MASTER_ 489 interconnect-names = "cam_ahb", 490 "cam_hf_mnoc" 491 "cam_sf_mnoc" 492 "cam_sf_icp_m 493 494 ports { 495 #address-cells = <1>; 496 #size-cells = <0>; 497 498 port@0 { 499 reg = <0>; 500 #address-cells = <1>; 501 #size-cells = <0>; 502 503 csiphy_ep0: endpoint@0 { 504 reg = <0>; 505 clock-lanes = <7>; 506 data-lanes = <0 1>; 507 remote-endpoint = <&se 508 }; 509 }; 510 }; 511 }; 512 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.