xref: /freebsd/sys/contrib/device-tree/Bindings/media/nuvoton,npcm-ece.yaml (revision 8c2f6c3be0125142d3c1782e4b0ee0634c584b9e)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/media/nuvoton,npcm-ece.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Nuvoton NPCM Encoding Compression Engine
8
9maintainers:
10  - Joseph Liu <kwliu@nuvoton.com>
11  - Marvin Lin <kflin@nuvoton.com>
12
13description: |
14  Video Encoding Compression Engine (ECE) present on Nuvoton NPCM SoCs.
15
16properties:
17  compatible:
18    enum:
19      - nuvoton,npcm750-ece
20      - nuvoton,npcm845-ece
21
22  reg:
23    maxItems: 1
24
25  resets:
26    maxItems: 1
27
28required:
29  - compatible
30  - reg
31  - resets
32
33additionalProperties: false
34
35examples:
36  - |
37    #include <dt-bindings/reset/nuvoton,npcm7xx-reset.h>
38
39    ece: video-codec@f0820000 {
40        compatible = "nuvoton,npcm750-ece";
41        reg = <0xf0820000 0x2000>;
42        resets = <&rstc NPCM7XX_RESET_IPSRST2 NPCM7XX_RESET_ECE>;
43    };
44