|
240 | 240 | reg = <0x8dc00000 0x100000>; |
241 | 241 | no-map; |
242 | 242 | }; |
| 243 | + venus_mem: venus@90000000 { |
| 244 | + reg = <0x90000000 0x100000>; |
| 245 | + no-map; |
| 246 | + }; |
243 | 247 | }; |
244 | 248 |
|
245 | 249 | smd { |
|
381 | 385 | #size-cells = <1>; |
382 | 386 | ranges; |
383 | 387 |
|
384 | | - |
| 388 | + apps_iommu: iommu@1ef0000 { |
| 389 | + #address-cells = <1>; |
| 390 | + #size-cells = <1>; |
| 391 | + #iommu-cells = <1>; |
| 392 | + compatible = "qcom,msm8916-iommu", "qcom,msm-iommu-v1"; |
| 393 | + ranges = <0 0x01e20000 0x20000>; |
| 394 | + reg = <0x01ef0000 0x3000>; |
| 395 | + clocks = <&gcc GCC_SMMU_CFG_CLK>, |
| 396 | + <&gcc GCC_APSS_TCU_CLK>; |
| 397 | + clock-names = "iface", "bus"; |
| 398 | + qcom,iommu-secure-id = <17>; |
| 399 | + |
| 400 | + /* VFE */ |
| 401 | + iommu-ctx@3000 { |
| 402 | + compatible = "qcom,msm-iommu-v1-sec"; |
| 403 | + reg = <0x3000 0x1000>; |
| 404 | + interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>; |
| 405 | + }; |
| 406 | + |
| 407 | + /* MDP_0 */ |
| 408 | + iommu-ctx@4000 { |
| 409 | + compatible = "qcom,msm-iommu-v1-ns"; |
| 410 | + reg = <0x4000 0x1000>; |
| 411 | + interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>; |
| 412 | + }; |
| 413 | + |
| 414 | + /* VENUS_NS */ |
| 415 | + iommu-ctx@5000 { |
| 416 | + compatible = "qcom,msm-iommu-v1-sec"; |
| 417 | + reg = <0x5000 0x1000>; |
| 418 | + interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>; |
| 419 | + }; |
| 420 | + }; |
| 421 | + |
| 422 | + venus: video-codec@1d00000 { |
| 423 | + compatible = "qcom,msm8909-venus"; |
| 424 | + reg = <0x01d00000 0xff000>; |
| 425 | + interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>; |
| 426 | + power-domains = <&gcc VENUS_GDSC>; |
| 427 | + clocks = <&gcc GCC_VENUS0_VCODEC0_CLK>, |
| 428 | + <&gcc GCC_VENUS0_AHB_CLK>, |
| 429 | + <&gcc GCC_VENUS0_AXI_CLK>; |
| 430 | + clock-names = "core", "iface", "bus"; |
| 431 | + iommus = <&apps_iommu 5>; |
| 432 | + memory-region = <&venus_mem>; |
| 433 | + |
| 434 | + video-decoder { |
| 435 | + compatible = "venus-decoder"; |
| 436 | + }; |
| 437 | + |
| 438 | + video-encoder { |
| 439 | + compatible = "venus-encoder"; |
| 440 | + }; |
| 441 | + }; |
| 442 | + |
385 | 443 | gpu_iommu: iommu@1f08000 { |
386 | 444 | #address-cells = <1>; |
387 | 445 | #size-cells = <1>; |
|
0 commit comments