Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=1f69dcfdaef84614b3ac7ac113d1b9a286afb9a0
Commit:     1f69dcfdaef84614b3ac7ac113d1b9a286afb9a0
Parent:     4fa4d23fa20de67df919030c1216295664866ad7
Author:     Valentine Barshak <[EMAIL PROTECTED]>
AuthorDate: Tue Oct 2 00:12:09 2007 +1000
Committer:  Josh Boyer <[EMAIL PROTECTED]>
CommitDate: Fri Oct 19 16:17:08 2007 -0500

    [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 <[EMAIL PROTECTED]>
    Signed-off-by: Josh Boyer <[EMAIL PROTECTED]>
---
 arch/powerpc/boot/dts/sequoia.dts  |   14 ++++++++++++--
 arch/powerpc/platforms/44x/Kconfig |    1 +
 2 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/arch/powerpc/boot/dts/sequoia.dts 
b/arch/powerpc/boot/dts/sequoia.dts
index 36be75b..8833dfe 100644
--- a/arch/powerpc/boot/dts/sequoia.dts
+++ b/arch/powerpc/boot/dts/sequoia.dts
@@ -241,6 +241,12 @@
                                reg = <ef600d00 c>;
                        };
 
+                       RGMII0: [EMAIL PROTECTED] {
+                               device_type = "rgmii-interface";
+                               compatible = "ibm,rgmii-440epx", "ibm,rgmii";
+                               reg = <ef601000 8>;
+                       };
+
                        EMAC0: [EMAIL PROTECTED] {
                                linux,network-index = <0>;
                                device_type = "network";
@@ -261,10 +267,12 @@
                                max-frame-size = <5dc>;
                                rx-fifo-size = <1000>;
                                tx-fifo-size = <800>;
-                               phy-mode = "rmii";
+                               phy-mode = "rgmii";
                                phy-map = <00000000>;
                                zmii-device = <&ZMII0>;
                                zmii-channel = <0>;
+                               rgmii-device = <&RGMII0>;
+                               rgmii-channel = <0>;
                        };
 
                        EMAC1: [EMAIL PROTECTED] {
@@ -287,10 +295,12 @@
                                max-frame-size = <5dc>;
                                rx-fifo-size = <1000>;
                                tx-fifo-size = <800>;
-                               phy-mode = "rmii";
+                               phy-mode = "rgmii";
                                phy-map = <00000000>;
                                zmii-device = <&ZMII0>;
                                zmii-channel = <1>;
+                               rgmii-device = <&RGMII0>;
+                               rgmii-channel = <1>;
                        };
                };
        };
diff --git a/arch/powerpc/platforms/44x/Kconfig 
b/arch/powerpc/platforms/44x/Kconfig
index 51f3ea4..49a4f09 100644
--- a/arch/powerpc/platforms/44x/Kconfig
+++ b/arch/powerpc/platforms/44x/Kconfig
@@ -50,6 +50,7 @@ config 440EPX
        select PPC_FPU
 # Disabled until the new EMAC Driver is merged.
 #      select IBM_NEW_EMAC_EMAC4
+#      select IBM_NEW_EMAC_RGMII
 #      select IBM_NEW_EMAC_ZMII
 
 config 440GP
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to