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