Path: blob/master/Documentation/devicetree/bindings/gpu/apple,agx.yaml
26307 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- items:19- enum:20- apple,agx-g13c21- apple,agx-g13d22- const: apple,agx-g13s2324reg:25items:26- description: GPU coprocessor control registers27- description: GPU block MMIO registers2829reg-names:30items:31- const: asc32- const: sgx3334power-domains:35maxItems: 13637mboxes:38maxItems: 13940memory-region:41items:42- description: Region containing GPU MMU TTBs43- description: Region containing GPU MMU page tables44- description:45Region containing a shared handoff structure for VM46management coordination47- description: Calibration blob. Mostly power-related configuration48- description: Calibration blob. Mostly GPU-related configuration49- description: Shared global variables with GPU firmware5051memory-region-names:52items:53- const: ttbs54- const: pagetables55- const: handoff56- const: hw-cal-a57- const: hw-cal-b58- const: globals5960apple,firmware-abi:61$ref: /schemas/types.yaml#/definitions/uint32-array62minItems: 363description:64macOS version the current firmware is paired with, used to pick65the version of firmware ABI to be used.66Bootloader will overwrite this6768required:69- compatible70- reg71- mboxes72- memory-region73- apple,firmware-abi7475additionalProperties: false7677examples:78- |79gpu@6400000 {80compatible = "apple,agx-g13g";81reg = <0x6400000 0x40000>,82<0x4000000 0x1000000>;83reg-names = "asc", "sgx";84mboxes = <&agx_mbox>;85power-domains = <&ps_gfx>;86memory-region = <&uat_ttbs>, <&uat_pagetables>, <&uat_handoff>,87<&gpu_hw_cal_a>, <&gpu_hw_cal_b>, <&gpu_globals>;88memory-region-names = "ttbs", "pagetables", "handoff",89"hw-cal-a", "hw-cal-b", "globals";9091apple,firmware-abi = <0 0 0>;92};93...949596