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