summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/boot/dts/mpc8378_rdb.dts
diff options
context:
space:
mode:
authorAndy Fleming2008-12-17 00:29:15 +0100
committerDavid S. Miller2008-12-17 00:29:15 +0100
commitb31a1d8b41513b96e9c7ec2f68c5734cef0b26a4 (patch)
treef8643c2fd1b137dd6c00bcd385ad36adfca4f540 /arch/powerpc/boot/dts/mpc8378_rdb.dts
parentgianfar: Use gfar_halt to stop DMA in gfar_probe (diff)
downloadkernel-qcow2-linux-b31a1d8b41513b96e9c7ec2f68c5734cef0b26a4.tar.gz
kernel-qcow2-linux-b31a1d8b41513b96e9c7ec2f68c5734cef0b26a4.tar.xz
kernel-qcow2-linux-b31a1d8b41513b96e9c7ec2f68c5734cef0b26a4.zip
gianfar: Convert gianfar to an of_platform_driver
Does the same for the accompanying MDIO driver, and then modifies the TBI configuration method. The old way used fields in einfo, which no longer exists. The new way is to create an MDIO device-tree node for each instance of gianfar, and create a tbi-handle property to associate ethernet controllers with the TBI PHYs they are connected to. Signed-off-by: Andy Fleming <afleming@freescale.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/powerpc/boot/dts/mpc8378_rdb.dts')
-rw-r--r--arch/powerpc/boot/dts/mpc8378_rdb.dts17
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/powerpc/boot/dts/mpc8378_rdb.dts b/arch/powerpc/boot/dts/mpc8378_rdb.dts
index b11e68f56a06..7a2bad038bd6 100644
--- a/arch/powerpc/boot/dts/mpc8378_rdb.dts
+++ b/arch/powerpc/boot/dts/mpc8378_rdb.dts
@@ -211,8 +211,25 @@
reg = <0x2>;
device_type = "ethernet-phy";
};
+ tbi0: tbi-phy@11 {
+ reg = <0x11>;
+ device_type = "tbi-phy";
+ };
+ };
+
+ mdio@25520 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ compatible = "fsl,gianfar-tbi";
+ reg = <0x25520 0x20>;
+
+ tbi1: tbi-phy@11 {
+ reg = <0x11>;
+ device_type = "tbi-phy";
+ };
};
+
enet0: ethernet@24000 {
cell-index = <0>;
device_type = "network";