Re: [RFC PATCH 02/19] powerpc: gamecube: device tree
From: Segher Boessenkool <hidden>
Date: 2009-11-24 22:46:55
From: Segher Boessenkool <hidden>
Date: 2009-11-24 22:46:55
quoted
The soc node here tries to represent the big multi-function chip that integrates most of the devices of the video game consoles ("Flipper" on the Nintendo GameCube and "Hollywood" on the Wii).Right. Much like many other SoCs.
It isn't a SoC, it's really just a memory bridge / I/O bridge like e.g. MPC10x. All the device addresses are fixed on the chip, there is no IMMR or similar. You can either group all devices under a "flipper" node, or just put the devices directly in the root node, and have a separate node for the generic control regs. Both are a good description of both the physical and logical structure, so it just comes down to taste. Good drivers can handle either structure btw, they should normally only look at "compatible" to find their devices, so it doesn't matter much anyway. Segher