MediaTek efuse
Schema identifier ($id): "http://devicetree.org/schemas/nvmem/mediatek,efuse.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
MediaTek's efuse is used for storing calibration data, it can be accessed on ARM devices usiong I/O mapped memory.
Maintainers (maintainers): "Andrew-CT Chen <andrew-ct.chen@mediatek.com>", "Lala Lin <lala.lin@mediatek.com>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):nvmem.yaml#
Rule 2 #
Shared schema rule (
$ref):nvmem-deprecated-cells.yaml#
Properties and child nodes (properties) #
$nodename — not listed as required here #
String pattern (pattern): "^efuse@[0-9a-f]+$"
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Allowed values (
enum):"mediatek,mt8188-efuse","mediatek,mt8189-efuse","mediatek,mt8196-efuse"Item 2
Exact value (
const):"mediatek,mt8186-efuse"
Rule 2
Exact value (
const):"mediatek,mt8186-efuse"
Rule 3
Array item rules (
items)Item 1
Allowed values (
enum):"mediatek,mt8186-efuse","mediatek,mt8188-efuse"Item 2
Exact value (
const):"mediatek,efuse"Deprecated (
deprecated):trueSome compatibles also imply a decoding scheme for the "gpu-speedbin" cell, and thus are not backward compatible to the generic "mediatek,efuse" compatible.
Rule 4
Array item rules (
items)Item 1
Allowed values (
enum):"mediatek,mt7622-efuse","mediatek,mt7623-efuse","mediatek,mt7981-efuse","mediatek,mt7986-efuse","mediatek,mt7988-efuse","mediatek,mt8173-efuse","mediatek,mt8183-efuse","mediatek,mt8189-efuse","mediatek,mt8192-efuse","mediatek,mt8195-efuse","mediatek,mt8516-efuse"Item 2
Exact value (
const):"mediatek,efuse"
Rule 5
Exact value (
const):"mediatek,mt8173-efuse"Deprecated (
deprecated):true
reg — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
efuse@11c10000 {
compatible = "mediatek,mt8195-efuse", "mediatek,efuse";
reg = <0x11c10000 0x1000>;
#address-cells = <1>;
#size-cells = <1>;
u3_tx_imp_p0: usb3-tx-imp@184,1 {
reg = <0x184 0x1>;
bits = <0 5>;
};
u3_rx_imp_p0: usb3-rx-imp@184,2 {
reg = <0x184 0x2>;
bits = <5 5>;
};
u3_intr_p0: usb3-intr@185 {
reg = <0x185 0x1>;
bits = <2 6>;
};
comb_tx_imp_p1: usb3-tx-imp@186,1 {
reg = <0x186 0x1>;
bits = <0 5>;
};
comb_rx_imp_p1: usb3-rx-imp@186,2 {
reg = <0x186 0x2>;
bits = <5 5>;
};
comb_intr_p1: usb3-intr@187 {
reg = <0x187 0x1>;
bits = <2 6>;
};
u2_intr_p0: usb2-intr-p0@188,1 {
reg = <0x188 0x1>;
bits = <0 5>;
};
u2_intr_p1: usb2-intr-p1@188,2 {
reg = <0x188 0x2>;
bits = <5 5>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)