Skip to content

Commit fc209f8

Browse files
z3ntuandersson
authored andcommitted
ARM: dts: qcom: msm8226: Add GPU
The msm8226 SoC contains an Adreno 305B. Add a node to configure it. Signed-off-by: Luca Weiss <luca@z3ntu.xyz> Link: https://lore.kernel.org/r/20231130-msm8226-gpu-v1-3-6bb2f1b29e49@z3ntu.xyz Signed-off-by: Bjorn Andersson <andersson@kernel.org>
1 parent c9c8179 commit fc209f8

1 file changed

Lines changed: 40 additions & 0 deletions

File tree

arch/arm/boot/dts/qcom/qcom-msm8226.dtsi

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1006,6 +1006,46 @@
10061006
"ref";
10071007
};
10081008
};
1009+
1010+
gpu: adreno@fdb00000 {
1011+
compatible = "qcom,adreno-305.18", "qcom,adreno";
1012+
reg = <0xfdb00000 0x10000>;
1013+
reg-names = "kgsl_3d0_reg_memory";
1014+
1015+
interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
1016+
interrupt-names = "kgsl_3d0_irq";
1017+
1018+
clocks = <&mmcc OXILI_GFX3D_CLK>,
1019+
<&mmcc OXILICX_AHB_CLK>,
1020+
<&mmcc OXILICX_AXI_CLK>;
1021+
clock-names = "core", "iface", "mem_iface";
1022+
1023+
sram = <&gmu_sram>;
1024+
power-domains = <&mmcc OXILICX_GDSC>;
1025+
operating-points-v2 = <&gpu_opp_table>;
1026+
1027+
status = "disabled";
1028+
1029+
gpu_opp_table: opp-table {
1030+
compatible = "operating-points-v2";
1031+
1032+
opp-450000000 {
1033+
opp-hz = /bits/ 64 <450000000>;
1034+
};
1035+
1036+
opp-320000000 {
1037+
opp-hz = /bits/ 64 <320000000>;
1038+
};
1039+
1040+
opp-200000000 {
1041+
opp-hz = /bits/ 64 <200000000>;
1042+
};
1043+
1044+
opp-19000000 {
1045+
opp-hz = /bits/ 64 <19000000>;
1046+
};
1047+
};
1048+
};
10091049
};
10101050

10111051
thermal-zones {

0 commit comments

Comments
 (0)