Skip to content

Commit 22b9fb6

Browse files
Jie ZhangJie Zhang
authored andcommitted
FROMLIST: arm64: dts: qcom: talos: Add gpu and rgmu nodes
Add gpu and rgmu nodes for Talos chipset. Signed-off-by: Jie Zhang <quic_jiezh@quicinc.com> Signed-off-by: Akhil P Oommen <akhilpo@oss.qualcomm.com> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Link: https://lore.kernel.org/r/20251204-qcs615-spin-2-v4-6-f5a00c5b663f@oss.qualcomm.com
1 parent 5f825a2 commit 22b9fb6

1 file changed

Lines changed: 110 additions & 0 deletions

File tree

arch/arm64/boot/dts/qcom/talos.dtsi

Lines changed: 110 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -509,6 +509,11 @@
509509
reg = <0x0 0x95900000 0x0 0x1e00000>;
510510
no-map;
511511
};
512+
513+
pil_gpu_mem: pil-gpu@97715000 {
514+
reg = <0x0 0x97715000 0x0 0x2000>;
515+
no-map;
516+
};
512517
};
513518

514519
soc: soc@0 {
@@ -1688,6 +1693,111 @@
16881693
};
16891694
};
16901695

1696+
gpu: gpu@5000000 {
1697+
compatible = "qcom,adreno-612.0", "qcom,adreno";
1698+
reg = <0x0 0x05000000 0x0 0x40000>,
1699+
<0x0 0x0509e000 0x0 0x1000>,
1700+
<0x0 0x05061000 0x0 0x800>;
1701+
reg-names = "kgsl_3d0_reg_memory",
1702+
"cx_mem",
1703+
"cx_dbgc";
1704+
1705+
clocks = <&gpucc GPU_CC_GX_GFX3D_CLK>;
1706+
clock-names = "core";
1707+
1708+
interrupts = <GIC_SPI 300 IRQ_TYPE_LEVEL_HIGH>;
1709+
1710+
interconnects = <&gem_noc MASTER_GFX3D QCOM_ICC_TAG_ALWAYS
1711+
&mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
1712+
interconnect-names = "gfx-mem";
1713+
1714+
iommus = <&adreno_smmu 0x0 0x401>;
1715+
1716+
operating-points-v2 = <&gpu_opp_table>;
1717+
power-domains = <&rpmhpd RPMHPD_CX>;
1718+
1719+
qcom,gmu = <&gmu>;
1720+
1721+
#cooling-cells = <2>;
1722+
1723+
status = "disabled";
1724+
1725+
gpu_zap_shader: zap-shader {
1726+
memory-region = <&pil_gpu_mem>;
1727+
};
1728+
1729+
gpu_opp_table: opp-table {
1730+
compatible = "operating-points-v2";
1731+
1732+
opp-845000000 {
1733+
opp-hz = /bits/ 64 <845000000>;
1734+
required-opps = <&rpmhpd_opp_turbo>;
1735+
opp-peak-kBps = <7050000>;
1736+
};
1737+
1738+
opp-745000000 {
1739+
opp-hz = /bits/ 64 <745000000>;
1740+
required-opps = <&rpmhpd_opp_nom_l1>;
1741+
opp-peak-kBps = <6075000>;
1742+
};
1743+
1744+
opp-650000000 {
1745+
opp-hz = /bits/ 64 <650000000>;
1746+
required-opps = <&rpmhpd_opp_nom>;
1747+
opp-peak-kBps = <5287500>;
1748+
};
1749+
1750+
opp-500000000 {
1751+
opp-hz = /bits/ 64 <500000000>;
1752+
required-opps = <&rpmhpd_opp_svs_l1>;
1753+
opp-peak-kBps = <3975000>;
1754+
};
1755+
1756+
opp-435000000 {
1757+
opp-hz = /bits/ 64 <435000000>;
1758+
required-opps = <&rpmhpd_opp_svs>;
1759+
opp-peak-kBps = <3000000>;
1760+
};
1761+
};
1762+
};
1763+
1764+
gmu: gmu@506a000 {
1765+
compatible = "qcom,adreno-rgmu-612.0", "qcom,adreno-rgmu";
1766+
reg = <0x0 0x0506a000 0x0 0x34000>;
1767+
1768+
clocks = <&gpucc GPU_CC_CX_GMU_CLK>,
1769+
<&gpucc GPU_CC_CXO_CLK>,
1770+
<&gcc GCC_DDRSS_GPU_AXI_CLK>,
1771+
<&gcc GCC_GPU_MEMNOC_GFX_CLK>,
1772+
<&gpucc GPU_CC_HLOS1_VOTE_GPU_SMMU_CLK>;
1773+
clock-names = "gmu",
1774+
"cxo",
1775+
"axi",
1776+
"memnoc",
1777+
"smmu_vote";
1778+
1779+
power-domains = <&gpucc CX_GDSC>,
1780+
<&gpucc GX_GDSC>;
1781+
power-domain-names = "cx",
1782+
"gx";
1783+
1784+
interrupts = <GIC_SPI 304 IRQ_TYPE_LEVEL_HIGH>,
1785+
<GIC_SPI 305 IRQ_TYPE_LEVEL_HIGH>;
1786+
interrupt-names = "oob",
1787+
"gmu";
1788+
1789+
operating-points-v2 = <&gmu_opp_table>;
1790+
1791+
gmu_opp_table: opp-table {
1792+
compatible = "operating-points-v2";
1793+
1794+
opp-200000000 {
1795+
opp-hz = /bits/ 64 <200000000>;
1796+
required-opps = <&rpmhpd_opp_low_svs>;
1797+
};
1798+
};
1799+
};
1800+
16911801
gpucc: clock-controller@5090000 {
16921802
compatible = "qcom,qcs615-gpucc";
16931803
reg = <0 0x05090000 0 0x9000>;

0 commit comments

Comments
 (0)