arm64: dts: qcom: sm8550: add TRNG node
[linux-modified.git] / Documentation / devicetree / bindings / nvmem / qcom,spmi-sdam.yaml
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/nvmem/qcom,spmi-sdam.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Qualcomm Technologies, Inc. SPMI SDAM
8
9 maintainers:
10   - Shyam Kumar Thella <sthella@codeaurora.org>
11
12 description: |
13   The SDAM provides scratch register space for the PMIC clients. This
14   memory can be used by software to store information or communicate
15   to/from the PBUS.
16
17 allOf:
18   - $ref: nvmem.yaml#
19   - $ref: nvmem-deprecated-cells.yaml#
20
21 properties:
22   compatible:
23     enum:
24       - qcom,spmi-sdam
25
26   reg:
27     maxItems: 1
28
29   ranges: true
30
31 required:
32   - compatible
33   - reg
34   - ranges
35
36 unevaluatedProperties: false
37
38 examples:
39   - |
40     pmic {
41         #address-cells = <1>;
42         #size-cells = <0>;
43
44         sdam_1: nvram@b000 {
45             compatible = "qcom,spmi-sdam";
46             reg = <0xb000>;
47             #address-cells = <1>;
48             #size-cells = <1>;
49             ranges = <0 0xb000 0x100>;
50
51             /* Data cells */
52             restart_reason: restart@50 {
53                 reg = <0x50 0x1>;
54                 bits = <6 2>;
55             };
56         };
57     };
58 ...