xref: /linux/Documentation/devicetree/bindings/nvmem/mediatek,efuse.yaml (revision a1ff5a7d78a036d6c2178ee5acd6ba4946243800)
19c5fc8e1SChunfeng Yun# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
29c5fc8e1SChunfeng Yun%YAML 1.2
39c5fc8e1SChunfeng Yun---
49c5fc8e1SChunfeng Yun$id: http://devicetree.org/schemas/nvmem/mediatek,efuse.yaml#
59c5fc8e1SChunfeng Yun$schema: http://devicetree.org/meta-schemas/core.yaml#
69c5fc8e1SChunfeng Yun
79c5fc8e1SChunfeng Yuntitle: MediaTek efuse
89c5fc8e1SChunfeng Yun
99c5fc8e1SChunfeng Yundescription: |
109c5fc8e1SChunfeng Yun  MediaTek's efuse is used for storing calibration data, it can be accessed
119c5fc8e1SChunfeng Yun  on ARM devices usiong I/O mapped memory.
129c5fc8e1SChunfeng Yun
139c5fc8e1SChunfeng Yunmaintainers:
149c5fc8e1SChunfeng Yun  - Andrew-CT Chen <andrew-ct.chen@mediatek.com>
159c5fc8e1SChunfeng Yun  - Lala Lin <lala.lin@mediatek.com>
169c5fc8e1SChunfeng Yun
179c5fc8e1SChunfeng YunallOf:
18d14d9f0eSRob Herring  - $ref: nvmem.yaml#
19c5330723SRafał Miłecki  - $ref: nvmem-deprecated-cells.yaml#
209c5fc8e1SChunfeng Yun
219c5fc8e1SChunfeng Yunproperties:
229c5fc8e1SChunfeng Yun  $nodename:
239c5fc8e1SChunfeng Yun    pattern: "^efuse@[0-9a-f]+$"
249c5fc8e1SChunfeng Yun
259c5fc8e1SChunfeng Yun  compatible:
269c5fc8e1SChunfeng Yun    oneOf:
279c5fc8e1SChunfeng Yun      - items:
289c5fc8e1SChunfeng Yun          - enum:
299c5fc8e1SChunfeng Yun              - mediatek,mt7622-efuse
309c5fc8e1SChunfeng Yun              - mediatek,mt7623-efuse
31e499d4b7SRafał Miłecki              - mediatek,mt7981-efuse
3208ef7a48SFrank Wunderlich              - mediatek,mt7986-efuse
33*2cf7e4dcSRafał Miłecki              - mediatek,mt7988-efuse
349c5fc8e1SChunfeng Yun              - mediatek,mt8173-efuse
35cf35ec15SChunfeng Yun              - mediatek,mt8183-efuse
3638b4c8a4SAllen-KH Cheng              - mediatek,mt8186-efuse
37ff1df188SJohnson Wang              - mediatek,mt8188-efuse
389c5fc8e1SChunfeng Yun              - mediatek,mt8192-efuse
399c5fc8e1SChunfeng Yun              - mediatek,mt8195-efuse
409c5fc8e1SChunfeng Yun              - mediatek,mt8516-efuse
419c5fc8e1SChunfeng Yun          - const: mediatek,efuse
429c5fc8e1SChunfeng Yun      - const: mediatek,mt8173-efuse
439c5fc8e1SChunfeng Yun        deprecated: true
449c5fc8e1SChunfeng Yun
459c5fc8e1SChunfeng Yun  reg:
469c5fc8e1SChunfeng Yun    maxItems: 1
479c5fc8e1SChunfeng Yun
489c5fc8e1SChunfeng Yunrequired:
499c5fc8e1SChunfeng Yun  - compatible
509c5fc8e1SChunfeng Yun  - reg
519c5fc8e1SChunfeng Yun
529c5fc8e1SChunfeng YununevaluatedProperties: false
539c5fc8e1SChunfeng Yun
549c5fc8e1SChunfeng Yunexamples:
559c5fc8e1SChunfeng Yun  - |
569c5fc8e1SChunfeng Yun    efuse@11c10000 {
579c5fc8e1SChunfeng Yun        compatible = "mediatek,mt8195-efuse", "mediatek,efuse";
589c5fc8e1SChunfeng Yun        reg = <0x11c10000 0x1000>;
599c5fc8e1SChunfeng Yun        #address-cells = <1>;
609c5fc8e1SChunfeng Yun        #size-cells = <1>;
619c5fc8e1SChunfeng Yun
629c5fc8e1SChunfeng Yun        u3_tx_imp_p0: usb3-tx-imp@184,1 {
639c5fc8e1SChunfeng Yun            reg = <0x184 0x1>;
649c5fc8e1SChunfeng Yun            bits = <0 5>;
659c5fc8e1SChunfeng Yun        };
669c5fc8e1SChunfeng Yun        u3_rx_imp_p0: usb3-rx-imp@184,2 {
679c5fc8e1SChunfeng Yun            reg = <0x184 0x2>;
689c5fc8e1SChunfeng Yun            bits = <5 5>;
699c5fc8e1SChunfeng Yun        };
709c5fc8e1SChunfeng Yun        u3_intr_p0: usb3-intr@185 {
719c5fc8e1SChunfeng Yun            reg = <0x185 0x1>;
729c5fc8e1SChunfeng Yun            bits = <2 6>;
739c5fc8e1SChunfeng Yun        };
749c5fc8e1SChunfeng Yun        comb_tx_imp_p1: usb3-tx-imp@186,1 {
759c5fc8e1SChunfeng Yun            reg = <0x186 0x1>;
769c5fc8e1SChunfeng Yun            bits = <0 5>;
779c5fc8e1SChunfeng Yun        };
789c5fc8e1SChunfeng Yun        comb_rx_imp_p1: usb3-rx-imp@186,2 {
799c5fc8e1SChunfeng Yun            reg = <0x186 0x2>;
809c5fc8e1SChunfeng Yun            bits = <5 5>;
819c5fc8e1SChunfeng Yun        };
829c5fc8e1SChunfeng Yun        comb_intr_p1: usb3-intr@187 {
839c5fc8e1SChunfeng Yun            reg = <0x187 0x1>;
849c5fc8e1SChunfeng Yun            bits = <2 6>;
859c5fc8e1SChunfeng Yun        };
869c5fc8e1SChunfeng Yun        u2_intr_p0: usb2-intr-p0@188,1 {
879c5fc8e1SChunfeng Yun            reg = <0x188 0x1>;
889c5fc8e1SChunfeng Yun            bits = <0 5>;
899c5fc8e1SChunfeng Yun        };
909c5fc8e1SChunfeng Yun        u2_intr_p1: usb2-intr-p1@188,2 {
919c5fc8e1SChunfeng Yun            reg = <0x188 0x2>;
929c5fc8e1SChunfeng Yun            bits = <5 5>;
939c5fc8e1SChunfeng Yun        };
949c5fc8e1SChunfeng Yun    };
95