brcm,bcm-v3d.yaml 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/gpu/brcm,bcm-v3d.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Broadcom V3D GPU
  7. maintainers:
  8. - Eric Anholt <eric@anholt.net>
  9. - Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
  10. properties:
  11. $nodename:
  12. pattern: '^gpu@[a-f0-9]+$'
  13. compatible:
  14. enum:
  15. - brcm,2711-v3d
  16. - brcm,2712-v3d
  17. - brcm,7268-v3d
  18. - brcm,7278-v3d
  19. reg:
  20. items:
  21. - description: hub register (required)
  22. - description: core0 register (required)
  23. - description: GCA cache controller register (if GCA controller present)
  24. - description: bridge register (if no external reset controller)
  25. minItems: 2
  26. reg-names:
  27. items:
  28. - const: hub
  29. - const: core0
  30. - enum: [ bridge, gca ]
  31. - enum: [ bridge, gca ]
  32. minItems: 2
  33. interrupts:
  34. items:
  35. - description: hub interrupt (required)
  36. - description: core interrupts (if it doesn't share the hub's interrupt)
  37. minItems: 1
  38. clocks:
  39. maxItems: 1
  40. resets:
  41. maxItems: 1
  42. power-domains:
  43. maxItems: 1
  44. required:
  45. - compatible
  46. - reg
  47. - reg-names
  48. - interrupts
  49. additionalProperties: false
  50. examples:
  51. - |
  52. gpu@f1200000 {
  53. compatible = "brcm,7268-v3d";
  54. reg = <0xf1200000 0x4000>,
  55. <0xf1208000 0x4000>,
  56. <0xf1204000 0x100>,
  57. <0xf1204100 0x100>;
  58. reg-names = "hub", "core0", "bridge", "gca";
  59. interrupts = <0 78 4>,
  60. <0 77 4>;
  61. };
  62. ...