1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/sram/qcom,ocmem.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: On Chip Memory (OCMEM) that is present on some Qualcomm Snapdragon SoCs.
10 - Brian Masney <masneyb@onstation.org>
13 The On Chip Memory (OCMEM) is typically used by the GPU, camera/video, and
14 audio components on some Snapdragon SoCs.
19 - qcom,msm8226-ocmem # v1.1.0
20 - qcom,msm8974-ocmem # v1.4.0
24 - description: Control registers
25 - description: OCMEM address range
35 - description: Core clock
36 - description: Interface clock
63 additionalProperties: false
88 additionalProperties: false
89 description: A region of reserved memory.
100 #include <dt-bindings/clock/qcom,rpmcc.h>
101 #include <dt-bindings/clock/qcom,mmcc-msm8974.h>
104 compatible = "qcom,msm8974-ocmem";
106 reg = <0xfdd00000 0x2000>,
107 <0xfec00000 0x180000>;
111 clocks = <&rpmcc RPM_SMD_OCMEMGX_CLK>,
112 <&mmcc OCMEMCX_OCMEMNOC_CLK>;
113 clock-names = "core",
116 #address-cells = <1>;
118 ranges = <0 0xfec00000 0x100000>;
121 reg = <0x0 0x100000>;