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