linux/arch/powerpc/sysdev
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
..
qe_lib [POWERPC] QE: fix Kconfig 'select' warning with UCC_FAST 2007-05-23 07:23:55 -05:00
commproc.c [POWERPC] Change rheap functions to use ulongs instead of pointers 2007-05-09 23:01:43 -05:00
cpm2_common.c [POWERPC] Change rheap functions to use ulongs instead of pointers 2007-05-09 23:01:43 -05:00
cpm2_pic.c [POWERPC] cpm2: CPM2 interrupt controller fix 2007-02-07 14:03:20 +11:00
cpm2_pic.h [POWERPC] cpm2: CPM2 interrupt controller fix 2007-02-07 14:03:20 +11:00
dart_iommu.c [POWERPC] DART iommu suspend 2007-05-07 20:31:14 +10:00
dart.h [POWERPC] Use 4kB iommu pages even on 64kB-page systems 2006-11-01 14:52:48 +11:00
dcr-low.S [POWERPC] Generic DCR infrastructure 2006-12-04 16:08:25 +11:00
dcr.c [POWERPC] Rename get_property to of_get_property: arch/powerpc 2007-04-13 03:55:19 +10:00
fsl_pcie.c [POWERPC] 86xx/85xx: Move 8641 PCI-Express to arch/powerpc/sysdev/fsl_pcie.c. 2007-03-26 17:03:25 -05:00
fsl_pcie.h [POWERPC] 86xx/85xx: Unify Freescale PCI Express memory map registers structure 2007-03-26 17:03:49 -05:00
fsl_soc.c [POWERPC] fsl_soc: Make mac_addr const in fs_enet_of_init(). 2007-05-09 16:35:00 +10:00
fsl_soc.h Merge branch 'upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/vitb/linux-2.6-PQ 2006-09-28 07:18:28 +10:00
grackle.c [POWERPC] Assign all PCI busses on G3 Blue & White 2007-02-07 14:03:22 +11:00
i8259.c [POWERPC] Fix CHRP platforms with only 8259 2006-10-25 13:49:22 +10:00
indirect_pci.c powerpc: Use arch/powerpc/mm and arch/powerpc/lib for 64-bit 2005-10-10 22:25:26 +10:00
ipic.c [POWERPC] 83xx: Return a point to the struct ipic from ipic_init() 2007-01-26 01:45:32 -06:00
ipic.h [POWERPC] Adapt ipic driver to new host_ops interface, add set_irq_type to set IRQ sense 2006-08-30 10:34:33 +10:00
Makefile [POWERPC] Add Marvell mv64x60 PCI bridge support 2007-05-12 11:32:50 +10:00
micropatch.c [POWERPC] 8xx: powerpc port of core CPM PIC 2007-02-07 14:03:17 +11:00
mmio_nvram.c [POWERPC] Fix cell's mmio nvram to properly parse device tree 2007-01-22 21:27:35 +11:00
mpc8xx_pic.c [POWERPC] 8xx: powerpc port of core CPM PIC 2007-02-07 14:03:17 +11:00
mpc8xx_pic.h [POWERPC] 8xx: powerpc port of core CPM PIC 2007-02-07 14:03:17 +11:00
mpic_msi.c [POWERPC] MPIC MSI allocator 2007-05-08 13:43:48 +10:00
mpic_u3msi.c [POWERPC] MPIC U3/U4 MSI backend 2007-05-08 13:46:48 +10:00
mpic.c [POWERPC] Remove warning in mpic.c 2007-05-17 21:11:14 +10:00
mpic.h [POWERPC] MPIC U3/U4 MSI backend 2007-05-08 13:46:48 +10:00
mv64x60_dev.c [POWERPC] Create Marvell mv64x60 I2C platform_data 2007-05-12 11:32:50 +10:00
mv64x60_pci.c [POWERPC] Add Marvell mv64x60 PCI bridge support 2007-05-12 11:32:50 +10:00
mv64x60_pic.c [POWERPC] Add interrupt support for Marvell mv64x60 chips 2007-05-12 11:32:49 +10:00
mv64x60.h [POWERPC] Add Marvell mv64x60 PCI bridge support 2007-05-12 11:32:50 +10:00
pmi.c [POWERPC] add of_iomap function 2007-04-23 21:44:40 +02:00
timer.c [POWERPC] arch/powerpc/sysdev/timer.c build fix 2007-04-30 11:02:05 +10:00
tsi108_dev.c [POWERPC] Fix problems with device tree representation of TSI-1xx bridges 2007-06-14 22:30:17 +10:00
tsi108_pci.c [POWERPC] Generalize tsi108 PCI setup 2007-05-08 11:54:20 +10:00
uic.c [POWERPC] Rename device_is_compatible to of_device_is_compatible 2007-05-07 20:31:14 +10:00