[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20210519090525.1788-3-linkmauve@linkmauve.fr>
Date: Wed, 19 May 2021 11:05:23 +0200
From: Emmanuel Gil Peyrot <linkmauve@...kmauve.fr>
To: Srinivas Kandagatla <srinivas.kandagatla@...aro.org>,
linuxppc-dev@...ts.ozlabs.org, devicetree@...r.kernel.org
Cc: Emmanuel Gil Peyrot <linkmauve@...kmauve.fr>,
Ash Logan <ash@...quark.com>,
Jonathan Neuschäfer <j.ne@...teo.net>,
Rob Herring <robh+dt@...nel.org>,
Michael Ellerman <mpe@...erman.id.au>,
Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Paul Mackerras <paulus@...ba.org>, linux-kernel@...r.kernel.org
Subject: [PATCH 2/4] dt-bindings: nintendo-otp: Document the Wii and Wii U OTP support
Both of these consoles use the exact same two registers, even at the
same address, but the Wii U has eight banks of 128 bytes memory while
the Wii only has one, hence the two compatible strings.
Signed-off-by: Emmanuel Gil Peyrot <linkmauve@...kmauve.fr>
---
.../devicetree/bindings/nvmem/nintendo-otp.txt | 14 ++++++++++++++
1 file changed, 14 insertions(+)
create mode 100644 Documentation/devicetree/bindings/nvmem/nintendo-otp.txt
diff --git a/Documentation/devicetree/bindings/nvmem/nintendo-otp.txt b/Documentation/devicetree/bindings/nvmem/nintendo-otp.txt
new file mode 100644
index 000000000000..b26d705ec52d
--- /dev/null
+++ b/Documentation/devicetree/bindings/nvmem/nintendo-otp.txt
@@ -0,0 +1,14 @@
+Nintendo Wii and Wii U OTP
+
+Required Properties:
+- compatible: depending on the console this should be one of:
+ - "nintendo,hollywood-otp" for the Wii
+ - "nintendo,latte-otp" for the Wii U
+- reg: base address and size of the OTP registers
+
+
+Example:
+ otp@...01ec {
+ compatible = "nintendo,latte-otp";
+ reg = <0x0d8001ec 0x8>;
+ };
--
2.31.1
Powered by blists - more mailing lists