Allegro DVT Video IP Codecs
Schema identifier ($id): "http://devicetree.org/schemas/media/allegro,al5e.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Michael Tretter <m.tretter@pengutronix.de>"
Allegro DVT video IP codecs present in the Xilinx ZynqMP SoC. The IP core may either be a H.264/H.265 encoder or H.264/H.265 decoder ip core.
Each actual codec engine is controlled by a microcontroller (MCU). Host software uses a provided mailbox interface to communicate with the MCU. The MCUs share an interrupt.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Exact value (
const):"allegro,al5e-1.1"Item 2
Exact value (
const):"allegro,al5e"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"allegro,al5d-1.1"Item 2
Exact value (
const):"allegro,al5d"
reg — required here #
Array item rules (items) #
Item 1
The registers
Item 2
The SRAM
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"regs"
Item 2
Exact value (
const):"sram"
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Array item rules (items) #
Item 1
Core clock
Item 2
MCU clock
Item 3
Core AXI master port clock
Item 4
MCU AXI master port clock
Item 5
AXI4-Lite slave port clock
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"core_clk"
Item 2
Exact value (
const):"mcu_clk"
Item 3
Exact value (
const):"m_axi_core_aclk"
Item 4
Exact value (
const):"m_axi_mcu_aclk"
Item 5
Exact value (
const):"s_axi_lite_aclk"
Required in this object (required): "compatible", "reg", "reg-names", "interrupts", "clocks", "clock-names"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
fpga {
#address-cells = <2>;
#size-cells = <2>;
al5e: video-codec@a0009000 {
compatible = "allegro,al5e-1.1", "allegro,al5e";
reg = <0 0xa0009000 0 0x1000>,
<0 0xa0000000 0 0x8000>;
reg-names = "regs", "sram";
interrupts = <0 96 4>;
clocks = <&xlnx_vcu 0>, <&xlnx_vcu 1>,
<&clkc 71>, <&clkc 71>, <&clkc 71>;
clock-names = "core_clk", "mcu_clk", "m_axi_core_aclk",
"m_axi_mcu_aclk", "s_axi_lite_aclk";
};
};
fpga {
#address-cells = <2>;
#size-cells = <2>;
al5d: video-codec@a0029000 {
compatible = "allegro,al5d-1.1", "allegro,al5d";
reg = <0 0xa0029000 0 0x1000>,
<0 0xa0020000 0 0x8000>;
reg-names = "regs", "sram";
interrupts = <0 96 4>;
clocks = <&xlnx_vcu 2>, <&xlnx_vcu 3>,
<&clkc 71>, <&clkc 71>, <&clkc 71>;
clock-names = "core_clk", "mcu_clk", "m_axi_core_aclk",
"m_axi_mcu_aclk", "s_axi_lite_aclk";
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)