summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/boot
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2021-08-01 09:38:21 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2021-08-13 22:04:25 +1000
commit562a610b4c5119034aed300f6ae212ec7a20c4b4 (patch)
treee7a2397eea1cb1d60d17540f22e85bef20a2ece7 /arch/powerpc/boot
parentb11748e693166679acc13c8a4328a71efe1d4a89 (diff)
downloadlinux-562a610b4c5119034aed300f6ae212ec7a20c4b4.tar.bz2
powerpc: wii.dts: Expose the OTP on this platform
This can be used by the newly-added nintendo-otp nvmem module. Signed-off-by: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20210801073822.12452-5-linkmauve@linkmauve.fr
Diffstat (limited to 'arch/powerpc/boot')
-rw-r--r--arch/powerpc/boot/dts/wii.dts9
1 files changed, 7 insertions, 2 deletions
diff --git a/arch/powerpc/boot/dts/wii.dts b/arch/powerpc/boot/dts/wii.dts
index c5fb54f8cc02..e9c945b123c6 100644
--- a/arch/powerpc/boot/dts/wii.dts
+++ b/arch/powerpc/boot/dts/wii.dts
@@ -219,12 +219,17 @@
/*
* Both the address and length are wrong, according to
* Wiibrew this should be <0x0d800000 0x400>, but it
- * requires refactoring the PIC1 and GPIO nodes before
- * changing that.
+ * requires refactoring the PIC1, GPIO and OTP nodes
+ * before changing that.
*/
reg = <0x0d800100 0xa0>;
};
+ otp@d8001ec {
+ compatible = "nintendo,hollywood-otp";
+ reg = <0x0d8001ec 0x8>;
+ };
+
disk@d806000 {
compatible = "nintendo,hollywood-di";
reg = <0x0d806000 0x40>;