Broadcom V3D GPU

Schema identifier ($id): "http://devicetree.org/schemas/gpu/brcm,bcm-v3d.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Maíra Canal <mcanal@igalia.com>", "Nicolas Saenz Julienne <nsaenzjulienne@suse.de>"

Properties and child nodes (properties) #

$nodename — not listed as required here #

String pattern (pattern): "^gpu@[a-f0-9]+$"

compatible — required here #

Allowed values (enum): "brcm,2711-v3d", "brcm,2712-v3d", "brcm,7268-v3d", "brcm,7278-v3d"

reg — required here #

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 4

reg-names — required here #

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 4

interrupts — required here #

Array item rules (items) #

Item 1

hub interrupt (required)

Item 2

core interrupts (if it doesn't share the hub's interrupt)

Minimum number of items (minItems): 1

clocks — not listed as required here #

Maximum number of items (maxItems): 1

resets — not listed as required here #

Maximum number of items (maxItems): 1

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg", "reg-names", "interrupts"

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "brcm,2711-v3d"

When the condition matches (then) #

Properties and child nodes (properties)

reg — not listed as required here

Array item rules (items)

Item 1

hub register

Item 2

core0 register

reg-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "hub"

Item 2

Exact value (const): "core0"

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "brcm,2712-v3d"

When the condition matches (then) #

Properties and child nodes (properties)

reg — not listed as required here

Array item rules (items)

Item 1

hub register

Item 2

core0 register

Item 3

SMS state manager register

reg-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "hub"

Item 2

Exact value (const): "core0"

Item 3

Exact value (const): "sms"

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "brcm,7268-v3d"

When the condition matches (then) #

Properties and child nodes (properties)

reg — not listed as required here

Array item rules (items)

Item 1

hub register

Item 2

core0 register

Item 3

GCA cache controller register

Item 4

bridge register

reg-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "hub"

Item 2

Exact value (const): "core0"

Item 3

Exact value (const): "gca"

Item 4

Exact value (const): "bridge"

Rule 4 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "brcm,7278-v3d"

When the condition matches (then) #

Properties and child nodes (properties)

reg — not listed as required here

Array item rules (items)

Item 1

hub register

Item 2

core0 register

Item 3

bridge register

reg-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "hub"

Item 2

Exact value (const): "core0"

Item 3

Exact value (const): "bridge"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

gpu@f1200000 {
  compatible = "brcm,7268-v3d";
  reg = <0xf1200000 0x4000>,
        <0xf1208000 0x4000>,
        <0xf1204100 0x100>,
        <0xf1204000 0x100>;
  reg-names = "hub", "core0", "gca", "bridge";
  interrupts = <0 78 4>,
               <0 77 4>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page