xref: /freebsd/sys/contrib/device-tree/Bindings/media/aspeed-video.txt (revision 8ddb146abcdf061be9f2c0db7e391697dafad85c)
1* Device tree bindings for Aspeed Video Engine
2
3The Video Engine (VE) embedded in the Aspeed AST2400/2500/2600 SOCs can
4capture and compress video data from digital or analog sources.
5
6Required 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
18Optional 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
23Example:
24
25video-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};
34