Documentation / devicetree / bindings / nvmem / microchip,lan9662-otpc.yaml


Based on kernel version 6.8. Page generated on 2024-03-11 21:26 EST.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/nvmem/microchip,lan9662-otpc.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Microchip LAN9662 OTP Controller (OTPC)

maintainers:
  - Horatiu Vultur <horatiu.vultur@microchip.com>

description: |
  OTP controller drives a NVMEM memory where system specific data
  (e.g. hardware configuration settings, chip identifiers) or
  user specific data could be stored.

allOf:
  - $ref: nvmem.yaml#

properties:
  compatible:
    oneOf:
      - items:
          - const: microchip,lan9668-otpc
          - const: microchip,lan9662-otpc
      - enum:
          - microchip,lan9662-otpc

  reg:
    maxItems: 1

required:
  - compatible
  - reg

unevaluatedProperties: false

examples:
  - |
    otpc: otp@e0021000 {
        compatible = "microchip,lan9662-otpc";
        reg = <0xe0021000 0x300>;
    };
 
...