[PATCH v3 5/5] powerpc/85xx: i2c-mpc: use new I2C bindings for the Socates board

Grant Likely grant.likely at secretlab.ca
Wed Apr 8 01:43:10 EST 2009


On Tue, Apr 7, 2009 at 1:20 AM, Wolfgang Grandegger <wg at grandegger.com> wrote:
> Preserve I2C clock settings for the Socrates MPC8544 board.

I had thought that the preserve-clocking property was intended for
older boards that don't currently have any method of getting the clock
setting out of u-boot.  Since Socrates is a new board, U-Boot should
probably be made to fill in the real clock rate setting.

g.

>
> Signed-off-by: Wolfgang Grandegger <wg at grandegger.com>
> ---
>  arch/powerpc/boot/dts/socrates.dts |    8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
>
> Index: linux-2.6-galak/arch/powerpc/boot/dts/socrates.dts
> ===================================================================
> --- linux-2.6-galak.orig/arch/powerpc/boot/dts/socrates.dts     2009-04-07 10:09:07.161718915 +0200
> +++ linux-2.6-galak/arch/powerpc/boot/dts/socrates.dts  2009-04-07 10:09:16.207719258 +0200
> @@ -79,11 +79,11 @@
>                        #address-cells = <1>;
>                        #size-cells = <0>;
>                        cell-index = <0>;
> -                       compatible = "fsl-i2c";
> +                       compatible = "fsl,mpc8544-i2c", "fsl-i2c";
>                        reg = <0x3000 0x100>;
>                        interrupts = <43 2>;
>                        interrupt-parent = <&mpic>;
> -                       dfsrr;
> +                       fsl,preserve-clocking;
>
>                        dtt at 28 {
>                                compatible = "winbond,w83782d";
> @@ -111,11 +111,11 @@
>                        #address-cells = <1>;
>                        #size-cells = <0>;
>                        cell-index = <1>;
> -                       compatible = "fsl-i2c";
> +                       compatible = "fsl,mpc8544-i2c", "fsl-i2c";
>                        reg = <0x3100 0x100>;
>                        interrupts = <43 2>;
>                        interrupt-parent = <&mpic>;
> -                       dfsrr;
> +                       fsl,preserve-clocking;
>                };
>
>                enet0: ethernet at 24000 {
>
>



-- 
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.



More information about the devicetree-discuss mailing list