Commit 9d511d0a authored by Konrad Dybcio's avatar Konrad Dybcio Committed by Bjorn Andersson

arm64: dts: qcom: msm8994: Add OCMEM node

Add OCMEM node to allow for GPU SRAM access.
Signed-off-by: default avatarKonrad Dybcio <konrad.dybcio@somainline.org>
Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20220319174645.340379-13-konrad.dybcio@somainline.org
parent 410e1619
......@@ -24,6 +24,14 @@ &mmcc {
<800000000>;
};
&ocmem {
reg = <0xfdd00000 0x2000>, <0xfec00000 0x100000>;
gmu-sram@0 {
reg = <0x0 0x80000>;
};
};
&rpmcc {
compatible = "qcom,rpmcc-msm8992";
};
......
......@@ -1052,6 +1052,23 @@ mmcc: clock-controller@fd8c0000 {
<960000000>,
<600000000>;
};
ocmem: ocmem@fdd00000 {
compatible = "qcom,msm8974-ocmem";
reg = <0xfdd00000 0x2000>,
<0xfec00000 0x200000>;
reg-names = "ctrl", "mem";
clocks = <&rpmcc RPM_SMD_OCMEMGX_CLK>,
<&mmcc OCMEMCX_OCMEMNOC_CLK>;
clock-names = "core", "iface";
#address-cells = <1>;
#size-cells = <1>;
gmu_sram: gmu-sram@0 {
reg = <0x0 0x180000>;
};
};
};
timer: timer {
......
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