xref: /freebsd/sys/contrib/device-tree/Bindings/gpu/brcm,bcm-v3d.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotBroadcom V3D GPU
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotOnly the Broadcom V3D 3.x and newer GPUs are covered by this binding.
4*c66ec88fSEmmanuel VadotFor V3D 2.x, see brcm,bcm-vc4.txt.
5*c66ec88fSEmmanuel Vadot
6*c66ec88fSEmmanuel VadotRequired properties:
7*c66ec88fSEmmanuel Vadot- compatible:	Should be "brcm,7268-v3d" or "brcm,7278-v3d"
8*c66ec88fSEmmanuel Vadot- reg:		Physical base addresses and lengths of the register areas
9*c66ec88fSEmmanuel Vadot- reg-names:	Names for the register areas.  The "hub" and "core0"
10*c66ec88fSEmmanuel Vadot		  register areas are always required.  The "gca" register area
11*c66ec88fSEmmanuel Vadot		  is required if the GCA cache controller is present.  The
12*c66ec88fSEmmanuel Vadot		  "bridge" register area is required if an external reset
13*c66ec88fSEmmanuel Vadot		  controller is not present.
14*c66ec88fSEmmanuel Vadot- interrupts:	The interrupt numbers.  The first interrupt is for the hub,
15*c66ec88fSEmmanuel Vadot		  while the following interrupts are separate interrupt lines
16*c66ec88fSEmmanuel Vadot		  for the cores (if they don't share the hub's interrupt).
17*c66ec88fSEmmanuel Vadot		  See bindings/interrupt-controller/interrupts.txt
18*c66ec88fSEmmanuel Vadot
19*c66ec88fSEmmanuel VadotOptional properties:
20*c66ec88fSEmmanuel Vadot- clocks:	The core clock the unit runs on
21*c66ec88fSEmmanuel Vadot- resets:	The reset line for v3d, if not using a mapping of the bridge
22*c66ec88fSEmmanuel Vadot		  See bindings/reset/reset.txt
23*c66ec88fSEmmanuel Vadot
24*c66ec88fSEmmanuel Vadotv3d {
25*c66ec88fSEmmanuel Vadot	compatible = "brcm,7268-v3d";
26*c66ec88fSEmmanuel Vadot	reg = <0xf1204000 0x100>,
27*c66ec88fSEmmanuel Vadot	      <0xf1200000 0x4000>,
28*c66ec88fSEmmanuel Vadot	      <0xf1208000 0x4000>,
29*c66ec88fSEmmanuel Vadot	      <0xf1204100 0x100>;
30*c66ec88fSEmmanuel Vadot	reg-names = "bridge", "hub", "core0", "gca";
31*c66ec88fSEmmanuel Vadot	interrupts = <0 78 4>,
32*c66ec88fSEmmanuel Vadot		     <0 77 4>;
33*c66ec88fSEmmanuel Vadot};
34