Imagination Technologies PowerVR SGX GPUs
Schema identifier ($id): "http://devicetree.org/schemas/gpu/img,powervr-sgx.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Frank Binns <frank.binns@imgtec.com>"
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Item 2
Exact value (
const):"img,powervr-sgx530"
Rule 2
Array item rules (
items)Item 1
Allowed values (
enum):"ingenic,jz4780-gpu","ti,omap4430-gpu"Item 2
Exact value (
const):"img,powervr-sgx540"
Rule 3
Array item rules (
items)Item 1
Allowed values (
enum):"allwinner,sun6i-a31-gpu","ti,omap4470-gpu","ti,omap5432-gpu","ti,am5728-gpu","ti,am6548-gpu"Item 2
Exact value (
const):"img,powervr-sgx544"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 3
clock-names — not listed as required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Exact value (
const):"core"
Item 2
Exact value (
const):"mem"
Item 3
Exact value (
const):"sys"
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "interrupts"
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"ti,am6548-gpu"When the condition matches (
then) #When the condition does not match (
else) #Properties and child nodes (
properties)
power-domains— not listed as required here
false— Not permitted by this property rule.
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"allwinner,sun6i-a31-gpu","ingenic,jz4780-gpu"When the condition matches (
then) #When the condition does not match (
else) #Properties and child nodes (
properties)
clocks— not listed as required here
false— Not permitted by this property rule.
clock-names— not listed as required here
false— Not permitted by this property rule.
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"allwinner,sun6i-a31-gpu"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMinimum number of items (
minItems):2Maximum number of items (
maxItems):2
clock-names— not listed as required hereMinimum number of items (
minItems):2Maximum number of items (
maxItems):2
Rule 4 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"ingenic,jz4780-gpu"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMaximum number of items (
maxItems):1
clock-names— not listed as required hereMaximum number of items (
maxItems):1
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/soc/ti,sci_pm_domain.h>
gpu@7000000 {
compatible = "ti,am6548-gpu", "img,powervr-sgx544";
reg = <0x7000000 0x10000>;
interrupts = <GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>;
power-domains = <&k3_pds 65 TI_SCI_PD_EXCLUSIVE>;
};
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
gpu: gpu@1c40000 {
compatible = "allwinner,sun6i-a31-gpu", "img,powervr-sgx544";
reg = <0x01c40000 0x10000>;
interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&ccu 1>, <&ccu 2>;
clock-names = "core", "mem";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 2: Copyright (c) 2023 Imagination Technologies Ltd.
Line 3: Copyright (C) 2024 Texas Instruments Incorporated - https://www.ti.com/
Line 19: Rev 121
Line 20: Rev 125
Line 24: Rev 130
Line 25: Rev 120
Line 29: MP2 Rev 115
Line 30: MP1 Rev 112
Line 31: MP2 Rev 105
Line 32: MP2 Rev 116
Line 33: MP1 Rev 117