Patchwork powerpc/86xx: Correct SOC bus-frequency in GE Fanuc SBC610 DTS

login
register
mail settings
Submitter Martyn Welch
Date Nov. 7, 2008, 1:43 p.m.
Message ID <20081107134343.7844.77855.stgit@ubuntu8041.localdomain>
Download mbox | patch
Permalink /patch/7713/
State Accepted, archived
Commit 33d2d78baaed06dda9f4de105388832850fb3555
Headers show

Comments

Martyn Welch - Nov. 7, 2008, 1:43 p.m.
This patch corrects the bus-frequency value provided in the SBC610's dts.

Signed-off-by: Martyn Welch <martyn.welch@gefanuc.com>
---

 arch/powerpc/boot/dts/gef_sbc610.dts |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Kumar Gala - Nov. 7, 2008, 2:45 p.m.
On Nov 7, 2008, at 7:43 AM, Martyn Welch wrote:

> This patch corrects the bus-frequency value provided in the SBC610's  
> dts.
>
> Signed-off-by: Martyn Welch <martyn.welch@gefanuc.com>
> ---
>
> arch/powerpc/boot/dts/gef_sbc610.dts |    2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/arch/powerpc/boot/dts/gef_sbc610.dts b/arch/powerpc/ 
> boot/dts/gef_sbc610.dts
> index fd2b606..1f7833c 100644
> --- a/arch/powerpc/boot/dts/gef_sbc610.dts
> +++ b/arch/powerpc/boot/dts/gef_sbc610.dts
> @@ -114,7 +114,7 @@
> 		compatible = "simple-bus";
> 		ranges = <0x0 0xfef00000 0x00100000>;
> 		reg = <0xfef00000 0x100000>;	// CCSRBAR 1M
> -		bus-frequency = <0>;
> +		bus-frequency = <33333333>;
>
> 		i2c1: i2c@3000 {
> 			#address-cells = <1>;

are we not fixing this up in u-boot?

- k
Martyn Welch - Nov. 7, 2008, 3:13 p.m.
On Fri, 7 Nov 2008 08:45:11 -0600
Kumar Gala <galak@kernel.crashing.org> wrote:
> 
> On Nov 7, 2008, at 7:43 AM, Martyn Welch wrote:
> 
> > This patch corrects the bus-frequency value provided in the SBC610's  
> > dts.
> >
> > Signed-off-by: Martyn Welch <martyn.welch@gefanuc.com>
> > ---
> >
> > arch/powerpc/boot/dts/gef_sbc610.dts |    2 +-
> > 1 files changed, 1 insertions(+), 1 deletions(-)
> >
> > diff --git a/arch/powerpc/boot/dts/gef_sbc610.dts b/arch/powerpc/ 
> > boot/dts/gef_sbc610.dts
> > index fd2b606..1f7833c 100644
> > --- a/arch/powerpc/boot/dts/gef_sbc610.dts
> > +++ b/arch/powerpc/boot/dts/gef_sbc610.dts
> > @@ -114,7 +114,7 @@
> > 		compatible = "simple-bus";
> > 		ranges = <0x0 0xfef00000 0x00100000>;
> > 		reg = <0xfef00000 0x100000>;	// CCSRBAR 1M
> > -		bus-frequency = <0>;
> > +		bus-frequency = <33333333>;
> >
> > 		i2c1: i2c@3000 {
> > 			#address-cells = <1>;
> 
> are we not fixing this up in u-boot?
> 

The SBC610 has uboot 1.2.0, which doesn't seem to be changing this.

> - k
Kumar Gala - Nov. 8, 2008, 6:21 p.m.
On Nov 7, 2008, at 7:43 AM, Martyn Welch wrote:

> This patch corrects the bus-frequency value provided in the SBC610's  
> dts.
>
> Signed-off-by: Martyn Welch <martyn.welch@gefanuc.com>
> ---
>
> arch/powerpc/boot/dts/gef_sbc610.dts |    2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)

applied to merge.

- k

Patch

diff --git a/arch/powerpc/boot/dts/gef_sbc610.dts b/arch/powerpc/boot/dts/gef_sbc610.dts
index fd2b606..1f7833c 100644
--- a/arch/powerpc/boot/dts/gef_sbc610.dts
+++ b/arch/powerpc/boot/dts/gef_sbc610.dts
@@ -114,7 +114,7 @@ 
 		compatible = "simple-bus";
 		ranges = <0x0 0xfef00000 0x00100000>;
 		reg = <0xfef00000 0x100000>;	// CCSRBAR 1M
-		bus-frequency = <0>;
+		bus-frequency = <33333333>;
 
 		i2c1: i2c@3000 {
 			#address-cells = <1>;