Skip to content

Commit e0ac3c2

Browse files
committed
arm64: dts: rockchip: Add panthor gpu node to rk3588
1 parent d087dd6 commit e0ac3c2

File tree

1 file changed

+56
-0
lines changed

1 file changed

+56
-0
lines changed

arch/arm64/boot/dts/rockchip/rk3588s.dtsi

+56
Original file line numberDiff line numberDiff line change
@@ -2381,6 +2381,62 @@
23812381
status = "disabled";
23822382
};
23832383

2384+
gpu_panthor: gpu-panthor@fb000000 {
2385+
compatible = "rockchip,rk3588-mali", "arm,mali-valhall-csf";
2386+
reg = <0x0 0xfb000000 0x0 0x200000>;
2387+
#cooling-cells = <2>;
2388+
assigned-clocks = <&scmi_clk SCMI_CLK_GPU>;
2389+
assigned-clock-rates = <200000000>;
2390+
clocks = <&cru CLK_GPU>, <&cru CLK_GPU_COREGROUP>,
2391+
<&cru CLK_GPU_STACKS>;
2392+
clock-names = "core", "coregroup", "stacks";
2393+
dynamic-power-coefficient = <2982>;
2394+
interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>,
2395+
<GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>,
2396+
<GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>;
2397+
interrupt-names = "job", "mmu", "gpu";
2398+
operating-points-v2 = <&gpu_opp_table_panthor>;
2399+
power-domains = <&power RK3588_PD_GPU>;
2400+
status = "disabled";
2401+
2402+
gpu_opp_table_panthor: opp-table {
2403+
compatible = "operating-points-v2";
2404+
2405+
opp-300000000 {
2406+
opp-hz = /bits/ 64 <300000000>;
2407+
opp-microvolt = <675000 675000 850000>;
2408+
};
2409+
opp-400000000 {
2410+
opp-hz = /bits/ 64 <400000000>;
2411+
opp-microvolt = <675000 675000 850000>;
2412+
};
2413+
opp-500000000 {
2414+
opp-hz = /bits/ 64 <500000000>;
2415+
opp-microvolt = <675000 675000 850000>;
2416+
};
2417+
opp-600000000 {
2418+
opp-hz = /bits/ 64 <600000000>;
2419+
opp-microvolt = <675000 675000 850000>;
2420+
};
2421+
opp-700000000 {
2422+
opp-hz = /bits/ 64 <700000000>;
2423+
opp-microvolt = <700000 700000 850000>;
2424+
};
2425+
opp-800000000 {
2426+
opp-hz = /bits/ 64 <800000000>;
2427+
opp-microvolt = <750000 750000 850000>;
2428+
};
2429+
opp-900000000 {
2430+
opp-hz = /bits/ 64 <900000000>;
2431+
opp-microvolt = <800000 800000 850000>;
2432+
};
2433+
opp-1000000000 {
2434+
opp-hz = /bits/ 64 <1000000000>;
2435+
opp-microvolt = <850000 850000 850000>;
2436+
};
2437+
};
2438+
};
2439+
23842440
gpu_opp_table: gpu-opp-table {
23852441
compatible = "operating-points-v2";
23862442

0 commit comments

Comments
 (0)