Path: blob/master/Documentation/devicetree/bindings/gpu/img,powervr-rogue.yaml
26307 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- ti,j721s2-gpu26- const: img,img-bxs-4-6427- const: img,img-rogue2829# This legacy combination of compatible strings was introduced early on30# before the more specific GPU identifiers were used.31- items:32- enum:33- ti,am62-gpu34- const: img,img-axe35deprecated: true3637reg:38maxItems: 13940clocks:41minItems: 142maxItems: 34344clock-names:45items:46- const: core47- const: mem48- const: sys49minItems: 15051interrupts:52maxItems: 15354power-domains:55minItems: 156maxItems: 25758power-domain-names:59items:60- const: a61- const: b62minItems: 16364dma-coherent: true6566resets:67maxItems: 16869required:70- compatible71- reg72- clocks73- clock-names74- interrupts7576additionalProperties: false7778allOf:79# Constraints added alongside the new compatible strings that would otherwise80# create an ABI break.81- if:82properties:83compatible:84contains:85const: img,img-rogue86then:87required:88- power-domains89- power-domain-names9091- if:92properties:93compatible:94contains:95const: img,img-axe-1-16m96then:97properties:98power-domains:99maxItems: 1100power-domain-names:101maxItems: 1102103- if:104properties:105compatible:106contains:107const: img,img-bxs-4-64108then:109properties:110power-domains:111minItems: 2112power-domain-names:113minItems: 2114115- if:116properties:117compatible:118contains:119enum:120- ti,am62-gpu121- ti,j721s2-gpu122then:123properties:124clocks:125maxItems: 1126127examples:128- |129#include <dt-bindings/interrupt-controller/irq.h>130#include <dt-bindings/interrupt-controller/arm-gic.h>131#include <dt-bindings/soc/ti,sci_pm_domain.h>132133gpu@fd00000 {134compatible = "ti,am62-gpu", "img,img-axe-1-16m", "img,img-axe",135"img,img-rogue";136reg = <0x0fd00000 0x20000>;137clocks = <&k3_clks 187 0>;138clock-names = "core";139interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;140power-domains = <&k3_pds 187 TI_SCI_PD_EXCLUSIVE>;141power-domain-names = "a";142};143144145