Skip to contentSkip to conversation

PATCH[1/1] 8xx: Add clock-frequency to Adder875 and mpc885ads board ports

PATCH Bryan O'Donoghue 2 participants 3 messages Jan 30, 2008 – Feb 2, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Redo the addition of the clock-frequency parameter to the Adder875 .dts so that the values are decimal rather then hex.

---

(quoted diff) +0 -0

b/arch/powerpc/boot/dts/adder875-redboot.dts
index 7c25d96..c508f3c 100644

arch/powerpc/boot/dts/adder875-redboot.dts +1 -0
@@ -149,6 +149,7 @@
                                compatible = "fsl,mpc875-brg",
                                             "fsl,cpm1-brg",
                                             "fsl,cpm-brg";
+                               clock-frequency = <50000000>;
                                reg = <0x9f0 0x10>;
                        };
 
(quoted diff) +0 -0

b/arch/powerpc/boot/dts/adder875-uboot.dts
index 605202f..d7ac416 100644

arch/powerpc/boot/dts/adder875-uboot.dts +1 -0
@@ -148,6 +148,7 @@
                                compatible = "fsl,mpc875-brg",
                                             "fsl,cpm1-brg",
                                             "fsl,cpm-brg";
+                               clock-frequency = <50000000>;
                               reg = <0x9f0 0x10>;
                        };
 
(quoted diff) +0 -0

b/arch/powerpc/boot/dts/mpc885ads.dts
index 8848e63..f2a437b 100644

arch/powerpc/boot/dts/mpc885ads.dts +1 -0
@@ -166,6 +166,7 @@
                                compatible = "fsl,mpc885-brg",
                                             "fsl,cpm1-brg",
                                             "fsl,cpm-brg";
+                               clock-frequency = <0>;
                                reg = <9f0 10>;
                        };
#1 lore raw
Quoted 13 lines · Bryan O'Donoghue

Redo the addition of the clock-frequency parameter to the Adder875 .dts so that the values are decimal rather then hex.

---

arch/powerpc/boot/dts/adder875-redboot.dts +0 -0
index 7c25d96..c508f3c 100644

arch/powerpc/boot/dts/adder875-redboot.dts line 154

Quoted 6 lines
arch/powerpc/boot/dts/adder875-redboot.dts +1 -0
@@ -149,6 +149,7 @@
                                compatible = "fsl,mpc875-brg",
                                             "fsl,cpm1-brg",
                                             "fsl,cpm-brg";
+                               clock-frequency = <50000000>;
                                reg = <0x9f0 0x10>;
                        };

This patch is whitespace-mangled (all tabs are spaces, even in quoted sections).

-Scott

#2 lore raw
Quoted 8 lines · Scott Wood
Quoted 7 lines · Bryan O'Donoghue

Redo the addition of the clock-frequency parameter to the Adder875 .dts so that the values are decimal rather then hex.

---

Quoted 12 lines

arch/powerpc/boot/dts/adder875-redboot.dts line 154

Quoted 12 lines
arch/powerpc/boot/dts/adder875-redboot.dts +1 -0
index 7c25d96..c508f3c 100644
@@ -149,6 +149,7 @@
                                compatible = "fsl,mpc875-brg",
                                             "fsl,cpm1-brg",
                                             "fsl,cpm-brg";
+                               clock-frequency = <50000000>;
                                reg = <0x9f0 0x10>;
                        };

Actually I was wondering myself why the file was using whitespace instead of tabs - no doubt something to do with copying between evolution + gedit.

Will fix this up with vim