1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/nvmem/nintendo-otp.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Nintendo Wii and Wii U OTP Device Tree Bindings
8
9description: |
10  This binding represents the OTP memory as found on a Nintendo Wii or Wii U,
11  which contains common and per-console keys, signatures and related data
12  required to access peripherals.
13
14  See https://wiiubrew.org/wiki/Hardware/OTP
15
16maintainers:
17  - Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
18
19allOf:
20  - $ref: "nvmem.yaml#"
21
22properties:
23  compatible:
24    enum:
25      - nintendo,hollywood-otp
26      - nintendo,latte-otp
27
28  reg:
29    maxItems: 1
30
31required:
32  - compatible
33  - reg
34
35unevaluatedProperties: false
36
37examples:
38  - |
39    otp@d8001ec {
40        compatible = "nintendo,latte-otp";
41        reg = <0x0d8001ec 0x8>;
42    };
43
44...
45