Skip to content

Commit

Permalink
arm64: dts: rockchip: Add panthor gpu node to rk3588
Browse files Browse the repository at this point in the history
  • Loading branch information
amazingfate committed Apr 22, 2024
1 parent d087dd6 commit e0ac3c2
Showing 1 changed file with 56 additions and 0 deletions.
56 changes: 56 additions & 0 deletions arch/arm64/boot/dts/rockchip/rk3588s.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -2381,6 +2381,62 @@
status = "disabled";
};

gpu_panthor: gpu-panthor@fb000000 {
compatible = "rockchip,rk3588-mali", "arm,mali-valhall-csf";
reg = <0x0 0xfb000000 0x0 0x200000>;
#cooling-cells = <2>;
assigned-clocks = <&scmi_clk SCMI_CLK_GPU>;
assigned-clock-rates = <200000000>;
clocks = <&cru CLK_GPU>, <&cru CLK_GPU_COREGROUP>,
<&cru CLK_GPU_STACKS>;
clock-names = "core", "coregroup", "stacks";
dynamic-power-coefficient = <2982>;
interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "job", "mmu", "gpu";
operating-points-v2 = <&gpu_opp_table_panthor>;
power-domains = <&power RK3588_PD_GPU>;
status = "disabled";

gpu_opp_table_panthor: opp-table {
compatible = "operating-points-v2";

opp-300000000 {
opp-hz = /bits/ 64 <300000000>;
opp-microvolt = <675000 675000 850000>;
};
opp-400000000 {
opp-hz = /bits/ 64 <400000000>;
opp-microvolt = <675000 675000 850000>;
};
opp-500000000 {
opp-hz = /bits/ 64 <500000000>;
opp-microvolt = <675000 675000 850000>;
};
opp-600000000 {
opp-hz = /bits/ 64 <600000000>;
opp-microvolt = <675000 675000 850000>;
};
opp-700000000 {
opp-hz = /bits/ 64 <700000000>;
opp-microvolt = <700000 700000 850000>;
};
opp-800000000 {
opp-hz = /bits/ 64 <800000000>;
opp-microvolt = <750000 750000 850000>;
};
opp-900000000 {
opp-hz = /bits/ 64 <900000000>;
opp-microvolt = <800000 800000 850000>;
};
opp-1000000000 {
opp-hz = /bits/ 64 <1000000000>;
opp-microvolt = <850000 850000 850000>;
};
};
};

gpu_opp_table: gpu-opp-table {
compatible = "operating-points-v2";

Expand Down

0 comments on commit e0ac3c2

Please sign in to comment.