[POWERPC] 4xx: Add RGMII support for Sequoia 440EPx
This adds RGMII support to Sequoia DTS and sets correct phy-mode for EMACs. According to Sequoia datasheet, both ethernet ports are connected to RGMII interface, while ZMII is used only for MDIO. Signed-off-by: Valentine Barshak <vbarshak@ru.mvista.com> Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
This commit is contained in:
committed by
Josh Boyer
parent
4fa4d23fa2
commit
1f69dcfdae
@@ -241,6 +241,12 @@
|
|||||||
reg = <ef600d00 c>;
|
reg = <ef600d00 c>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
RGMII0: emac-rgmii@ef601000 {
|
||||||
|
device_type = "rgmii-interface";
|
||||||
|
compatible = "ibm,rgmii-440epx", "ibm,rgmii";
|
||||||
|
reg = <ef601000 8>;
|
||||||
|
};
|
||||||
|
|
||||||
EMAC0: ethernet@ef600e00 {
|
EMAC0: ethernet@ef600e00 {
|
||||||
linux,network-index = <0>;
|
linux,network-index = <0>;
|
||||||
device_type = "network";
|
device_type = "network";
|
||||||
@@ -261,10 +267,12 @@
|
|||||||
max-frame-size = <5dc>;
|
max-frame-size = <5dc>;
|
||||||
rx-fifo-size = <1000>;
|
rx-fifo-size = <1000>;
|
||||||
tx-fifo-size = <800>;
|
tx-fifo-size = <800>;
|
||||||
phy-mode = "rmii";
|
phy-mode = "rgmii";
|
||||||
phy-map = <00000000>;
|
phy-map = <00000000>;
|
||||||
zmii-device = <&ZMII0>;
|
zmii-device = <&ZMII0>;
|
||||||
zmii-channel = <0>;
|
zmii-channel = <0>;
|
||||||
|
rgmii-device = <&RGMII0>;
|
||||||
|
rgmii-channel = <0>;
|
||||||
};
|
};
|
||||||
|
|
||||||
EMAC1: ethernet@ef600f00 {
|
EMAC1: ethernet@ef600f00 {
|
||||||
@@ -287,10 +295,12 @@
|
|||||||
max-frame-size = <5dc>;
|
max-frame-size = <5dc>;
|
||||||
rx-fifo-size = <1000>;
|
rx-fifo-size = <1000>;
|
||||||
tx-fifo-size = <800>;
|
tx-fifo-size = <800>;
|
||||||
phy-mode = "rmii";
|
phy-mode = "rgmii";
|
||||||
phy-map = <00000000>;
|
phy-map = <00000000>;
|
||||||
zmii-device = <&ZMII0>;
|
zmii-device = <&ZMII0>;
|
||||||
zmii-channel = <1>;
|
zmii-channel = <1>;
|
||||||
|
rgmii-device = <&RGMII0>;
|
||||||
|
rgmii-channel = <1>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@@ -50,6 +50,7 @@ config 440EPX
|
|||||||
select PPC_FPU
|
select PPC_FPU
|
||||||
# Disabled until the new EMAC Driver is merged.
|
# Disabled until the new EMAC Driver is merged.
|
||||||
# select IBM_NEW_EMAC_EMAC4
|
# select IBM_NEW_EMAC_EMAC4
|
||||||
|
# select IBM_NEW_EMAC_RGMII
|
||||||
# select IBM_NEW_EMAC_ZMII
|
# select IBM_NEW_EMAC_ZMII
|
||||||
|
|
||||||
config 440GP
|
config 440GP
|
||||||
|
Reference in New Issue
Block a user