Lines Matching +full:rk3588 +full:- +full:cru
1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/gpu/arm,mali-valhall-csf.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Liviu Dudau <liviu.dudau@arm.com>
11 - Boris Brezillon <boris.brezillon@collabora.com>
15 pattern: '^gpu@[a-f0-9]+$'
19 - items:
20 - enum:
21 - rockchip,rk3588-mali
22 - const: arm,mali-valhall-csf # Mali Valhall GPU model/revision is fully discoverable
29 - description: Job interrupt
30 - description: MMU interrupt
31 - description: GPU interrupt
33 interrupt-names:
35 - const: job
36 - const: mmu
37 - const: gpu
43 clock-names:
46 - const: core
47 - const: coregroup
48 - const: stacks
50 mali-supply: true
52 operating-points-v2: true
53 opp-table:
56 power-domains:
60 power-domain-names:
64 sram-supply: true
66 "#cooling-cells":
69 dynamic-power-coefficient:
80 calculate the dynamic power as below -
82 Pdyn = dynamic-power-coefficient * V^2 * f
86 dma-coherent: true
89 - compatible
90 - reg
91 - interrupts
92 - interrupt-names
93 - clocks
94 - mali-supply
99 - if:
103 const: rockchip,rk3588-mali
108 power-domains:
110 power-domain-names: false
113 - |
114 #include <dt-bindings/clock/rockchip,rk3588-cru.h>
115 #include <dt-bindings/interrupt-controller/irq.h>
116 #include <dt-bindings/interrupt-controller/arm-gic.h>
117 #include <dt-bindings/power/rk3588-power.h>
120 compatible = "rockchip,rk3588-mali", "arm,mali-valhall-csf";
125 interrupt-names = "job", "mmu", "gpu";
126 clock-names = "core", "coregroup", "stacks";
127 clocks = <&cru CLK_GPU>, <&cru CLK_GPU_COREGROUP>,
128 <&cru CLK_GPU_STACKS>;
129 power-domains = <&power RK3588_PD_GPU>;
130 operating-points-v2 = <&gpu_opp_table>;
131 mali-supply = <&vdd_gpu_s0>;
132 sram-supply = <&vdd_gpu_mem_s0>;
134 gpu_opp_table: opp-table {
135 compatible = "operating-points-v2";
136 opp-300000000 {
137 opp-hz = /bits/ 64 <300000000>;
138 opp-microvolt = <675000 675000 850000>;
140 opp-400000000 {
141 opp-hz = /bits/ 64 <400000000>;
142 opp-microvolt = <675000 675000 850000>;