77 lines · yaml
1# SPDX-License-Identifier: GPL-2.02%YAML 1.23---4$id: http://devicetree.org/schemas/gpu/vivante,gc.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Vivante GPU8 9description: Vivante GPU core devices10 11maintainers:12 - Lucas Stach <l.stach@pengutronix.de>13 14properties:15 compatible:16 const: vivante,gc17 18 reg:19 maxItems: 120 21 interrupts:22 maxItems: 123 24 '#cooling-cells':25 const: 226 27 assigned-clock-parents: true28 assigned-clock-rates: true29 assigned-clocks: true30 31 clocks:32 items:33 - description: AXI/master interface clock34 - description: GPU core clock35 - description: Shader clock (only required if GPU has feature PIPE_3D)36 - description: AHB/slave interface clock (only required if GPU can gate37 slave interface independently)38 minItems: 139 40 clock-names:41 items:42 enum: [ bus, core, shader, reg ]43 minItems: 144 maxItems: 445 46 resets:47 maxItems: 148 49 power-domains:50 maxItems: 151 52required:53 - compatible54 - reg55 - interrupts56 - clocks57 - clock-names58 59additionalProperties: false60 61examples:62 - |63 #include <dt-bindings/clock/imx6qdl-clock.h>64 #include <dt-bindings/interrupt-controller/arm-gic.h>65 gpu@130000 {66 compatible = "vivante,gc";67 reg = <0x00130000 0x4000>;68 interrupts = <0 9 IRQ_TYPE_LEVEL_HIGH>;69 clocks = <&clks IMX6QDL_CLK_GPU3D_AXI>,70 <&clks IMX6QDL_CLK_GPU3D_CORE>,71 <&clks IMX6QDL_CLK_GPU3D_SHADER>;72 clock-names = "bus", "core", "shader";73 power-domains = <&gpc 1>;74 };75 76...77