xref: /freebsd/sys/contrib/device-tree/Bindings/media/renesas,jpu.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot* Renesas JPEG Processing Unit
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotThe JPEG processing unit (JPU) incorporates the JPEG codec with an encoding
4*c66ec88fSEmmanuel Vadotand decoding function conforming to the JPEG baseline process, so that the JPU
5*c66ec88fSEmmanuel Vadotcan encode image data and decode JPEG data quickly.
6*c66ec88fSEmmanuel Vadot
7*c66ec88fSEmmanuel VadotRequired properties:
8*c66ec88fSEmmanuel Vadot- compatible: "renesas,jpu-<soctype>", "renesas,rcar-gen2-jpu" as fallback.
9*c66ec88fSEmmanuel Vadot	Examples with soctypes are:
10*c66ec88fSEmmanuel Vadot	  - "renesas,jpu-r8a7790" for R-Car H2
11*c66ec88fSEmmanuel Vadot	  - "renesas,jpu-r8a7791" for R-Car M2-W
12*c66ec88fSEmmanuel Vadot	  - "renesas,jpu-r8a7792" for R-Car V2H
13*c66ec88fSEmmanuel Vadot	  - "renesas,jpu-r8a7793" for R-Car M2-N
14*c66ec88fSEmmanuel Vadot
15*c66ec88fSEmmanuel Vadot  - reg: Base address and length of the registers block for the JPU.
16*c66ec88fSEmmanuel Vadot  - interrupts: JPU interrupt specifier.
17*c66ec88fSEmmanuel Vadot  - clocks: A phandle + clock-specifier pair for the JPU functional clock.
18*c66ec88fSEmmanuel Vadot
19*c66ec88fSEmmanuel VadotExample: R8A7790 (R-Car H2) JPU node
20*c66ec88fSEmmanuel Vadot	jpeg-codec@fe980000 {
21*c66ec88fSEmmanuel Vadot		compatible = "renesas,jpu-r8a7790", "renesas,rcar-gen2-jpu";
22*c66ec88fSEmmanuel Vadot		reg = <0 0xfe980000 0 0x10300>;
23*c66ec88fSEmmanuel Vadot		interrupts = <0 272 IRQ_TYPE_LEVEL_HIGH>;
24*c66ec88fSEmmanuel Vadot		clocks = <&mstp1_clks R8A7790_CLK_JPU>;
25*c66ec88fSEmmanuel Vadot	};
26