EEPROM / CSR SMBus-slave interface of IDT 89HPESx devices

Schema identifier ($id): "http://devicetree.org/schemas/misc/idt,89hpesx.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Serge Semin <fancer.lancer@gmail.com>"

Automatic schema selection (select) #

Properties and child nodes (properties) #

compatible — required here #

Rule for matching array elements (contains)

String pattern (pattern): "^idt,89hpes"

Required in this object (required): "compatible"

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

String pattern (pattern): "^idt,89hpes(8nt2|12nt3|12n3a?|24n3a?|(12|24)t3g2|4t4g2|10t4g2|[56]t5|8t5a?)$"

Rule 2

String pattern (pattern): "^idt,89hpes(6t6g2|16t7|(24t6|32t8|48t12|16t4a?)(g2)?)$"

Rule 3

String pattern (pattern): "^idt,89hpes(24nt6a|32nt8[ab]|12nt12|16nt16|24nt24|32nt24[ab])g2$"

Rule 4

String pattern (pattern): "^idt,89hpes((32h8|48h12a?|22h16|34h16|64h16a?)(g2)?|16h16)$"

reg — required here #

Maximum number of items (maxItems): 1

#address-cells — not listed as required here #

Exact value (const): 1

#size-cells — not listed as required here #

Exact value (const): 0

Properties matching a name pattern (patternProperties) #

^eeprom@ — name matches this regular expression #

Shared schema rule ($ref): /schemas/eeprom/at24.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Only a subset of devices are supported

String pattern (pattern): ",24c(32|64|128|256|512)$"

Required in this object (required): "compatible", "reg"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    idt@74 {
        compatible = "idt,89hpes32nt8ag2";
        reg = <0x74>;
        #address-cells = <1>;
        #size-cells = <0>;

        eeprom@50 {
            compatible = "atmel,24c64";
            reg = <0x50>;
            read-only;
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Edit this page