1e67e8565SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2e67e8565SEmmanuel Vadot%YAML 1.2
3e67e8565SEmmanuel Vadot---
4*fac71e4eSEmmanuel Vadot$id: http://devicetree.org/schemas/reserved-memory/qcom,cmd-db.yaml#
5*fac71e4eSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6e67e8565SEmmanuel Vadot
7e67e8565SEmmanuel Vadottitle: Qualcomm Command DB
8e67e8565SEmmanuel Vadot
9e67e8565SEmmanuel Vadotdescription: |
10e67e8565SEmmanuel Vadot  Command DB is a database that provides a mapping between resource key and the
11e67e8565SEmmanuel Vadot  resource address for a system resource managed by a remote processor. The data
12e67e8565SEmmanuel Vadot  is stored in a shared memory region and is loaded by the remote processor.
13e67e8565SEmmanuel Vadot
14e67e8565SEmmanuel Vadot  Some of the Qualcomm Technologies Inc SoC's have hardware accelerators for
15e67e8565SEmmanuel Vadot  controlling shared resources. Depending on the board configuration the shared
16e67e8565SEmmanuel Vadot  resource properties may change. These properties are dynamically probed by the
17e67e8565SEmmanuel Vadot  remote processor and made available in the shared memory.
18e67e8565SEmmanuel Vadot
19e67e8565SEmmanuel Vadotmaintainers:
20e67e8565SEmmanuel Vadot  - Bjorn Andersson <bjorn.andersson@linaro.org>
21e67e8565SEmmanuel Vadot
22e67e8565SEmmanuel VadotallOf:
23*fac71e4eSEmmanuel Vadot  - $ref: reserved-memory.yaml
24e67e8565SEmmanuel Vadot
25e67e8565SEmmanuel Vadotproperties:
26e67e8565SEmmanuel Vadot  compatible:
27e67e8565SEmmanuel Vadot    const: qcom,cmd-db
28e67e8565SEmmanuel Vadot
29e67e8565SEmmanuel Vadotrequired:
30e67e8565SEmmanuel Vadot  - reg
31e67e8565SEmmanuel Vadot
32e67e8565SEmmanuel VadotunevaluatedProperties: false
33e67e8565SEmmanuel Vadot
34e67e8565SEmmanuel Vadotexamples:
35e67e8565SEmmanuel Vadot  - |
36e67e8565SEmmanuel Vadot    reserved-memory {
37e67e8565SEmmanuel Vadot        #address-cells = <1>;
38e67e8565SEmmanuel Vadot        #size-cells = <1>;
39e67e8565SEmmanuel Vadot        ranges;
40e67e8565SEmmanuel Vadot
41e67e8565SEmmanuel Vadot        reserved-memory@85fe0000 {
42e67e8565SEmmanuel Vadot            reg = <0x85fe0000 0x20000>;
43e67e8565SEmmanuel Vadot            compatible = "qcom,cmd-db";
44e67e8565SEmmanuel Vadot            no-map;
45e67e8565SEmmanuel Vadot        };
46e67e8565SEmmanuel Vadot    };
47