diff options
author | Luca Weiss <[email protected]> | 2023-06-14 18:35:52 +0200 |
---|---|---|
committer | Bjorn Andersson <[email protected]> | 2023-07-09 20:55:21 -0700 |
commit | 4bad24d73abcc6adf70bc4c894c29cb1d0acda05 (patch) | |
tree | 1c9aabdb322a60a61b033f28ec973133237ef8d0 | |
parent | d5fb01ad5eb449ccfd950e946a882639cad168b3 (diff) |
ARM: dts: qcom: msm8226: Add ocmem
Add a node for the ocmem found on msm8226. It contains one region, used
as gmu_ram.
Reviewed-by: Konrad Dybcio <[email protected]>
Signed-off-by: Luca Weiss <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Bjorn Andersson <[email protected]>
-rw-r--r-- | arch/arm/boot/dts/qcom/qcom-msm8226.dtsi | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/qcom/qcom-msm8226.dtsi b/arch/arm/boot/dts/qcom/qcom-msm8226.dtsi index b6e2ca04a233..b6ae4b7936e3 100644 --- a/arch/arm/boot/dts/qcom/qcom-msm8226.dtsi +++ b/arch/arm/boot/dts/qcom/qcom-msm8226.dtsi @@ -784,6 +784,23 @@ }; }; + sram@fdd00000 { + compatible = "qcom,msm8226-ocmem"; + reg = <0xfdd00000 0x2000>, + <0xfec00000 0x20000>; + reg-names = "ctrl", "mem"; + ranges = <0 0xfec00000 0x20000>; + clocks = <&rpmcc RPM_SMD_OCMEMGX_CLK>; + clock-names = "core"; + + #address-cells = <1>; + #size-cells = <1>; + + gmu_sram: gmu-sram@0 { + reg = <0x0 0x20000>; + }; + }; + sram@fe805000 { compatible = "qcom,msm8226-imem", "syscon", "simple-mfd"; reg = <0xfe805000 0x1000>; |