18c2ecf20Sopenharmony_ciNVIDIA Tegra Video Decoder Engine 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ciRequired properties: 48c2ecf20Sopenharmony_ci- compatible : Must contain one of the following values: 58c2ecf20Sopenharmony_ci - "nvidia,tegra20-vde" 68c2ecf20Sopenharmony_ci - "nvidia,tegra30-vde" 78c2ecf20Sopenharmony_ci - "nvidia,tegra114-vde" 88c2ecf20Sopenharmony_ci - "nvidia,tegra124-vde" 98c2ecf20Sopenharmony_ci - "nvidia,tegra132-vde" 108c2ecf20Sopenharmony_ci- reg : Must contain an entry for each entry in reg-names. 118c2ecf20Sopenharmony_ci- reg-names : Must include the following entries: 128c2ecf20Sopenharmony_ci - sxe 138c2ecf20Sopenharmony_ci - bsev 148c2ecf20Sopenharmony_ci - mbe 158c2ecf20Sopenharmony_ci - ppe 168c2ecf20Sopenharmony_ci - mce 178c2ecf20Sopenharmony_ci - tfe 188c2ecf20Sopenharmony_ci - ppb 198c2ecf20Sopenharmony_ci - vdma 208c2ecf20Sopenharmony_ci - frameid 218c2ecf20Sopenharmony_ci- iram : Must contain phandle to the mmio-sram device node that represents 228c2ecf20Sopenharmony_ci IRAM region used by VDE. 238c2ecf20Sopenharmony_ci- interrupts : Must contain an entry for each entry in interrupt-names. 248c2ecf20Sopenharmony_ci- interrupt-names : Must include the following entries: 258c2ecf20Sopenharmony_ci - sync-token 268c2ecf20Sopenharmony_ci - bsev 278c2ecf20Sopenharmony_ci - sxe 288c2ecf20Sopenharmony_ci- clocks : Must include the following entries: 298c2ecf20Sopenharmony_ci - vde 308c2ecf20Sopenharmony_ci- resets : Must contain an entry for each entry in reset-names. 318c2ecf20Sopenharmony_ci- reset-names : Should include the following entries: 328c2ecf20Sopenharmony_ci - vde 338c2ecf20Sopenharmony_ci 348c2ecf20Sopenharmony_ciOptional properties: 358c2ecf20Sopenharmony_ci- resets : Must contain an entry for each entry in reset-names. 368c2ecf20Sopenharmony_ci- reset-names : Must include the following entries: 378c2ecf20Sopenharmony_ci - mc 388c2ecf20Sopenharmony_ci- iommus: Must contain phandle to the IOMMU device node. 398c2ecf20Sopenharmony_ci 408c2ecf20Sopenharmony_ciExample: 418c2ecf20Sopenharmony_ci 428c2ecf20Sopenharmony_civideo-codec@6001a000 { 438c2ecf20Sopenharmony_ci compatible = "nvidia,tegra20-vde"; 448c2ecf20Sopenharmony_ci reg = <0x6001a000 0x1000 /* Syntax Engine */ 458c2ecf20Sopenharmony_ci 0x6001b000 0x1000 /* Video Bitstream Engine */ 468c2ecf20Sopenharmony_ci 0x6001c000 0x100 /* Macroblock Engine */ 478c2ecf20Sopenharmony_ci 0x6001c200 0x100 /* Post-processing Engine */ 488c2ecf20Sopenharmony_ci 0x6001c400 0x100 /* Motion Compensation Engine */ 498c2ecf20Sopenharmony_ci 0x6001c600 0x100 /* Transform Engine */ 508c2ecf20Sopenharmony_ci 0x6001c800 0x100 /* Pixel prediction block */ 518c2ecf20Sopenharmony_ci 0x6001ca00 0x100 /* Video DMA */ 528c2ecf20Sopenharmony_ci 0x6001d800 0x300 /* Video frame controls */>; 538c2ecf20Sopenharmony_ci reg-names = "sxe", "bsev", "mbe", "ppe", "mce", 548c2ecf20Sopenharmony_ci "tfe", "ppb", "vdma", "frameid"; 558c2ecf20Sopenharmony_ci iram = <&vde_pool>; /* IRAM region */ 568c2ecf20Sopenharmony_ci interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>, /* Sync token interrupt */ 578c2ecf20Sopenharmony_ci <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>, /* BSE-V interrupt */ 588c2ecf20Sopenharmony_ci <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>; /* SXE interrupt */ 598c2ecf20Sopenharmony_ci interrupt-names = "sync-token", "bsev", "sxe"; 608c2ecf20Sopenharmony_ci clocks = <&tegra_car TEGRA20_CLK_VDE>; 618c2ecf20Sopenharmony_ci reset-names = "vde", "mc"; 628c2ecf20Sopenharmony_ci resets = <&tegra_car 61>, <&mc TEGRA20_MC_RESET_VDE>; 638c2ecf20Sopenharmony_ci iommus = <&mc TEGRA_SWGROUP_VDE>; 648c2ecf20Sopenharmony_ci}; 65