xref: /freebsd/sys/contrib/device-tree/Bindings/gpu/brcm,bcm-v3d.yaml (revision 8d13bc63c0e1d50bc9e47ac1f26329c999bfecf0)
15def4c47SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
25def4c47SEmmanuel Vadot%YAML 1.2
35def4c47SEmmanuel Vadot---
45def4c47SEmmanuel Vadot$id: http://devicetree.org/schemas/gpu/brcm,bcm-v3d.yaml#
55def4c47SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
65def4c47SEmmanuel Vadot
78bab661aSEmmanuel Vadottitle: Broadcom V3D GPU
85def4c47SEmmanuel Vadot
95def4c47SEmmanuel Vadotmaintainers:
105def4c47SEmmanuel Vadot  - Eric Anholt <eric@anholt.net>
115def4c47SEmmanuel Vadot  - Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
125def4c47SEmmanuel Vadot
135def4c47SEmmanuel Vadotproperties:
145def4c47SEmmanuel Vadot  $nodename:
155def4c47SEmmanuel Vadot    pattern: '^gpu@[a-f0-9]+$'
165def4c47SEmmanuel Vadot
175def4c47SEmmanuel Vadot  compatible:
185def4c47SEmmanuel Vadot    enum:
19b97ee269SEmmanuel Vadot      - brcm,2711-v3d
20*8d13bc63SEmmanuel Vadot      - brcm,2712-v3d
215def4c47SEmmanuel Vadot      - brcm,7268-v3d
225def4c47SEmmanuel Vadot      - brcm,7278-v3d
235def4c47SEmmanuel Vadot
245def4c47SEmmanuel Vadot  reg:
255def4c47SEmmanuel Vadot    items:
265def4c47SEmmanuel Vadot      - description: hub register (required)
275def4c47SEmmanuel Vadot      - description: core0 register (required)
285def4c47SEmmanuel Vadot      - description: GCA cache controller register (if GCA controller present)
295def4c47SEmmanuel Vadot      - description: bridge register (if no external reset controller)
305def4c47SEmmanuel Vadot    minItems: 2
315def4c47SEmmanuel Vadot
325def4c47SEmmanuel Vadot  reg-names:
335def4c47SEmmanuel Vadot    items:
345def4c47SEmmanuel Vadot      - const: hub
355def4c47SEmmanuel Vadot      - const: core0
365def4c47SEmmanuel Vadot      - enum: [ bridge, gca ]
375def4c47SEmmanuel Vadot      - enum: [ bridge, gca ]
385def4c47SEmmanuel Vadot    minItems: 2
395def4c47SEmmanuel Vadot
405def4c47SEmmanuel Vadot  interrupts:
415def4c47SEmmanuel Vadot    items:
425def4c47SEmmanuel Vadot      - description: hub interrupt (required)
435def4c47SEmmanuel Vadot      - description: core interrupts (if it doesn't share the hub's interrupt)
445def4c47SEmmanuel Vadot    minItems: 1
455def4c47SEmmanuel Vadot
465def4c47SEmmanuel Vadot  clocks:
475def4c47SEmmanuel Vadot    maxItems: 1
485def4c47SEmmanuel Vadot
495def4c47SEmmanuel Vadot  resets:
505def4c47SEmmanuel Vadot    maxItems: 1
515def4c47SEmmanuel Vadot
525def4c47SEmmanuel Vadot  power-domains:
535def4c47SEmmanuel Vadot    maxItems: 1
545def4c47SEmmanuel Vadot
555def4c47SEmmanuel Vadotrequired:
565def4c47SEmmanuel Vadot  - compatible
575def4c47SEmmanuel Vadot  - reg
585def4c47SEmmanuel Vadot  - reg-names
595def4c47SEmmanuel Vadot  - interrupts
605def4c47SEmmanuel Vadot
615def4c47SEmmanuel VadotadditionalProperties: false
625def4c47SEmmanuel Vadot
635def4c47SEmmanuel Vadotexamples:
645def4c47SEmmanuel Vadot  - |
655def4c47SEmmanuel Vadot    gpu@f1200000 {
665def4c47SEmmanuel Vadot      compatible = "brcm,7268-v3d";
675def4c47SEmmanuel Vadot      reg = <0xf1200000 0x4000>,
685def4c47SEmmanuel Vadot            <0xf1208000 0x4000>,
695def4c47SEmmanuel Vadot            <0xf1204000 0x100>,
705def4c47SEmmanuel Vadot            <0xf1204100 0x100>;
715def4c47SEmmanuel Vadot      reg-names = "hub", "core0", "bridge", "gca";
725def4c47SEmmanuel Vadot      interrupts = <0 78 4>,
735def4c47SEmmanuel Vadot                   <0 77 4>;
745def4c47SEmmanuel Vadot    };
755def4c47SEmmanuel Vadot
765def4c47SEmmanuel Vadot...
77