summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts
diff options
context:
space:
mode:
authorBjorn Andersson <bjorn.andersson@linaro.org>2023-06-14 17:22:04 +0300
committerBjorn Andersson <andersson@kernel.org>2023-06-14 18:58:37 +0300
commit598a06afca5a2ab4850ce9ff8146ec728cca570c (patch)
tree0d163d9c74806d4787011c86202ee5e4927b1d49 /arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts
parenteec51ab2fd6f447a993c502364704d0cb5bc8cae (diff)
downloadlinux-598a06afca5a2ab4850ce9ff8146ec728cca570c.tar.xz
arm64: dts: qcom: sc8280xp: Enable GPU related nodes
Add memory reservation for the zap-shader and enable the Adreno SMMU, GPU clock controller, GMU and the GPU nodes for the SC8280XP CRD and the Lenovo ThinkPad X13s. Tested-by: Steev Klimaszewski <steev@kali.org> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Tested-by: Johan Hovold <johan+linaro@kernel.org> Signed-off-by: Bjorn Andersson <quic_bjorande@quicinc.com> Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Signed-off-by: Bjorn Andersson <andersson@kernel.org> Link: https://lore.kernel.org/r/20230614142204.2675653-3-quic_bjorande@quicinc.com
Diffstat (limited to 'arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts')
-rw-r--r--arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts b/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts
index 5ae057ad6438..7cc3028440b6 100644
--- a/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts
+++ b/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts
@@ -264,6 +264,11 @@
};
reserved-memory {
+ gpu_mem: gpu-mem@8bf00000 {
+ reg = <0 0x8bf00000 0 0x2000>;
+ no-map;
+ };
+
linux,cma {
compatible = "shared-dma-pool";
size = <0x0 0x8000000>;
@@ -518,6 +523,15 @@
status = "okay";
};
+&gpu {
+ status = "okay";
+
+ zap-shader {
+ memory-region = <&gpu_mem>;
+ firmware-name = "qcom/sc8280xp/LENOVO/21BX/qcdxkmsuc8280.mbn";
+ };
+};
+
&mdss0 {
status = "okay";
};