xref: /freebsd/sys/contrib/device-tree/Bindings/nvmem/mediatek,efuse.yaml (revision 0e8011faf58b743cc652e3b2ad0f7671227610df)
1b97ee269SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2b97ee269SEmmanuel Vadot%YAML 1.2
3b97ee269SEmmanuel Vadot---
4b97ee269SEmmanuel Vadot$id: http://devicetree.org/schemas/nvmem/mediatek,efuse.yaml#
5b97ee269SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6b97ee269SEmmanuel Vadot
7b97ee269SEmmanuel Vadottitle: MediaTek efuse
8b97ee269SEmmanuel Vadot
9b97ee269SEmmanuel Vadotdescription: |
10b97ee269SEmmanuel Vadot  MediaTek's efuse is used for storing calibration data, it can be accessed
11b97ee269SEmmanuel Vadot  on ARM devices usiong I/O mapped memory.
12b97ee269SEmmanuel Vadot
13b97ee269SEmmanuel Vadotmaintainers:
14b97ee269SEmmanuel Vadot  - Andrew-CT Chen <andrew-ct.chen@mediatek.com>
15b97ee269SEmmanuel Vadot  - Lala Lin <lala.lin@mediatek.com>
16b97ee269SEmmanuel Vadot
17b97ee269SEmmanuel VadotallOf:
18fac71e4eSEmmanuel Vadot  - $ref: nvmem.yaml#
1984943d6fSEmmanuel Vadot  - $ref: nvmem-deprecated-cells.yaml#
20b97ee269SEmmanuel Vadot
21b97ee269SEmmanuel Vadotproperties:
22b97ee269SEmmanuel Vadot  $nodename:
23b97ee269SEmmanuel Vadot    pattern: "^efuse@[0-9a-f]+$"
24b97ee269SEmmanuel Vadot
25b97ee269SEmmanuel Vadot  compatible:
26b97ee269SEmmanuel Vadot    oneOf:
27b97ee269SEmmanuel Vadot      - items:
28b97ee269SEmmanuel Vadot          - enum:
29b97ee269SEmmanuel Vadot              - mediatek,mt7622-efuse
30b97ee269SEmmanuel Vadot              - mediatek,mt7623-efuse
31*0e8011faSEmmanuel Vadot              - mediatek,mt7981-efuse
32f126890aSEmmanuel Vadot              - mediatek,mt7986-efuse
33*0e8011faSEmmanuel Vadot              - mediatek,mt7988-efuse
34b97ee269SEmmanuel Vadot              - mediatek,mt8173-efuse
35b97ee269SEmmanuel Vadot              - mediatek,mt8183-efuse
36b97ee269SEmmanuel Vadot              - mediatek,mt8186-efuse
377ef62cebSEmmanuel Vadot              - mediatek,mt8188-efuse
38b97ee269SEmmanuel Vadot              - mediatek,mt8192-efuse
39b97ee269SEmmanuel Vadot              - mediatek,mt8195-efuse
40b97ee269SEmmanuel Vadot              - mediatek,mt8516-efuse
41b97ee269SEmmanuel Vadot          - const: mediatek,efuse
42b97ee269SEmmanuel Vadot      - const: mediatek,mt8173-efuse
43b97ee269SEmmanuel Vadot        deprecated: true
44b97ee269SEmmanuel Vadot
45b97ee269SEmmanuel Vadot  reg:
46b97ee269SEmmanuel Vadot    maxItems: 1
47b97ee269SEmmanuel Vadot
48b97ee269SEmmanuel Vadotrequired:
49b97ee269SEmmanuel Vadot  - compatible
50b97ee269SEmmanuel Vadot  - reg
51b97ee269SEmmanuel Vadot
52b97ee269SEmmanuel VadotunevaluatedProperties: false
53b97ee269SEmmanuel Vadot
54b97ee269SEmmanuel Vadotexamples:
55b97ee269SEmmanuel Vadot  - |
56b97ee269SEmmanuel Vadot    efuse@11c10000 {
57b97ee269SEmmanuel Vadot        compatible = "mediatek,mt8195-efuse", "mediatek,efuse";
58b97ee269SEmmanuel Vadot        reg = <0x11c10000 0x1000>;
59b97ee269SEmmanuel Vadot        #address-cells = <1>;
60b97ee269SEmmanuel Vadot        #size-cells = <1>;
61b97ee269SEmmanuel Vadot
62b97ee269SEmmanuel Vadot        u3_tx_imp_p0: usb3-tx-imp@184,1 {
63b97ee269SEmmanuel Vadot            reg = <0x184 0x1>;
64b97ee269SEmmanuel Vadot            bits = <0 5>;
65b97ee269SEmmanuel Vadot        };
66b97ee269SEmmanuel Vadot        u3_rx_imp_p0: usb3-rx-imp@184,2 {
67b97ee269SEmmanuel Vadot            reg = <0x184 0x2>;
68b97ee269SEmmanuel Vadot            bits = <5 5>;
69b97ee269SEmmanuel Vadot        };
70b97ee269SEmmanuel Vadot        u3_intr_p0: usb3-intr@185 {
71b97ee269SEmmanuel Vadot            reg = <0x185 0x1>;
72b97ee269SEmmanuel Vadot            bits = <2 6>;
73b97ee269SEmmanuel Vadot        };
74b97ee269SEmmanuel Vadot        comb_tx_imp_p1: usb3-tx-imp@186,1 {
75b97ee269SEmmanuel Vadot            reg = <0x186 0x1>;
76b97ee269SEmmanuel Vadot            bits = <0 5>;
77b97ee269SEmmanuel Vadot        };
78b97ee269SEmmanuel Vadot        comb_rx_imp_p1: usb3-rx-imp@186,2 {
79b97ee269SEmmanuel Vadot            reg = <0x186 0x2>;
80b97ee269SEmmanuel Vadot            bits = <5 5>;
81b97ee269SEmmanuel Vadot        };
82b97ee269SEmmanuel Vadot        comb_intr_p1: usb3-intr@187 {
83b97ee269SEmmanuel Vadot            reg = <0x187 0x1>;
84b97ee269SEmmanuel Vadot            bits = <2 6>;
85b97ee269SEmmanuel Vadot        };
86b97ee269SEmmanuel Vadot        u2_intr_p0: usb2-intr-p0@188,1 {
87b97ee269SEmmanuel Vadot            reg = <0x188 0x1>;
88b97ee269SEmmanuel Vadot            bits = <0 5>;
89b97ee269SEmmanuel Vadot        };
90b97ee269SEmmanuel Vadot        u2_intr_p1: usb2-intr-p1@188,2 {
91b97ee269SEmmanuel Vadot            reg = <0x188 0x2>;
92b97ee269SEmmanuel Vadot            bits = <5 5>;
93b97ee269SEmmanuel Vadot        };
94b97ee269SEmmanuel Vadot    };
95