xref: /linux/Documentation/devicetree/bindings/nvmem/microchip,lan9662-otpc.yaml (revision 3a2c4d55e32ad65efebdb6de44eef3bfa08bb49d)
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          - microchip,lan9691-otpc
29
30  reg:
31    maxItems: 1
32
33required:
34  - compatible
35  - reg
36
37unevaluatedProperties: false
38
39examples:
40  - |
41    otpc: otp@e0021000 {
42        compatible = "microchip,lan9662-otpc";
43        reg = <0xe0021000 0x300>;
44    };
45
46...
47