xref: /freebsd/sys/contrib/device-tree/Bindings/gpu/brcm,bcm-v3d.yaml (revision b97ee269eae3cbaf35c18f51a459aea581c2a7dc)
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
75def4c47SEmmanuel Vadottitle: Broadcom V3D GPU Bindings
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:
19*b97ee269SEmmanuel Vadot      - brcm,2711-v3d
205def4c47SEmmanuel Vadot      - brcm,7268-v3d
215def4c47SEmmanuel Vadot      - brcm,7278-v3d
225def4c47SEmmanuel Vadot
235def4c47SEmmanuel Vadot  reg:
245def4c47SEmmanuel Vadot    items:
255def4c47SEmmanuel Vadot      - description: hub register (required)
265def4c47SEmmanuel Vadot      - description: core0 register (required)
275def4c47SEmmanuel Vadot      - description: GCA cache controller register (if GCA controller present)
285def4c47SEmmanuel Vadot      - description: bridge register (if no external reset controller)
295def4c47SEmmanuel Vadot    minItems: 2
305def4c47SEmmanuel Vadot
315def4c47SEmmanuel Vadot  reg-names:
325def4c47SEmmanuel Vadot    items:
335def4c47SEmmanuel Vadot      - const: hub
345def4c47SEmmanuel Vadot      - const: core0
355def4c47SEmmanuel Vadot      - enum: [ bridge, gca ]
365def4c47SEmmanuel Vadot      - enum: [ bridge, gca ]
375def4c47SEmmanuel Vadot    minItems: 2
385def4c47SEmmanuel Vadot
395def4c47SEmmanuel Vadot  interrupts:
405def4c47SEmmanuel Vadot    items:
415def4c47SEmmanuel Vadot      - description: hub interrupt (required)
425def4c47SEmmanuel Vadot      - description: core interrupts (if it doesn't share the hub's interrupt)
435def4c47SEmmanuel Vadot    minItems: 1
445def4c47SEmmanuel Vadot
455def4c47SEmmanuel Vadot  clocks:
465def4c47SEmmanuel Vadot    maxItems: 1
475def4c47SEmmanuel Vadot
485def4c47SEmmanuel Vadot  resets:
495def4c47SEmmanuel Vadot    maxItems: 1
505def4c47SEmmanuel Vadot
515def4c47SEmmanuel Vadot  power-domains:
525def4c47SEmmanuel Vadot    maxItems: 1
535def4c47SEmmanuel Vadot
545def4c47SEmmanuel Vadotrequired:
555def4c47SEmmanuel Vadot  - compatible
565def4c47SEmmanuel Vadot  - reg
575def4c47SEmmanuel Vadot  - reg-names
585def4c47SEmmanuel Vadot  - interrupts
595def4c47SEmmanuel Vadot
605def4c47SEmmanuel VadotadditionalProperties: false
615def4c47SEmmanuel Vadot
625def4c47SEmmanuel Vadotexamples:
635def4c47SEmmanuel Vadot  - |
645def4c47SEmmanuel Vadot    gpu@f1200000 {
655def4c47SEmmanuel Vadot      compatible = "brcm,7268-v3d";
665def4c47SEmmanuel Vadot      reg = <0xf1200000 0x4000>,
675def4c47SEmmanuel Vadot            <0xf1208000 0x4000>,
685def4c47SEmmanuel Vadot            <0xf1204000 0x100>,
695def4c47SEmmanuel Vadot            <0xf1204100 0x100>;
705def4c47SEmmanuel Vadot      reg-names = "hub", "core0", "bridge", "gca";
715def4c47SEmmanuel Vadot      interrupts = <0 78 4>,
725def4c47SEmmanuel Vadot                   <0 77 4>;
735def4c47SEmmanuel Vadot    };
745def4c47SEmmanuel Vadot
755def4c47SEmmanuel Vadot...
76