blob: ce2894506e1f16197441f59dbce6922696ae0205 [file] [log] [blame]
Eddie James95f04552018-12-11 11:57:00 -05001* Device tree bindings for Aspeed Video Engine
2
3The Video Engine (VE) embedded in the Aspeed AST2400 and AST2500 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"
9 - reg: contains the offset and length of the VE memory region
10 - clocks: clock specifiers for the syscon clocks associated with
11 the VE (ordering must match the clock-names property)
12 - clock-names: "vclk" and "eclk"
13 - resets: reset specifier for the syscon reset associated with
14 the VE
15 - interrupts: the interrupt associated with the VE on this platform
16
Eddie James0d672ff2019-04-24 11:16:59 -040017Optional properties:
18 - memory-region:
19 phandle to a memory region to allocate from, as defined in
20 Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt
21
Eddie James95f04552018-12-11 11:57:00 -050022Example:
23
24video-engine@1e700000 {
25 compatible = "aspeed,ast2500-video-engine";
26 reg = <0x1e700000 0x20000>;
27 clocks = <&syscon ASPEED_CLK_GATE_VCLK>, <&syscon ASPEED_CLK_GATE_ECLK>;
28 clock-names = "vclk", "eclk";
29 resets = <&syscon ASPEED_RESET_VIDEO>;
30 interrupts = <7>;
Eddie James0d672ff2019-04-24 11:16:59 -040031 memory-region = <&video_engine_memory>;
Eddie James95f04552018-12-11 11:57:00 -050032};