]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: wii.dts: Reduce the size of the control area
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>
Sun, 1 Aug 2021 07:38:20 +0000 (09:38 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 13 Aug 2021 12:04:25 +0000 (22:04 +1000)
commit51482b35e890b64754037cabad1765a16fa949a2
tree0763c538e16175261bb8e7539fafa2907fd4d46f
parent71e688139a59344602ec360f7931e82312e75461
powerpc: wii.dts: Reduce the size of the control area

This is wrong, but needed in order to avoid overlapping ranges with the
OTP area added in the next commit.  A refactor of this part of the
device tree is needed: according to Wiibrew[1], this area starts at
0x0d800000 and spans 0x400 bytes (that is, 0x100 32-bit registers),
encompassing PIC and GPIO registers, amongst the ones already exposed in
this device tree, which should become children of the control@d800000
node.

[1] https://wiibrew.org/wiki/Hardware/Hollywood_Registers

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-4-linkmauve@linkmauve.fr
arch/powerpc/boot/dts/wii.dts