xref: /freebsd/sys/contrib/device-tree/Bindings/nvmem/microchip,lan9662-otpc.yaml (revision a64729f5077d77e13b9497cb33ecb3c82e606ee8)
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/nvmem/microchip,lan9662-otpc.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Microchip LAN9662 OTP Controller (OTPC)
8
9maintainers:
10  - Horatiu Vultur <horatiu.vultur@microchip.com>
11
12description: |
13  OTP controller drives a NVMEM memory where system specific data
14  (e.g. hardware configuration settings, chip identifiers) or
15  user specific data could be stored.
16
17allOf:
18  - $ref: nvmem.yaml#
19
20properties:
21  compatible:
22    oneOf:
23      - items:
24          - const: microchip,lan9668-otpc
25          - const: microchip,lan9662-otpc
26      - enum:
27          - microchip,lan9662-otpc
28
29  reg:
30    maxItems: 1
31
32required:
33  - compatible
34  - reg
35
36unevaluatedProperties: false
37
38examples:
39  - |
40    otpc: otp@e0021000 {
41        compatible = "microchip,lan9662-otpc";
42        reg = <0xe0021000 0x300>;
43    };
44
45...
46