]> git.baikalelectronics.ru Git - kernel.git/commitdiff
powerpc: wii.dts: Expose the OTP on this platform
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>
Sun, 1 Aug 2021 07:38:21 +0000 (09:38 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 13 Aug 2021 12:04:25 +0000 (22:04 +1000)
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
arch/powerpc/boot/dts/wii.dts

index c5fb54f8cc02ad4c6e0ff25320dd35d7975ad62e..e9c945b123c60822a88d623f0d0700e5f73e9b63 100644 (file)
                        /*
                         * 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>;