[POWERPC] 44x: Sequoia and Rainier updates for 2.6.25
authorValentine Barshak <vbarshak@ru.mvista.com>
Thu, 6 Dec 2007 16:21:12 +0000 (19:21 +0300)
committerJosh Boyer <jwboyer@linux.vnet.ibm.com>
Sun, 23 Dec 2007 19:27:58 +0000 (13:27 -0600)
PowerPC 440Epx/GRx Sequoia/Rainier updates for 2.6.25

Signed-off-by: Valentine Barshak <vbarshak@ru.mvista.com>
Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
arch/powerpc/boot/cuboot-rainier.c
arch/powerpc/boot/cuboot-sequoia.c
arch/powerpc/boot/dts/rainier.dts
arch/powerpc/boot/dts/sequoia.dts

index 1c1af31e317ab2355fed7d9dc81230c43c2e816c..6be15cad2f7ec1f04447fa04bfa4bcc593e5288b 100644 (file)
@@ -39,7 +39,7 @@ static void rainier_fixups(void)
 {
        unsigned long sysclk = 33333333;
 
-       ibm440ep_fixup_clocks(sysclk, 11059200);
+       ibm440ep_fixup_clocks(sysclk, 11059200, 50000000);
        ibm4xx_fixup_ebc_ranges("/plb/opb/ebc");
        ibm4xx_denali_fixup_memsize();
        dt_fixup_mac_addresses(&bd.bi_enetaddr, &bd.bi_enet1addr);
index 66b7eeb82b4684034a1622e1a8275745ac38617e..f555575a44ded1e2bf0adfd23856d9edebb3fd48 100644 (file)
@@ -39,7 +39,7 @@ static void sequoia_fixups(void)
 {
        unsigned long sysclk = 33333333;
 
-       ibm440ep_fixup_clocks(sysclk, 11059200, 25000000);
+       ibm440ep_fixup_clocks(sysclk, 11059200, 50000000);
        ibm4xx_fixup_ebc_ranges("/plb/opb/ebc");
        ibm4xx_denali_fixup_memsize();
        dt_fixup_mac_addresses(&bd.bi_enetaddr, &bd.bi_enet1addr);
index f29169e886f381172f44fde9c33692a522d10e93..cf1b95d1f14bb90822da09b8b771252fb9f832c4 100644 (file)
@@ -94,7 +94,6 @@
                clock-frequency = <0>; /* Filled in by zImage */
                
                SDRAM0: sdram {
-                       device_type = "memory-controller";
                        compatible = "ibm,sdram-440grx", "ibm,sdram-44x-ddr2denali";
                        dcr-reg = <010 2>;
                };
                                device_type = "rgmii-interface";
                                compatible = "ibm,rgmii-440grx", "ibm,rgmii";
                                reg = <ef601000 8>;
+                               has-mdio;
                        };
 
                        EMAC0: ethernet@ef600e00 {
                                zmii-channel = <0>;
                                rgmii-device = <&RGMII0>;
                                rgmii-channel = <0>;
+                               has-inverted-stacr-oc;
+                               has-new-stacr-staopc;
                        };
 
                        EMAC1: ethernet@ef600f00 {
                                zmii-channel = <1>;
                                rgmii-device = <&RGMII0>;
                                rgmii-channel = <1>;
+                               has-inverted-stacr-oc;
+                               has-new-stacr-staopc;
                        };
                };
        };
index b20e516287d180ed600587eef289df28c0026ffd..0c078483601c710364e587531e66188497209334 100644 (file)
@@ -94,7 +94,6 @@
                clock-frequency = <0>; /* Filled in by zImage */
 
                SDRAM0: sdram {
-                       device_type = "memory-controller";
                        compatible = "ibm,sdram-440epx", "ibm,sdram-44x-ddr2denali";
                        dcr-reg = <010 2>;
                };