Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 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 | |
| 7 | title: Nintendo Wii and Wii U OTP |
| 8 | |
| 9 | description: | |
| 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 | |
| 16 | maintainers: |
| 17 | - Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
| 18 | |
| 19 | allOf: |
| 20 | - $ref: nvmem.yaml# |
| 21 | |
| 22 | properties: |
| 23 | compatible: |
| 24 | enum: |
| 25 | - nintendo,hollywood-otp |
| 26 | - nintendo,latte-otp |
| 27 | |
| 28 | reg: |
| 29 | maxItems: 1 |
| 30 | |
| 31 | required: |
| 32 | - compatible |
| 33 | - reg |
| 34 | |
| 35 | unevaluatedProperties: false |
| 36 | |
| 37 | examples: |
| 38 | - | |
| 39 | otp@d8001ec { |
| 40 | compatible = "nintendo,latte-otp"; |
| 41 | reg = <0x0d8001ec 0x8>; |
| 42 | }; |
| 43 | |
| 44 | ... |