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,sec-qfprom.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Qualcomm Technologies Inc, Secure QFPROM Efuse
8
9maintainers:
10  - Komal Bajaj <quic_kbajaj@quicinc.com>
11
12description:
13  For some of the Qualcomm SoC's, it is possible that the qfprom region is
14  protected from non-secure access. In such situations, the OS have to use
15  secure calls to read the region.
16
17allOf:
18  - $ref: nvmem.yaml#
19
20properties:
21  compatible:
22    items:
23      - enum:
24          - qcom,qdu1000-sec-qfprom
25      - const: qcom,sec-qfprom
26
27  reg:
28    items:
29      - description: The secure qfprom corrected region.
30
31required:
32  - compatible
33  - reg
34
35unevaluatedProperties: false
36
37examples:
38  - |
39    soc {
40      #address-cells = <2>;
41      #size-cells = <2>;
42
43      efuse@221c8000 {
44        compatible = "qcom,qdu1000-sec-qfprom", "qcom,sec-qfprom";
45        reg = <0 0x221c8000 0 0x1000>;
46        #address-cells = <1>;
47        #size-cells = <1>;
48
49        multi_chan_ddr: multi-chan-ddr@12b {
50          reg = <0x12b 0x1>;
51          bits = <0 2>;
52        };
53      };
54    };
55
56