mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-30 21:40:37 -04:00
ARM: dts: qcom: msm8974: add gpu support
Add support for the a3xx GPU. opp_table is chosen to include lower frequencies common to all different msm8974 variants. Signed-off-by: Brian Masney <masneyb@onstation.org> [iskren.chernev@gmail.com: change after v1] Signed-off-by: Iskren Chernev <iskren.chernev@gmail.com> Link: https://lore.kernel.org/r/20210201105657.1642825-1-iskren.chernev@gmail.com Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
This commit is contained in:
committed by
Bjorn Andersson
parent
e14775aa2f
commit
fe079442db
@@ -1399,6 +1399,49 @@ cnoc: interconnect@fc480000 {
|
||||
<&rpmcc RPM_SMD_CNOC_A_CLK>;
|
||||
};
|
||||
|
||||
gpu: adreno@fdb00000 {
|
||||
status = "disabled";
|
||||
|
||||
compatible = "qcom,adreno-330.1",
|
||||
"qcom,adreno";
|
||||
reg = <0xfdb00000 0x10000>;
|
||||
reg-names = "kgsl_3d0_reg_memory";
|
||||
interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-names = "kgsl_3d0_irq";
|
||||
clock-names = "core",
|
||||
"iface",
|
||||
"mem_iface";
|
||||
clocks = <&mmcc OXILI_GFX3D_CLK>,
|
||||
<&mmcc OXILICX_AHB_CLK>,
|
||||
<&mmcc OXILICX_AXI_CLK>;
|
||||
sram = <&gmu_sram>;
|
||||
power-domains = <&mmcc OXILICX_GDSC>;
|
||||
operating-points-v2 = <&gpu_opp_table>;
|
||||
|
||||
interconnects = <&mmssnoc MNOC_MAS_GRAPHICS_3D &bimc BIMC_SLV_EBI_CH0>,
|
||||
<&ocmemnoc OCMEM_VNOC_MAS_GFX3D &ocmemnoc OCMEM_SLV_OCMEM>;
|
||||
interconnect-names = "gfx-mem",
|
||||
"ocmem";
|
||||
|
||||
// iommus = <&gpu_iommu 0>;
|
||||
|
||||
gpu_opp_table: opp_table {
|
||||
compatible = "operating-points-v2";
|
||||
|
||||
opp-320000000 {
|
||||
opp-hz = /bits/ 64 <320000000>;
|
||||
};
|
||||
|
||||
opp-200000000 {
|
||||
opp-hz = /bits/ 64 <200000000>;
|
||||
};
|
||||
|
||||
opp-27000000 {
|
||||
opp-hz = /bits/ 64 <27000000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
mdss: mdss@fd900000 {
|
||||
status = "disabled";
|
||||
|
||||
|
||||
@@ -14,5 +14,10 @@ sdhci@f9824900 {
|
||||
clock-controller@fc400000 {
|
||||
compatible = "qcom,gcc-msm8974pro";
|
||||
};
|
||||
|
||||
adreno@fdb00000 {
|
||||
compatible = "qcom,adreno-330.2",
|
||||
"qcom,adreno";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user