Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 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 | |
| 7 | title: Nuvoton NPCM Encoding Compression Engine |
| 8 | |
| 9 | maintainers: |
| 10 | - Joseph Liu <kwliu@nuvoton.com> |
| 11 | - Marvin Lin <kflin@nuvoton.com> |
| 12 | |
| 13 | description: | |
| 14 | Video Encoding Compression Engine (ECE) present on Nuvoton NPCM SoCs. |
| 15 | |
| 16 | properties: |
| 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 | |
| 28 | required: |
| 29 | - compatible |
| 30 | - reg |
| 31 | - resets |
| 32 | |
| 33 | additionalProperties: false |
| 34 | |
| 35 | examples: |
| 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 | }; |