1d4fd5a56SMarvin Lin# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2d4fd5a56SMarvin Lin%YAML 1.2 3d4fd5a56SMarvin Lin--- 4d4fd5a56SMarvin Lin$id: http://devicetree.org/schemas/media/nuvoton,npcm-vcd.yaml# 5d4fd5a56SMarvin Lin$schema: http://devicetree.org/meta-schemas/core.yaml# 6d4fd5a56SMarvin Lin 7d4fd5a56SMarvin Lintitle: Nuvoton NPCM Video Capture/Differentiation Engine 8d4fd5a56SMarvin Lin 9d4fd5a56SMarvin Linmaintainers: 10d4fd5a56SMarvin Lin - Joseph Liu <kwliu@nuvoton.com> 11d4fd5a56SMarvin Lin - Marvin Lin <kflin@nuvoton.com> 12d4fd5a56SMarvin Lin 13d4fd5a56SMarvin Lindescription: | 14d4fd5a56SMarvin Lin Video Capture/Differentiation Engine (VCD) present on Nuvoton NPCM SoCs. 15d4fd5a56SMarvin Lin 16d4fd5a56SMarvin Linproperties: 17d4fd5a56SMarvin Lin compatible: 18d4fd5a56SMarvin Lin enum: 19d4fd5a56SMarvin Lin - nuvoton,npcm750-vcd 20d4fd5a56SMarvin Lin - nuvoton,npcm845-vcd 21d4fd5a56SMarvin Lin 22d4fd5a56SMarvin Lin reg: 23d4fd5a56SMarvin Lin maxItems: 1 24d4fd5a56SMarvin Lin 25d4fd5a56SMarvin Lin interrupts: 26d4fd5a56SMarvin Lin maxItems: 1 27d4fd5a56SMarvin Lin 28d4fd5a56SMarvin Lin resets: 29d4fd5a56SMarvin Lin maxItems: 1 30d4fd5a56SMarvin Lin 31d4fd5a56SMarvin Lin nuvoton,sysgcr: 32d4fd5a56SMarvin Lin $ref: /schemas/types.yaml#/definitions/phandle 33d4fd5a56SMarvin Lin description: phandle to access GCR (Global Control Register) registers. 34d4fd5a56SMarvin Lin 35d4fd5a56SMarvin Lin nuvoton,sysgfxi: 36d4fd5a56SMarvin Lin $ref: /schemas/types.yaml#/definitions/phandle 37d4fd5a56SMarvin Lin description: phandle to access GFXI (Graphics Core Information) registers. 38d4fd5a56SMarvin Lin 39d4fd5a56SMarvin Lin nuvoton,ece: 40d4fd5a56SMarvin Lin $ref: /schemas/types.yaml#/definitions/phandle 41d4fd5a56SMarvin Lin description: phandle to access ECE (Encoding Compression Engine) registers. 42d4fd5a56SMarvin Lin 43d4fd5a56SMarvin Lin memory-region: 44d4fd5a56SMarvin Lin maxItems: 1 45d4fd5a56SMarvin Lin description: 46d4fd5a56SMarvin Lin CMA pool to use for buffers allocation instead of the default CMA pool. 47d4fd5a56SMarvin Lin 48d4fd5a56SMarvin Linrequired: 49d4fd5a56SMarvin Lin - compatible 50d4fd5a56SMarvin Lin - reg 51d4fd5a56SMarvin Lin - interrupts 52d4fd5a56SMarvin Lin - resets 53d4fd5a56SMarvin Lin - nuvoton,sysgcr 54d4fd5a56SMarvin Lin - nuvoton,sysgfxi 55d4fd5a56SMarvin Lin - nuvoton,ece 56d4fd5a56SMarvin Lin 57d4fd5a56SMarvin LinadditionalProperties: false 58d4fd5a56SMarvin Lin 59d4fd5a56SMarvin Linexamples: 60d4fd5a56SMarvin Lin - | 61d4fd5a56SMarvin Lin #include <dt-bindings/interrupt-controller/arm-gic.h> 62d4fd5a56SMarvin Lin #include <dt-bindings/reset/nuvoton,npcm7xx-reset.h> 63d4fd5a56SMarvin Lin 64d4fd5a56SMarvin Lin vcd: vcd@f0810000 { 65d4fd5a56SMarvin Lin compatible = "nuvoton,npcm750-vcd"; 66d4fd5a56SMarvin Lin reg = <0xf0810000 0x10000>; 67d4fd5a56SMarvin Lin interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>; 68d4fd5a56SMarvin Lin resets = <&rstc NPCM7XX_RESET_IPSRST2 NPCM7XX_RESET_VCD>; 69d4fd5a56SMarvin Lin nuvoton,sysgcr = <&gcr>; 70d4fd5a56SMarvin Lin nuvoton,sysgfxi = <&gfxi>; 71d4fd5a56SMarvin Lin nuvoton,ece = <&ece>; 72d4fd5a56SMarvin Lin }; 73