ARM Mali Utgard GPU

Schema identifier ($id): "http://devicetree.org/schemas/gpu/arm,mali-utgard.yaml#"

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

Maintainers (maintainers): "Rob Herring <robh@kernel.org>", "Maxime Ripard <mripard@kernel.org>", "Heiko Stuebner <heiko@sntech.de>"

Properties and child nodes (properties) #

$nodename — not listed as required here #

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

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Exact value (const): "allwinner,sun8i-a23-mali"

Item 2

Exact value (const): "allwinner,sun7i-a20-mali"

Item 3

Exact value (const): "arm,mali-400"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "allwinner,sun4i-a10-mali", "allwinner,sun7i-a20-mali", "allwinner,sun8i-h3-mali", "allwinner,sun8i-r40-mali", "allwinner,sun50i-a64-mali", "rockchip,rk3036-mali", "rockchip,rk3066-mali", "rockchip,rk3128-mali", "rockchip,rk3188-mali", "rockchip,rk3228-mali", "samsung,exynos4210-mali", "st,stih410-mali", "stericsson,db8500-mali", "xlnx,zynqmp-mali"

Item 2

Exact value (const): "arm,mali-400"

Rule 3

Array item rules (items)

Item 1

Allowed values (enum): "allwinner,sun50i-h5-mali", "amlogic,meson8-mali", "amlogic,meson8b-mali", "amlogic,meson-gxbb-mali", "amlogic,meson-gxl-mali", "hisilicon,hi6220-mali", "mediatek,mt7623-mali", "rockchip,rk3328-mali", "rockchip,rk3528-mali"

Item 2

Exact value (const): "arm,mali-450"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Minimum number of items (minItems): 4

Maximum number of items (maxItems): 20

interrupt-names — required here #

All of these rules must match (allOf) #

Rule 1

Array items beyond the listed positions (additionalItems)

true

Allowed by this rule.

Minimum number of items (minItems): 4

Maximum number of items (maxItems): 20

Array item rules (items)

Item 1

Exact value (const): "gp"

Item 2

Exact value (const): "gpmmu"

Rule 2

Array item rules (items)

Allowed values (enum): "gp", "gpmmu", "pp", "pp0", "ppmmu0", "pp1", "ppmmu1", "pp2", "ppmmu2", "pp3", "ppmmu3", "pp4", "ppmmu4", "pp5", "ppmmu5", "pp6", "ppmmu6", "pp7", "ppmmu7", "pmu", "combined"

clocks — required here #

Maximum number of items (maxItems): 2

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "bus"

Item 2

Exact value (const): "core"

memory-region — not listed as required here #

true — No constraints added by this property rule.

mali-supply — not listed as required here #

true — No constraints added by this property rule.

opp-table — not listed as required here #

Value type (type): "object"

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

resets — not listed as required here #

Maximum number of items (maxItems): 1

operating-points-v2 — not listed as required here #

true — No constraints added by this property rule.

#cooling-cells — not listed as required here #

Exact value (const): 2

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

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

false

Not allowed by this rule.

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): "allwinner,sun4i-a10-mali", "allwinner,sun7i-a20-mali", "allwinner,sun8i-r40-mali", "allwinner,sun50i-a64-mali", "allwinner,sun50i-h5-mali", "amlogic,meson8-mali", "amlogic,meson8b-mali", "hisilicon,hi6220-mali", "mediatek,mt7623-mali", "rockchip,rk3036-mali", "rockchip,rk3066-mali", "rockchip,rk3188-mali", "rockchip,rk3228-mali", "rockchip,rk3328-mali", "rockchip,rk3528-mali"

When the condition matches (then) #

Required in this object (required): "resets"

Examples (examples) #

#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>

mali: gpu@1c40000 {
  compatible = "allwinner,sun7i-a20-mali", "arm,mali-400";
  reg = <0x01c40000 0x10000>;
  interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>,
         <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>,
         <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>,
         <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>,
         <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>,
         <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>,
         <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
  interrupt-names = "gp",
        "gpmmu",
        "pp0",
        "ppmmu0",
        "pp1",
        "ppmmu1",
        "pmu";
  clocks = <&ccu 1>, <&ccu 2>;
  clock-names = "bus", "core";
  resets = <&ccu 1>;
  #cooling-cells = <2>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only

Line 53: "arm,mali-300"

Line 68: At least enforce the first 2 interrupts

Line 72: Not ideal as any order and combination are allowed

Line 74: Geometry Processor interrupt

Line 75: Geometry Processor MMU interrupt

Line 76: Pixel Processor broadcast interrupt (mali-450 only)

Line 77: Pixel Processor X interrupt (X from 0 to 7)

Line 78: Pixel Processor X MMU interrupt (X from 0 to 7)

Line 93: Power Management Unit interrupt (optional)

Line 94: stericsson,db8500-mali only

Edit this page