Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/nvmem/mediatek,efuse.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: MediaTek efuse
0008 
0009 description: |
0010   MediaTek's efuse is used for storing calibration data, it can be accessed
0011   on ARM devices usiong I/O mapped memory.
0012 
0013 maintainers:
0014   - Andrew-CT Chen <andrew-ct.chen@mediatek.com>
0015   - Lala Lin <lala.lin@mediatek.com>
0016 
0017 allOf:
0018   - $ref: "nvmem.yaml#"
0019 
0020 properties:
0021   $nodename:
0022     pattern: "^efuse@[0-9a-f]+$"
0023 
0024   compatible:
0025     oneOf:
0026       - items:
0027           - enum:
0028               - mediatek,mt7622-efuse
0029               - mediatek,mt7623-efuse
0030               - mediatek,mt8173-efuse
0031               - mediatek,mt8183-efuse
0032               - mediatek,mt8186-efuse
0033               - mediatek,mt8192-efuse
0034               - mediatek,mt8195-efuse
0035               - mediatek,mt8516-efuse
0036           - const: mediatek,efuse
0037       - const: mediatek,mt8173-efuse
0038         deprecated: true
0039 
0040   reg:
0041     maxItems: 1
0042 
0043 required:
0044   - compatible
0045   - reg
0046 
0047 unevaluatedProperties: false
0048 
0049 examples:
0050   - |
0051     efuse@11c10000 {
0052         compatible = "mediatek,mt8195-efuse", "mediatek,efuse";
0053         reg = <0x11c10000 0x1000>;
0054         #address-cells = <1>;
0055         #size-cells = <1>;
0056 
0057         u3_tx_imp_p0: usb3-tx-imp@184,1 {
0058             reg = <0x184 0x1>;
0059             bits = <0 5>;
0060         };
0061         u3_rx_imp_p0: usb3-rx-imp@184,2 {
0062             reg = <0x184 0x2>;
0063             bits = <5 5>;
0064         };
0065         u3_intr_p0: usb3-intr@185 {
0066             reg = <0x185 0x1>;
0067             bits = <2 6>;
0068         };
0069         comb_tx_imp_p1: usb3-tx-imp@186,1 {
0070             reg = <0x186 0x1>;
0071             bits = <0 5>;
0072         };
0073         comb_rx_imp_p1: usb3-rx-imp@186,2 {
0074             reg = <0x186 0x2>;
0075             bits = <5 5>;
0076         };
0077         comb_intr_p1: usb3-intr@187 {
0078             reg = <0x187 0x1>;
0079             bits = <2 6>;
0080         };
0081         u2_intr_p0: usb2-intr-p0@188,1 {
0082             reg = <0x188 0x1>;
0083             bits = <0 5>;
0084         };
0085         u2_intr_p1: usb2-intr-p1@188,2 {
0086             reg = <0x188 0x2>;
0087             bits = <5 5>;
0088         };
0089     };