1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/gpu/host1x/nvidia,tegra234-nvdec.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: NVIDIA Tegra234 NVDEC
10 NVDEC is the hardware video decoder present on NVIDIA Tegra210
11 and newer chips. It is located on the Host1x bus and typically
12 programmed through Host1x channels.
15 - Thierry Reding <treding@gmail.com>
16 - Mikko Perttunen <mperttunen@nvidia.com>
20 pattern: "^nvdec@[0-9a-f]*$"
24 - nvidia,tegra234-nvdec
55 - description: DMA read memory client
56 - description: DMA write memory client
63 nvidia,memory-controller:
64 $ref: /schemas/types.yaml#/definitions/phandle
66 phandle to the memory controller for determining information for the NVDEC
67 firmware secure carveout. This carveout is configured by the bootloader and
68 not accessible to CPU.
70 nvidia,bl-manifest-offset:
71 $ref: /schemas/types.yaml#/definitions/uint32
73 Offset to bootloader manifest from beginning of firmware that was configured by
76 nvidia,bl-code-offset:
77 $ref: /schemas/types.yaml#/definitions/uint32
79 Offset to bootloader code section from beginning of firmware that was configured by
82 nvidia,bl-data-offset:
83 $ref: /schemas/types.yaml#/definitions/uint32
85 Offset to bootloader data section from beginning of firmware that was configured by
88 nvidia,os-manifest-offset:
89 $ref: /schemas/types.yaml#/definitions/uint32
91 Offset to operating system manifest from beginning of firmware that was configured by
94 nvidia,os-code-offset:
95 $ref: /schemas/types.yaml#/definitions/uint32
97 Offset to operating system code section from beginning of firmware that was configured by
100 nvidia,os-data-offset:
101 $ref: /schemas/types.yaml#/definitions/uint32
103 Offset to operating system data section from beginning of firmware that was configured
114 - nvidia,memory-controller
115 - nvidia,bl-manifest-offset
116 - nvidia,bl-code-offset
117 - nvidia,bl-data-offset
118 - nvidia,os-manifest-offset
119 - nvidia,os-code-offset
120 - nvidia,os-data-offset
122 additionalProperties: false
126 #include <dt-bindings/clock/tegra234-clock.h>
127 #include <dt-bindings/memory/tegra234-mc.h>
128 #include <dt-bindings/power/tegra234-powergate.h>
129 #include <dt-bindings/reset/tegra234-reset.h>
132 compatible = "nvidia,tegra234-nvdec";
133 reg = <0x15480000 0x00040000>;
134 clocks = <&bpmp TEGRA234_CLK_NVDEC>,
135 <&bpmp TEGRA234_CLK_FUSE>,
136 <&bpmp TEGRA234_CLK_TSEC_PKA>;
137 clock-names = "nvdec", "fuse", "tsec_pka";
138 resets = <&bpmp TEGRA234_RESET_NVDEC>;
139 reset-names = "nvdec";
140 power-domains = <&bpmp TEGRA234_POWER_DOMAIN_NVDEC>;
141 interconnects = <&mc TEGRA234_MEMORY_CLIENT_NVDECSRD &emc>,
142 <&mc TEGRA234_MEMORY_CLIENT_NVDECSWR &emc>;
143 interconnect-names = "dma-mem", "write";
144 iommus = <&smmu_niso1 TEGRA234_SID_NVDEC>;
147 nvidia,memory-controller = <&mc>;
149 /* Placeholder values, to be replaced with values from overlay */
150 nvidia,bl-manifest-offset = <0>;
151 nvidia,bl-data-offset = <0>;
152 nvidia,bl-code-offset = <0>;
153 nvidia,os-manifest-offset = <0>;
154 nvidia,os-data-offset = <0>;
155 nvidia,os-code-offset = <0>;