brintos

brintos / linux-shallow public Read only

0
0
Text · 1.6 KiB · 452236e Raw
73 lines · yaml
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause2%YAML 1.23---4$id: http://devicetree.org/schemas/misc/idt,89hpesx.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: EEPROM / CSR SMBus-slave interface of IDT 89HPESx devices8 9maintainers:10  - Serge Semin <fancer.lancer@gmail.com>11 12select:13  properties:14    compatible:15      contains:16        pattern: '^idt,89hpes'17  required:18    - compatible19 20properties:21  compatible:22    oneOf:23      - pattern: '^idt,89hpes(8nt2|12nt3|12n3a?|24n3a?|(12|24)t3g2|4t4g2|10t4g2|[56]t5|8t5a?)$'24      - pattern: '^idt,89hpes(6t6g2|16t7|(24t6|32t8|48t12|16t4a?)(g2)?)$'25      - pattern: '^idt,89hpes(24nt6a|32nt8[ab]|12nt12|16nt16|24nt24|32nt24[ab])g2$'26      - pattern: '^idt,89hpes((32h8|48h12a?|22h16|34h16|64h16a?)(g2)?|16h16)$'27 28  reg:29    maxItems: 130 31  '#address-cells':32    const: 133  34  '#size-cells':35    const: 036 37patternProperties:38  '^eeprom@':39    $ref: /schemas/eeprom/at24.yaml#40    unevaluatedProperties: false41 42    properties:43      compatible:44        description: Only a subset of devices are supported45        pattern: ',24c(32|64|128|256|512)$'46 47required:48  - compatible49  - reg50 51additionalProperties: false52 53examples:54  - |55    i2c {56        #address-cells = <1>;57        #size-cells = <0>;58 59        idt@74 {60            compatible = "idt,89hpes32nt8ag2";61            reg = <0x74>;62            #address-cells = <1>;63            #size-cells = <0>;64 65            eeprom@50 {66                compatible = "atmel,24c64";67                reg = <0x50>;68                read-only;69            };70        };71    };72...73