1*c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2*c66ec88fSEmmanuel Vadot%YAML 1.2 3*c66ec88fSEmmanuel Vadot--- 4*c66ec88fSEmmanuel Vadot$id: "http://devicetree.org/schemas/remoteproc/ingenic,vpu.yaml#" 5*c66ec88fSEmmanuel Vadot$schema: "http://devicetree.org/meta-schemas/core.yaml#" 6*c66ec88fSEmmanuel Vadot 7*c66ec88fSEmmanuel Vadottitle: Ingenic Video Processing Unit bindings 8*c66ec88fSEmmanuel Vadot 9*c66ec88fSEmmanuel Vadotdescription: 10*c66ec88fSEmmanuel Vadot Inside the Video Processing Unit (VPU) of the recent JZ47xx SoCs from 11*c66ec88fSEmmanuel Vadot Ingenic is a second Xburst MIPS CPU very similar to the main core. 12*c66ec88fSEmmanuel Vadot This document describes the devicetree bindings for this auxiliary 13*c66ec88fSEmmanuel Vadot processor. 14*c66ec88fSEmmanuel Vadot 15*c66ec88fSEmmanuel Vadotmaintainers: 16*c66ec88fSEmmanuel Vadot - Paul Cercueil <paul@crapouillou.net> 17*c66ec88fSEmmanuel Vadot 18*c66ec88fSEmmanuel Vadotproperties: 19*c66ec88fSEmmanuel Vadot compatible: 20*c66ec88fSEmmanuel Vadot const: ingenic,jz4770-vpu-rproc 21*c66ec88fSEmmanuel Vadot 22*c66ec88fSEmmanuel Vadot reg: 23*c66ec88fSEmmanuel Vadot items: 24*c66ec88fSEmmanuel Vadot - description: aux registers 25*c66ec88fSEmmanuel Vadot - description: tcsm0 registers 26*c66ec88fSEmmanuel Vadot - description: tcsm1 registers 27*c66ec88fSEmmanuel Vadot - description: sram registers 28*c66ec88fSEmmanuel Vadot 29*c66ec88fSEmmanuel Vadot reg-names: 30*c66ec88fSEmmanuel Vadot items: 31*c66ec88fSEmmanuel Vadot - const: aux 32*c66ec88fSEmmanuel Vadot - const: tcsm0 33*c66ec88fSEmmanuel Vadot - const: tcsm1 34*c66ec88fSEmmanuel Vadot - const: sram 35*c66ec88fSEmmanuel Vadot 36*c66ec88fSEmmanuel Vadot clocks: 37*c66ec88fSEmmanuel Vadot items: 38*c66ec88fSEmmanuel Vadot - description: aux clock 39*c66ec88fSEmmanuel Vadot - description: vpu clock 40*c66ec88fSEmmanuel Vadot 41*c66ec88fSEmmanuel Vadot clock-names: 42*c66ec88fSEmmanuel Vadot items: 43*c66ec88fSEmmanuel Vadot - const: aux 44*c66ec88fSEmmanuel Vadot - const: vpu 45*c66ec88fSEmmanuel Vadot 46*c66ec88fSEmmanuel Vadot interrupts: 47*c66ec88fSEmmanuel Vadot description: VPU hardware interrupt 48*c66ec88fSEmmanuel Vadot 49*c66ec88fSEmmanuel Vadotrequired: 50*c66ec88fSEmmanuel Vadot - compatible 51*c66ec88fSEmmanuel Vadot - reg 52*c66ec88fSEmmanuel Vadot - reg-names 53*c66ec88fSEmmanuel Vadot - clocks 54*c66ec88fSEmmanuel Vadot - clock-names 55*c66ec88fSEmmanuel Vadot - interrupts 56*c66ec88fSEmmanuel Vadot 57*c66ec88fSEmmanuel VadotadditionalProperties: false 58*c66ec88fSEmmanuel Vadot 59*c66ec88fSEmmanuel Vadotexamples: 60*c66ec88fSEmmanuel Vadot - | 61*c66ec88fSEmmanuel Vadot #include <dt-bindings/clock/jz4770-cgu.h> 62*c66ec88fSEmmanuel Vadot 63*c66ec88fSEmmanuel Vadot vpu: video-decoder@132a0000 { 64*c66ec88fSEmmanuel Vadot compatible = "ingenic,jz4770-vpu-rproc"; 65*c66ec88fSEmmanuel Vadot 66*c66ec88fSEmmanuel Vadot reg = <0x132a0000 0x20>, /* AUX */ 67*c66ec88fSEmmanuel Vadot <0x132b0000 0x4000>, /* TCSM0 */ 68*c66ec88fSEmmanuel Vadot <0x132c0000 0xc000>, /* TCSM1 */ 69*c66ec88fSEmmanuel Vadot <0x132f0000 0x7000>; /* SRAM */ 70*c66ec88fSEmmanuel Vadot reg-names = "aux", "tcsm0", "tcsm1", "sram"; 71*c66ec88fSEmmanuel Vadot 72*c66ec88fSEmmanuel Vadot clocks = <&cgu JZ4770_CLK_AUX>, <&cgu JZ4770_CLK_VPU>; 73*c66ec88fSEmmanuel Vadot clock-names = "aux", "vpu"; 74*c66ec88fSEmmanuel Vadot 75*c66ec88fSEmmanuel Vadot interrupt-parent = <&cpuintc>; 76*c66ec88fSEmmanuel Vadot interrupts = <3>; 77*c66ec88fSEmmanuel Vadot }; 78