Path: blob/master/Documentation/devicetree/bindings/gpu/img,powervr-rogue.yaml
29282 views
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)1# Copyright (c) 2023 Imagination Technologies Ltd.2%YAML 1.23---4$id: http://devicetree.org/schemas/gpu/img,powervr-rogue.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#67title: Imagination Technologies PowerVR and IMG Rogue GPUs89maintainers:10- Frank Binns <frank.binns@imgtec.com>1112properties:13compatible:14oneOf:15- items:16- enum:17- ti,am62-gpu18- const: img,img-axe-1-16m19# This deprecated element must be kept around to allow old kernels to20# work with newer dts.21- const: img,img-axe22- const: img,img-rogue23- items:24- enum:25- thead,th1520-gpu26- const: img,img-bxm-4-6427- const: img,img-rogue28- items:29- enum:30- ti,j721s2-gpu31- const: img,img-bxs-4-6432- const: img,img-rogue3334# This legacy combination of compatible strings was introduced early on35# before the more specific GPU identifiers were used.36- items:37- enum:38- ti,am62-gpu39- const: img,img-axe40deprecated: true4142reg:43maxItems: 14445clocks:46minItems: 147maxItems: 34849clock-names:50items:51- const: core52- const: mem53- const: sys54minItems: 15556interrupts:57maxItems: 15859power-domains:60minItems: 161maxItems: 26263power-domain-names:64items:65- const: a66- const: b67minItems: 16869dma-coherent: true7071resets:72maxItems: 17374required:75- compatible76- reg77- clocks78- clock-names79- interrupts8081additionalProperties: false8283allOf:84- if:85properties:86compatible:87contains:88const: img,img-axe-1-16m89then:90properties:91power-domains:92items:93- description: Power domain A94power-domain-names:95maxItems: 196required:97- power-domains98- power-domain-names99100- if:101properties:102compatible:103contains:104const: thead,th1520-gpu105then:106properties:107clocks:108minItems: 3109clock-names:110minItems: 3111power-domains:112items:113- description: The single, unified power domain for the GPU on the114TH1520 SoC, integrating all internal IP power domains.115power-domain-names: false116required:117- power-domains118119- if:120properties:121compatible:122contains:123const: img,img-bxs-4-64124then:125properties:126power-domains:127items:128- description: Power domain A129- description: Power domain B130power-domain-names:131minItems: 2132required:133- power-domains134- power-domain-names135136- if:137properties:138compatible:139contains:140enum:141- ti,am62-gpu142- ti,j721s2-gpu143then:144properties:145clocks:146maxItems: 1147148examples:149- |150#include <dt-bindings/interrupt-controller/irq.h>151#include <dt-bindings/interrupt-controller/arm-gic.h>152#include <dt-bindings/soc/ti,sci_pm_domain.h>153154gpu@fd00000 {155compatible = "ti,am62-gpu", "img,img-axe-1-16m", "img,img-axe",156"img,img-rogue";157reg = <0x0fd00000 0x20000>;158clocks = <&k3_clks 187 0>;159clock-names = "core";160interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;161power-domains = <&k3_pds 187 TI_SCI_PD_EXCLUSIVE>;162power-domain-names = "a";163};164165166