Commit 61b83be9 authored by Rob Clark's avatar Rob Clark Committed by Andy Gross

arm64: dts: qcom: msm8916: Add gpu support

This patch adds the Qualcomm Adreno GPU node that exists in the
MSM8916.
Signed-off-by: default avatarRob Clark <robdclark@gmail.com>
Reviewed-by: default avatarStephen Boyd <sboyd@codeaurora.org>
Signed-off-by: default avatarAndy Gross <andy.gross@linaro.org>
parent cadcd35f
...@@ -204,6 +204,17 @@ cpu_crit1: trip1 { ...@@ -204,6 +204,17 @@ cpu_crit1: trip1 {
}; };
gpu_opp_table: opp_table {
compatible = "operating-points-v2";
opp-400000000 {
opp-hz = /bits/ 64 <400000000>;
};
opp-19200000 {
opp-hz = /bits/ 64 <19200000>;
};
};
timer { timer {
compatible = "arm,armv8-timer"; compatible = "arm,armv8-timer";
interrupts = <GIC_PPI 2 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, interrupts = <GIC_PPI 2 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
...@@ -694,6 +705,30 @@ tsens: thermal-sensor@4a8000 { ...@@ -694,6 +705,30 @@ tsens: thermal-sensor@4a8000 {
#thermal-sensor-cells = <1>; #thermal-sensor-cells = <1>;
}; };
gpu@1c00000 {
compatible = "qcom,adreno-306.0", "qcom,adreno";
reg = <0x01c00000 0x20000>;
reg-names = "kgsl_3d0_reg_memory";
interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "kgsl_3d0_irq";
clock-names =
"core",
"iface",
"mem",
"mem_iface",
"alt_mem_iface",
"gfx3d";
clocks =
<&gcc GCC_OXILI_GFX3D_CLK>,
<&gcc GCC_OXILI_AHB_CLK>,
<&gcc GCC_OXILI_GMEM_CLK>,
<&gcc GCC_BIMC_GFX_CLK>,
<&gcc GCC_BIMC_GPU_CLK>,
<&gcc GFX3D_CLK_SRC>;
power-domains = <&gcc OXILI_GDSC>;
operating-points-v2 = <&gpu_opp_table>;
};
mdss: mdss@1a00000 { mdss: mdss@1a00000 {
compatible = "qcom,mdss"; compatible = "qcom,mdss";
reg = <0x1a00000 0x1000>, reg = <0x1a00000 0x1000>,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment