0001 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/nvmem/nintendo-otp.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: Nintendo Wii and Wii U OTP Device Tree Bindings
0008
0009 description: |
0010 This binding represents the OTP memory as found on a Nintendo Wii or Wii U,
0011 which contains common and per-console keys, signatures and related data
0012 required to access peripherals.
0013
0014 See https://wiiubrew.org/wiki/Hardware/OTP
0015
0016 maintainers:
0017 - Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
0018
0019 allOf:
0020 - $ref: "nvmem.yaml#"
0021
0022 properties:
0023 compatible:
0024 enum:
0025 - nintendo,hollywood-otp
0026 - nintendo,latte-otp
0027
0028 reg:
0029 maxItems: 1
0030
0031 required:
0032 - compatible
0033 - reg
0034
0035 unevaluatedProperties: false
0036
0037 examples:
0038 - |
0039 otp@d8001ec {
0040 compatible = "nintendo,latte-otp";
0041 reg = <0x0d8001ec 0x8>;
0042 };
0043
0044 ...