Path: blob/master/Documentation/devicetree/bindings/gpu/apple,agx.yaml
29282 views
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)1%YAML 1.22---3$id: http://devicetree.org/schemas/gpu/apple,agx.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: Apple SoC GPU78maintainers:9- Sasha Finkelstein <fnkl.kernel@gmail.com>1011properties:12compatible:13oneOf:14- enum:15- apple,agx-g13g16- apple,agx-g13s17- apple,agx-g14g18- apple,agx-g14s19- items:20- enum:21- apple,agx-g13c22- apple,agx-g13d23- const: apple,agx-g13s24- items:25- enum:26- apple,agx-g14c27- apple,agx-g14d28- const: apple,agx-g14s2930reg:31items:32- description: GPU coprocessor control registers33- description: GPU block MMIO registers3435reg-names:36items:37- const: asc38- const: sgx3940power-domains:41maxItems: 14243mboxes:44maxItems: 14546memory-region:47items:48- description: Region containing GPU MMU TTBs49- description: Region containing GPU MMU page tables50- description:51Region containing a shared handoff structure for VM52management coordination53- description: Calibration blob. Mostly power-related configuration54- description: Calibration blob. Mostly GPU-related configuration55- description: Shared global variables with GPU firmware5657memory-region-names:58items:59- const: ttbs60- const: pagetables61- const: handoff62- const: hw-cal-a63- const: hw-cal-b64- const: globals6566apple,firmware-abi:67$ref: /schemas/types.yaml#/definitions/uint32-array68minItems: 369description:70macOS version the current firmware is paired with, used to pick71the version of firmware ABI to be used.72Bootloader will overwrite this7374required:75- compatible76- reg77- mboxes78- memory-region79- apple,firmware-abi8081additionalProperties: false8283examples:84- |85gpu@6400000 {86compatible = "apple,agx-g13g";87reg = <0x6400000 0x40000>,88<0x4000000 0x1000000>;89reg-names = "asc", "sgx";90mboxes = <&agx_mbox>;91power-domains = <&ps_gfx>;92memory-region = <&uat_ttbs>, <&uat_pagetables>, <&uat_handoff>,93<&gpu_hw_cal_a>, <&gpu_hw_cal_b>, <&gpu_globals>;94memory-region-names = "ttbs", "pagetables", "handoff",95"hw-cal-a", "hw-cal-b", "globals";9697apple,firmware-abi = <0 0 0>;98};99...100101102