1 # SPDX-License-Identifier: GPL-2.0 1 # SPDX-License-Identifier: GPL-2.0 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/gpu/vivante 4 $id: http://devicetree.org/schemas/gpu/vivante,gc.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Vivante GPU !! 7 title: Vivante GPU Bindings 8 8 9 description: Vivante GPU core devices 9 description: Vivante GPU core devices 10 10 11 maintainers: 11 maintainers: 12 - Lucas Stach <l.stach@pengutronix.de> 12 - Lucas Stach <l.stach@pengutronix.de> 13 13 14 properties: 14 properties: 15 compatible: 15 compatible: 16 const: vivante,gc 16 const: vivante,gc 17 17 18 reg: 18 reg: 19 maxItems: 1 19 maxItems: 1 20 20 21 interrupts: 21 interrupts: 22 maxItems: 1 22 maxItems: 1 23 23 24 '#cooling-cells': << 25 const: 2 << 26 << 27 assigned-clock-parents: true << 28 assigned-clock-rates: true << 29 assigned-clocks: true << 30 << 31 clocks: 24 clocks: 32 items: 25 items: 33 - description: AXI/master interface cloc 26 - description: AXI/master interface clock 34 - description: GPU core clock 27 - description: GPU core clock 35 - description: Shader clock (only requir 28 - description: Shader clock (only required if GPU has feature PIPE_3D) 36 - description: AHB/slave interface clock !! 29 - description: AHB/slave interface clock (only required if GPU can gate 37 slave interface independently) 30 slave interface independently) 38 minItems: 1 31 minItems: 1 >> 32 maxItems: 4 39 33 40 clock-names: 34 clock-names: 41 items: 35 items: 42 enum: [ bus, core, shader, reg ] 36 enum: [ bus, core, shader, reg ] 43 minItems: 1 37 minItems: 1 44 maxItems: 4 38 maxItems: 4 45 39 46 resets: 40 resets: 47 maxItems: 1 41 maxItems: 1 48 42 49 power-domains: 43 power-domains: 50 maxItems: 1 44 maxItems: 1 51 45 52 required: 46 required: 53 - compatible 47 - compatible 54 - reg 48 - reg 55 - interrupts 49 - interrupts 56 - clocks 50 - clocks 57 - clock-names 51 - clock-names 58 52 59 additionalProperties: false 53 additionalProperties: false 60 54 61 examples: 55 examples: 62 - | 56 - | 63 #include <dt-bindings/clock/imx6qdl-clock. 57 #include <dt-bindings/clock/imx6qdl-clock.h> 64 #include <dt-bindings/interrupt-controller 58 #include <dt-bindings/interrupt-controller/arm-gic.h> 65 gpu@130000 { 59 gpu@130000 { 66 compatible = "vivante,gc"; 60 compatible = "vivante,gc"; 67 reg = <0x00130000 0x4000>; 61 reg = <0x00130000 0x4000>; 68 interrupts = <0 9 IRQ_TYPE_LEVEL_HIGH>; 62 interrupts = <0 9 IRQ_TYPE_LEVEL_HIGH>; 69 clocks = <&clks IMX6QDL_CLK_GPU3D_AXI>, 63 clocks = <&clks IMX6QDL_CLK_GPU3D_AXI>, 70 <&clks IMX6QDL_CLK_GPU3D_CORE>, 64 <&clks IMX6QDL_CLK_GPU3D_CORE>, 71 <&clks IMX6QDL_CLK_GPU3D_SHADER 65 <&clks IMX6QDL_CLK_GPU3D_SHADER>; 72 clock-names = "bus", "core", "shader"; 66 clock-names = "bus", "core", "shader"; 73 power-domains = <&gpc 1>; 67 power-domains = <&gpc 1>; 74 }; 68 }; 75 69 76 ... 70 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.