Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | * Device tree bindings for Aspeed Video Engine |
| 2 | |
| 3 | The Video Engine (VE) embedded in the Aspeed AST2400/2500/2600 SOCs can |
| 4 | capture and compress video data from digital or analog sources. |
| 5 | |
| 6 | Required properties: |
| 7 | - compatible: "aspeed,ast2400-video-engine" or |
| 8 | "aspeed,ast2500-video-engine" or |
| 9 | "aspeed,ast2600-video-engine" |
| 10 | - reg: contains the offset and length of the VE memory region |
| 11 | - clocks: clock specifiers for the syscon clocks associated with |
| 12 | the VE (ordering must match the clock-names property) |
| 13 | - clock-names: "vclk" and "eclk" |
| 14 | - resets: reset specifier for the syscon reset associated with |
| 15 | the VE |
| 16 | - interrupts: the interrupt associated with the VE on this platform |
| 17 | |
| 18 | Optional properties: |
| 19 | - memory-region: |
| 20 | phandle to a memory region to allocate from, as defined in |
| 21 | Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt |
| 22 | |
| 23 | Example: |
| 24 | |
| 25 | video-engine@1e700000 { |
| 26 | compatible = "aspeed,ast2500-video-engine"; |
| 27 | reg = <0x1e700000 0x20000>; |
| 28 | clocks = <&syscon ASPEED_CLK_GATE_VCLK>, <&syscon ASPEED_CLK_GATE_ECLK>; |
| 29 | clock-names = "vclk", "eclk"; |
| 30 | resets = <&syscon ASPEED_RESET_VIDEO>; |
| 31 | interrupts = <7>; |
| 32 | memory-region = <&video_engine_memory>; |
| 33 | }; |