Path: blob/master/Documentation/devicetree/bindings/gpu/img,powervr-sgx.yaml
26307 views
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)1# Copyright (c) 2023 Imagination Technologies Ltd.2# Copyright (C) 2024 Texas Instruments Incorporated - https://www.ti.com/3%YAML 1.24---5$id: http://devicetree.org/schemas/gpu/img,powervr-sgx.yaml#6$schema: http://devicetree.org/meta-schemas/core.yaml#78title: Imagination Technologies PowerVR SGX GPUs910maintainers:11- Frank Binns <frank.binns@imgtec.com>1213properties:14compatible:15oneOf:16- items:17- enum:18- ti,omap3430-gpu # Rev 12119- ti,omap3630-gpu # Rev 12520- const: img,powervr-sgx53021- items:22- enum:23- ingenic,jz4780-gpu # Rev 13024- ti,omap4430-gpu # Rev 12025- const: img,powervr-sgx54026- items:27- enum:28- allwinner,sun6i-a31-gpu # MP2 Rev 11529- ti,omap4470-gpu # MP1 Rev 11230- ti,omap5432-gpu # MP2 Rev 10531- ti,am5728-gpu # MP2 Rev 11632- ti,am6548-gpu # MP1 Rev 11733- const: img,powervr-sgx5443435reg:36maxItems: 13738interrupts:39maxItems: 14041clocks:42minItems: 143maxItems: 34445clock-names:46minItems: 147items:48- const: core49- const: mem50- const: sys5152power-domains:53maxItems: 15455required:56- compatible57- reg58- interrupts5960allOf:61- if:62properties:63compatible:64contains:65const: ti,am6548-gpu66then:67required:68- power-domains69else:70properties:71power-domains: false72- if:73properties:74compatible:75contains:76enum:77- allwinner,sun6i-a31-gpu78- ingenic,jz4780-gpu79then:80required:81- clocks82- clock-names83else:84properties:85clocks: false86clock-names: false87- if:88properties:89compatible:90contains:91const: allwinner,sun6i-a31-gpu92then:93properties:94clocks:95minItems: 296maxItems: 297clock-names:98minItems: 299maxItems: 2100- if:101properties:102compatible:103contains:104const: ingenic,jz4780-gpu105then:106properties:107clocks:108maxItems: 1109clock-names:110maxItems: 1111112additionalProperties: false113114examples:115- |116#include <dt-bindings/interrupt-controller/irq.h>117#include <dt-bindings/interrupt-controller/arm-gic.h>118#include <dt-bindings/soc/ti,sci_pm_domain.h>119120gpu@7000000 {121compatible = "ti,am6548-gpu", "img,powervr-sgx544";122reg = <0x7000000 0x10000>;123interrupts = <GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>;124power-domains = <&k3_pds 65 TI_SCI_PD_EXCLUSIVE>;125};126127- |128#include <dt-bindings/interrupt-controller/irq.h>129#include <dt-bindings/interrupt-controller/arm-gic.h>130131gpu: gpu@1c40000 {132compatible = "allwinner,sun6i-a31-gpu", "img,powervr-sgx544";133reg = <0x01c40000 0x10000>;134interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;135clocks = <&ccu 1>, <&ccu 2>;136clock-names = "core", "mem";137};138139140