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