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.
18 const: qcom,msm8974-ocmem
22 - description: Control registers
23 - description: OCMEM address range
32 - description: Core clock
33 - description: Interface clock
59 additionalProperties: false
64 description: A region of reserved memory.
75 #include <dt-bindings/clock/qcom,rpmcc.h>
76 #include <dt-bindings/clock/qcom,mmcc-msm8974.h>
78 ocmem: ocmem@fdd00000 {
79 compatible = "qcom,msm8974-ocmem";
81 reg = <0xfdd00000 0x2000>,
82 <0xfec00000 0x180000>;
86 clocks = <&rpmcc RPM_SMD_OCMEMGX_CLK>,
87 <&mmcc OCMEMCX_OCMEMNOC_CLK>;
93 ranges = <0 0xfec00000 0x100000>;