powerpc: wii.dts: Expose HW_SRNPROT on this platform

This Hollywood register isn’t properly understood, but can allow or
reject access to the SRAM, which we need to set for RTC usage if it
isn’t previously set correctly beforehand.

See https://wiibrew.org/wiki/Hardware/Hollywood_Registers#HW_SRNPROT

Signed-off-by: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
Acked-by: Michael Ellerman <mpe@ellerman.id.au> (powerpc)
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20211215175501.6761-4-linkmauve@linkmauve.fr
This commit is contained in:
Emmanuel Gil Peyrot 2021-12-15 18:54:59 +01:00 коммит произвёл Alexandre Belloni
Родитель 322539a014
Коммит 5479618e1e
1 изменённых файлов: 5 добавлений и 0 удалений

Просмотреть файл

@ -168,6 +168,11 @@
interrupts = <14>;
};
srnprot@d800060 {
compatible = "nintendo,hollywood-srnprot";
reg = <0x0d800060 0x4>;
};
GPIO: gpio@d8000c0 {
#gpio-cells = <2>;
compatible = "nintendo,hollywood-gpio";