summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/nvmem/nintendo-otp.yaml
blob: f93bc50c40d70d4e16eaaa3102bd70e858e98914 (plain)
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
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
%YAML 1.2
---
$id: http://devicetree.org/schemas/nvmem/nintendo-otp.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Nintendo Wii and Wii U OTP

description: |
  This binding represents the OTP memory as found on a Nintendo Wii or Wii U,
  which contains common and per-console keys, signatures and related data
  required to access peripherals.

  See https://wiiubrew.org/wiki/Hardware/OTP

maintainers:
  - Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>

allOf:
  - $ref: "nvmem.yaml#"

properties:
  compatible:
    enum:
      - nintendo,hollywood-otp
      - nintendo,latte-otp

  reg:
    maxItems: 1

required:
  - compatible
  - reg

unevaluatedProperties: false

examples:
  - |
    otp@d8001ec {
        compatible = "nintendo,latte-otp";
        reg = <0x0d8001ec 0x8>;
    };

...