summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShaohui Xie <Shaohui.Xie@freescale.com>2013-09-27 06:24:48 (GMT)
committerJose Rivera <German.Rivera@freescale.com>2014-03-17 19:14:56 (GMT)
commite10d0c7c6a47531c77d5e29180e6356987193ee6 (patch)
tree6ae6452b119b68d7d2a15b71f31a781d9c683fb4
parentf19244cb82bf4c607465027e1cc7118ded40d10e (diff)
downloadlinux-fsl-qoriq-e10d0c7c6a47531c77d5e29180e6356987193ee6.tar.xz
powerpc/t4240/dts: add XFI PHY device nodes for 10GBASE-KR
10GBASE-KR use XFI PCS(Physical Coding Sublayer) module. Each PCS is driven by the corresponding MAC's MDIO. 10GBASE-KR will use PCS module to do auto-negotiation and link training. So, add XFI PHY device nodes for each 10G MAC. Signed-off-by: Shaohui Xie <Shaohui.Xie@freescale.com> Change-Id: I69609ff42eba95dbed978850bf07fe0c360c9ce2 Reviewed-on: http://git.am.freescale.net:8181/9664 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Tiefei Zang <tie-fei.zang@freescale.com> Reviewed-by: Jose Rivera <German.Rivera@freescale.com>
-rw-r--r--arch/powerpc/boot/dts/t4240qds.dts44
1 files changed, 44 insertions, 0 deletions
diff --git a/arch/powerpc/boot/dts/t4240qds.dts b/arch/powerpc/boot/dts/t4240qds.dts
index 618fa1e..abaeb82 100644
--- a/arch/powerpc/boot/dts/t4240qds.dts
+++ b/arch/powerpc/boot/dts/t4240qds.dts
@@ -64,6 +64,14 @@
sgmii_phy42 = &sgmiiphy42;
sgmii_phy43 = &sgmiiphy43;
sgmii_phy44 = &sgmiiphy44;
+ phy_xfi1 = &xfiphy1;
+ phy_xfi2 = &xfiphy2;
+ phy_xfi3 = &xfiphy3;
+ phy_xfi4 = &xfiphy4;
+ xfi_pcs_mdio1 = &xfimdio0;
+ xfi_pcs_mdio2 = &xfimdio1;
+ xfi_pcs_mdio3 = &xfimdio2;
+ xfi_pcs_mdio4 = &xfimdio3;
emi1_rgmii = &t4240mdio0;
emi1_slot1 = &t4240mdio1;
emi1_slot2 = &t4240mdio2;
@@ -402,6 +410,24 @@
phy-connection-type = "xgmii";
};
+ xfimdio0: mdio@f1000 {
+ status = "disabled";
+ xfiphy1: ethernet-phy@0 {
+ compatible = "ethernet-phy-ieee802.3-c45";
+ lane-instance = "serdes-2,lane-a";
+ reg = <0x0>;
+ };
+ };
+
+ xfimdio1: mdio@f3000 {
+ status = "disabled";
+ xfiphy2: ethernet-phy@0 {
+ compatible = "ethernet-phy-ieee802.3-c45";
+ lane-instance = "serdes-2,lane-b";
+ reg = <0x0>;
+ };
+ };
+
mdio@fc000 {
status = "disabled";
};
@@ -468,6 +494,24 @@
phy-connection-type = "xgmii";
};
+ xfimdio2: mdio@f1000 {
+ status = "disabled";
+ xfiphy3: ethernet-phy@0 {
+ compatible = "ethernet-phy-ieee802.3-c45";
+ lane-instance = "serdes-2,lane-d";
+ reg = <0x0>;
+ };
+ };
+
+ xfimdio3: mdio@f3000 {
+ status = "disabled";
+ xfiphy4: ethernet-phy@0 {
+ compatible = "ethernet-phy-ieee802.3-c45";
+ lane-instance = "serdes-2,lane-c";
+ reg = <0x0>;
+ };
+ };
+
mdio0: mdio@fc000 {
};