xref: /freebsd/sys/contrib/device-tree/Bindings/nvmem/nintendo-otp.yaml (revision 02e9120893770924227138ba49df1edb3896112a)
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
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