linux/arch/powerpc/boot/dts
David Gibson e58ca3de64 [POWERPC] Fix problems with device tree representation of TSI-1xx bridges
This fixes some problems with the way the some things
represented in the device tree for the Holly and Taiga boards.  This
means changes both to the dts files, and to the code which
instantiates the tsi108 ethernet platform devices based on the device
tree.

	- First, and most importantly, the ethernet PHYs are given
with an identical 'reg' property.  This reg currently encodes the
accessible register used to initiate mdio interaction with the PHYs,
rather than a meaningful address on the parent bus (mdio in this
case), which is incorrect.  Instead we give the address of these
registers as 'reg' in the mdio node itself, and encode the ID of each
phy in their 'reg' propertyies.
	- Currently the platform device constructor enables a
workaround in the tsi108 ethernet driver based on the compatible
property of the PHY.  This is incorrect, because the workaround in
question is necessary due to the board's wiring of the PHY, not the
model of PHY itself.  This patch alters the constructor to instead
enable the workaround based on a new special property in the PHY node.
	- The compatible properties on a number of nodes in the device
tree are insufficiently precise.  In particular the PHYs give only
"bcm54xx", which is broken, since there are many bcm54xx PHY models,
and they have differences which matter.  The mdio had a compatible
property of "tsi-ethernet" identical to the ethernet MAC nodes, which
doesn't make sense.  The ethernet, i2c, bridge and PCI nodes were
given only as "tsi-*" which is somewhat inprecise, we replace with
"tsi108-*" in the case of Taiga (which has a TSI108 bridge), and
"tsi109-*", "tsi108-*" in the case of Holly (which has a TSI109
bridge).
	- We remove some "model" properties from the ethernets on
Taiga board which were neither useful nor adequately precise.
	- On Holly we change to using a dtc label instead of a full
path to reference the MPIC node, which makes the dts a little more
readable.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2007-06-14 22:30:17 +10:00
..
ebony.dts [POWERPC] Derive ebc ranges property from EBC registers 2007-06-14 22:30:16 +10:00
holly.dts [POWERPC] Fix problems with device tree representation of TSI-1xx bridges 2007-06-14 22:30:17 +10:00
kuroboxHD.dts [POWERPC] Removed hardcoded phandles from dts 2007-05-17 21:10:17 +10:00
kuroboxHG.dts [POWERPC] Removed hardcoded phandles from dts 2007-05-17 21:10:17 +10:00
lite5200.dts [POWERPC] 52xx: unbreak lite5200 dts (_pic vs. -pic) 2007-05-23 07:18:00 -05:00
lite5200b.dts [POWERPC] 52xx: unbreak lite5200 dts (_pic vs. -pic) 2007-05-23 07:18:00 -05:00
mpc832x_mds.dts [POWERPC] 83xx: Fix the PCI ranges in the MPC832x_MDS device tree. 2007-05-09 23:06:11 -05:00
mpc832x_rdb.dts [POWERPC] Replace undocumented interface properties in dts files 2007-05-02 20:04:29 +10:00
mpc834x_mds.dts [POWERPC] 83xx: Fix the PCI ranges in the MPC834x_MDS device tree. 2007-05-09 23:07:52 -05:00
mpc836x_mds.dts [POWERPC] Replace undocumented interface properties in dts files 2007-05-02 20:04:29 +10:00
mpc866ads.dts [POWERPC] Remove unused, undocumented #cpus property from cpus node 2007-03-09 15:03:24 +11:00
mpc885ads.dts [POWERPC] Remove unused, undocumented #cpus property from cpus node 2007-03-09 15:03:24 +11:00
mpc7448hpc2.dts [POWERPC] Fix problems with device tree representation of TSI-1xx bridges 2007-06-14 22:30:17 +10:00
mpc8272ads.dts [POWERPC] Remove unused, undocumented #cpus property from cpus node 2007-03-09 15:03:24 +11:00
mpc8313erdb.dts [POWERPC] Remove unused, undocumented #cpus property from cpus node 2007-03-09 15:03:24 +11:00
mpc8349emitx.dts [POWERPC] Remove unused, undocumented #cpus property from cpus node 2007-03-09 15:03:24 +11:00
mpc8349emitxgp.dts [POWERPC] Remove unused, undocumented #cpus property from cpus node 2007-03-09 15:03:24 +11:00
mpc8540ads.dts [POWERPC] 85xx: Add device nodes for error reporting devices used by EDAC 2007-05-17 21:10:16 +10:00
mpc8541cds.dts [POWERPC] 85xx: Add device nodes for error reporting devices used by EDAC 2007-05-17 21:10:17 +10:00
mpc8544ds.dts [POWERPC] 85xx: Add device nodes for error reporting devices used by EDAC 2007-05-17 21:10:17 +10:00
mpc8548cds.dts [POWERPC] 85xx: Add device nodes for error reporting devices used by EDAC 2007-05-17 21:10:16 +10:00
mpc8555cds.dts [POWERPC] 85xx: Add device nodes for error reporting devices used by EDAC 2007-05-17 21:10:17 +10:00
mpc8560ads.dts [POWERPC] 85xx: Add device nodes for error reporting devices used by EDAC 2007-05-17 21:10:16 +10:00
mpc8568mds.dts [POWERPC] 85xx: Add device nodes for error reporting devices used by EDAC 2007-05-17 21:10:17 +10:00
mpc8641_hpcn.dts [POWERPC] 86xx: Added 2nd PCI-Ex controller support for MPC8641 HPCN to DTS. 2007-03-26 17:02:40 -05:00
prpmc2800.dts [POWERPC] Add DTS file for the Motorola PrPMC2800 platform 2007-05-12 11:32:50 +10:00