NVIDIA Tegra Graphics Processing Units

Schema identifier ($id): "http://devicetree.org/schemas/gpu/nvidia,gk20a.yaml#"

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

Maintainers (maintainers): "Alexandre Courbot <acourbot@nvidia.com>", "Jon Hunter <jonathanh@nvidia.com>", "Thierry Reding <treding@nvidia.com>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "nvidia,gk20a", "nvidia,gm20b", "nvidia,gp10b", "nvidia,gv11b"

reg — required here #

Array item rules (items) #

Item 1

Bar0 register window

Item 2

Bar1 register window

interrupts — required here #

Array item rules (items) #

Item 1

Stall interrupt

Item 2

Nonstall interrupt

interrupt-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "stall"

Item 2

Exact value (const): "nonstall"

vdd-supply — not listed as required here #

Regulator for GPU supply voltage

clocks — required here #

Minimum number of items (minItems): 2

Array item rules (items) #

Item 1

GPU clock

Item 2

Power clock

Item 3

Reference or fuse clock

clock-names — required here #

Minimum number of items (minItems): 2

Array item rules (items) #

Item 1

Exact value (const): "gpu"

Item 2

Exact value (const): "pwr"

Item 3

Allowed values (enum): "ref", "fuse"

resets — required here #

Maximum number of items (maxItems): 1

reset-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "gpu"

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

interconnects — not listed as required here #

Minimum number of items (minItems): 4

Maximum number of items (maxItems): 12

interconnect-names — not listed as required here #

Minimum number of items (minItems): 4

Maximum number of items (maxItems): 12

iommus — not listed as required here #

Maximum number of items (maxItems): 1

dma-coherent — not listed as required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "reg", "interrupts", "interrupt-names", "clocks", "clock-names", "resets", "reset-names"

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)

Allowed values (enum): "nvidia,gp10b", "nvidia,gv11b"

When the condition matches (then) #

Required in this object (required): "power-domains"

When the condition does not match (else) #

Properties and child nodes (properties)

interconnects — not listed as required here

false — Not permitted by this property rule.

interconnect-names — not listed as required here

false — Not permitted by this property rule.

Required in this object (required): "vdd-supply"

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "nvidia,gp10b"

When the condition matches (then) #

Properties and child nodes (properties)

interconnects — not listed as required here

Maximum number of items (maxItems): 4

interconnect-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "dma-mem"

Item 2

Exact value (const): "write-0"

Item 3

Exact value (const): "read-1"

Item 4

Exact value (const): "write-1"

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "nvidia,gv11b"

When the condition matches (then) #

Properties and child nodes (properties)

interconnects — not listed as required here

Minimum number of items (minItems): 12

interconnect-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "dma-mem"

Item 2

Exact value (const): "read-0-hp"

Item 3

Exact value (const): "write-0"

Item 4

Exact value (const): "read-1"

Item 5

Exact value (const): "read-1-hp"

Item 6

Exact value (const): "write-1"

Item 7

Exact value (const): "read-2"

Item 8

Exact value (const): "read-2-hp"

Item 9

Exact value (const): "write-2"

Item 10

Exact value (const): "read-3"

Item 11

Exact value (const): "read-3-hp"

Item 12

Exact value (const): "write-3"

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/tegra124-car-common.h>
#include <dt-bindings/memory/tegra124-mc.h>

gpu@57000000 {
    compatible = "nvidia,gk20a";
    reg = <0x57000000 0x01000000>,
          <0x58000000 0x01000000>;
    interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>;
    interrupt-names = "stall", "nonstall";
    vdd-supply = <&vdd_gpu>;
    clocks = <&tegra_car TEGRA124_CLK_GPU>,
             <&tegra_car TEGRA124_CLK_PLL_P_OUT5>;
    clock-names = "gpu", "pwr";
    resets = <&tegra_car 184>;
    reset-names = "gpu";
    iommus = <&mc TEGRA_SWGROUP_GPU>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page