|
195 | 195 | compatible = "arm,cortex-a7-pmu"; |
196 | 196 | interrupts = <GIC_PPI 7 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>; |
197 | 197 | }; |
198 | | - |
199 | 198 | reserved-memory { |
200 | 199 | #address-cells = <1>; |
201 | 200 | #size-cells = <1>; |
|
382 | 381 | #size-cells = <1>; |
383 | 382 | ranges; |
384 | 383 |
|
385 | | - rng@22000 { |
| 384 | + |
| 385 | + gpu_iommu: iommu@1f08000 { |
| 386 | + #address-cells = <1>; |
| 387 | + #size-cells = <1>; |
| 388 | + #iommu-cells = <1>; |
| 389 | + compatible = "qcom,msm8916-iommu", "qcom,msm-iommu-v1"; |
| 390 | + ranges = <0 0x01f08000 0x10000>; |
| 391 | + clocks = <&gcc GCC_SMMU_CFG_CLK>, |
| 392 | + <&gcc GCC_GFX_TCU_CLK>; |
| 393 | + clock-names = "iface", "bus"; |
| 394 | + qcom,iommu-secure-id = <18>; |
| 395 | + |
| 396 | + /* GFX3D_USER */ |
| 397 | + iommu-ctx@1000 { |
| 398 | + compatible = "qcom,msm-iommu-v1-ns"; |
| 399 | + reg = <0x1000 0x1000>; |
| 400 | + interrupts = <GIC_SPI 241 IRQ_TYPE_LEVEL_HIGH>; |
| 401 | + }; |
| 402 | + |
| 403 | + /* GFX3D_PRIV */ |
| 404 | + iommu-ctx@2000 { |
| 405 | + compatible = "qcom,msm-iommu-v1-ns"; |
| 406 | + reg = <0x2000 0x1000>; |
| 407 | + interrupts = <GIC_SPI 242 IRQ_TYPE_LEVEL_HIGH>; |
| 408 | + }; |
| 409 | + }; |
| 410 | + |
| 411 | + gpu: gpu@1c00000 { |
| 412 | + compatible = "amd,imageon-304.0", "amd,imageon"; |
| 413 | + reg = <0x01c00000 0x10000 |
| 414 | + 0x01c10000 0x10000 |
| 415 | + 0x0005c00c 0x8>; |
| 416 | + reg-names = "kgsl_3d0_reg_memory"; |
| 417 | + interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>; |
| 418 | + interrupt-names = "kgsl_3d0_irq"; |
| 419 | + clock-names = |
| 420 | + "core", |
| 421 | + "iface", |
| 422 | + "mem_iface", |
| 423 | + "alt_mem_iface", |
| 424 | + "gfx3d"; |
| 425 | + clocks = |
| 426 | + <&gcc GCC_OXILI_GFX3D_CLK>, |
| 427 | + <&gcc GCC_OXILI_AHB_CLK>, |
| 428 | + <&gcc GCC_BIMC_GFX_CLK>, |
| 429 | + <&gcc GCC_BIMC_GPU_CLK>, |
| 430 | + <&gcc GFX3D_CLK_SRC>; |
| 431 | + power-domains = <&gcc OXILI_GDSC>; |
| 432 | + operating-points-v2 = <&gpu_opp_table>; |
| 433 | + iommus = <&gpu_iommu 1>, <&gpu_iommu 2>; |
| 434 | + #cooling-cells = <2>; |
| 435 | + qcom,force-iommu; |
| 436 | + |
| 437 | + status = "okay"; |
| 438 | + |
| 439 | + gpu_opp_table: opp-table { |
| 440 | + compatible = "operating-points-v2"; |
| 441 | + |
| 442 | + opp-456000000 { |
| 443 | + opp-hz = /bits/ 64 <456000000>; |
| 444 | + }; |
| 445 | + opp-19200000 { |
| 446 | + opp-hz = /bits/ 64 <19200000>; |
| 447 | + }; |
| 448 | + }; |
| 449 | + }; |
| 450 | + |
| 451 | +rng@22000 { |
386 | 452 | compatible = "qcom,prng"; |
387 | 453 | reg = <0x00022000 0x200>; |
388 | 454 | clocks = <&gcc GCC_PRNG_AHB_CLK>; |
|
0 commit comments