Ingenic Video Processing Unit

Schema identifier ($id): "http://devicetree.org/schemas/remoteproc/ingenic,vpu.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Inside the Video Processing Unit (VPU) of the recent JZ47xx SoCs from Ingenic is a second Xburst MIPS CPU very similar to the main core. This document describes the devicetree bindings for this auxiliary processor.

Maintainers (maintainers): "Paul Cercueil <paul@crapouillou.net>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "ingenic,jz4770-vpu-rproc"

reg — required here #

Array item rules (items) #

Item 1

aux registers

Item 2

tcsm0 registers

Item 3

tcsm1 registers

Item 4

sram registers

reg-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "aux"

Item 2

Exact value (const): "tcsm0"

Item 3

Exact value (const): "tcsm1"

Item 4

Exact value (const): "sram"

clocks — required here #

Array item rules (items) #

Item 1

aux clock

Item 2

vpu clock

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "aux"

Item 2

Exact value (const): "vpu"

interrupts — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg", "reg-names", "clocks", "clock-names", "interrupts"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/ingenic,jz4770-cgu.h>

vpu: video-decoder@132a0000 {
  compatible = "ingenic,jz4770-vpu-rproc";

  reg = <0x132a0000 0x20>, /* AUX */
        <0x132b0000 0x4000>, /* TCSM0 */
        <0x132c0000 0xc000>, /* TCSM1 */
        <0x132f0000 0x7000>; /* SRAM */
  reg-names = "aux", "tcsm0", "tcsm1", "sram";

  clocks = <&cgu JZ4770_CLK_AUX>, <&cgu JZ4770_CLK_VPU>;
  clock-names = "aux", "vpu";

  interrupt-parent = <&cpuintc>;
  interrupts = <3>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Edit this page