]> git.ipfire.org Git - thirdparty/u-boot.git/blob - Bindings/nvmem/microchip,lan9662-otpc.yaml
Squashed 'dts/upstream/' content from commit aaba2d45dc2a
[thirdparty/u-boot.git] / Bindings / nvmem / microchip,lan9662-otpc.yaml
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
7 title: Microchip LAN9662 OTP Controller (OTPC)
8
9 maintainers:
10 - Horatiu Vultur <horatiu.vultur@microchip.com>
11
12 description: |
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
17 allOf:
18 - $ref: nvmem.yaml#
19
20 properties:
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
32 required:
33 - compatible
34 - reg
35
36 unevaluatedProperties: false
37
38 examples:
39 - |
40 otpc: otp@e0021000 {
41 compatible = "microchip,lan9662-otpc";
42 reg = <0xe0021000 0x300>;
43 };
44
45 ...