Patchwork add i2c eeprom to dts for mpc 837x rdb

login
register
mail settings
Submitter Reynes Philippe
Date Jan. 27, 2009, 5:55 p.m.
Message ID <761F451C5F17F74DAEE4661DA5ABBC1616C446@factorix.ISISTHIBAUD.local>
Download mbox | patch
Permalink /patch/20515/
State Superseded
Delegated to: Kumar Gala
Headers show

Comments

Reynes Philippe - Jan. 27, 2009, 5:55 p.m.
Signed-off-by: Philippe Reynes <philippe.reynes@isismpp.fr>
---
Kumar Gala - Jan. 28, 2009, 12:35 a.m.
what kernel tree are these against?  I still have issues applying this.

Also, you are using spaces instead of tabs.

- k

On Jan 27, 2009, at 11:55 AM, Reynes Philippe wrote:

> Signed-off-by: Philippe Reynes <philippe.reynes@isismpp.fr>
> ---
> diff --git a/arch/powerpc/boot/dts/mpc8377_rdb.dts
> b/arch/powerpc/boot/dts/mpc8377_rdb.dts
> index 9413af3..a8276d4 100644
> --- a/arch/powerpc/boot/dts/mpc8377_rdb.dts
> +++ b/arch/powerpc/boot/dts/mpc8377_rdb.dts
> @@ -116,6 +116,12 @@
>                        interrupts = <14 0x8>;
>                        interrupt-parent = <&ipic>;
>                        dfsrr;
> +
> +                       at24@50 {
> +                               compatible = "at24,24c256";
> +                               reg = <0x50>;
> +                       };
> +
>                        rtc@68 {
>                                compatible = "dallas,ds1339";
>                                reg = <0x68>;
> diff --git a/arch/powerpc/boot/dts/mpc8378_rdb.dts
> b/arch/powerpc/boot/dts/mpc8378_rdb.dts
> index 23c10ce..4ee2639 100644
> --- a/arch/powerpc/boot/dts/mpc8378_rdb.dts
> +++ b/arch/powerpc/boot/dts/mpc8378_rdb.dts
> @@ -116,6 +116,12 @@
>                        interrupts = <14 0x8>;
>                        interrupt-parent = <&ipic>;
>                        dfsrr;
> +
> +                       at24@50 {
> +                               compatible = "at24,24c256";
> +                               reg = <0x50>;
> +                       };
> +
>                        rtc@68 {
>                                compatible = "dallas,ds1339";
>                                reg = <0x68>;
> diff --git a/arch/powerpc/boot/dts/mpc8379_rdb.dts
> b/arch/powerpc/boot/dts/mpc8379_rdb.dts
> index 72cdc3c..2c06d39 100644
> --- a/arch/powerpc/boot/dts/mpc8379_rdb.dts
> +++ b/arch/powerpc/boot/dts/mpc8379_rdb.dts
> @@ -116,6 +116,12 @@
>                        interrupts = <14 0x8>;
>                        interrupt-parent = <&ipic>;
>                        dfsrr;
> +
> +                       at24@50 {
> +                               compatible = "at24,24c256";
> +                               reg = <0x50>;
> +                       };
> +
>                        rtc@68 {
>                                compatible = "dallas,ds1339";
>                                reg = <0x68>;
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-dev

Patch

diff --git a/arch/powerpc/boot/dts/mpc8377_rdb.dts
b/arch/powerpc/boot/dts/mpc8377_rdb.dts
index 9413af3..a8276d4 100644
--- a/arch/powerpc/boot/dts/mpc8377_rdb.dts
+++ b/arch/powerpc/boot/dts/mpc8377_rdb.dts
@@ -116,6 +116,12 @@ 
                        interrupts = <14 0x8>;
                        interrupt-parent = <&ipic>;
                        dfsrr;
+
+                       at24@50 {
+                               compatible = "at24,24c256";
+                               reg = <0x50>;
+                       };
+
                        rtc@68 {
                                compatible = "dallas,ds1339";
                                reg = <0x68>;
diff --git a/arch/powerpc/boot/dts/mpc8378_rdb.dts
b/arch/powerpc/boot/dts/mpc8378_rdb.dts
index 23c10ce..4ee2639 100644
--- a/arch/powerpc/boot/dts/mpc8378_rdb.dts
+++ b/arch/powerpc/boot/dts/mpc8378_rdb.dts
@@ -116,6 +116,12 @@ 
                        interrupts = <14 0x8>;
                        interrupt-parent = <&ipic>;
                        dfsrr;
+
+                       at24@50 {
+                               compatible = "at24,24c256";
+                               reg = <0x50>;
+                       };
+
                        rtc@68 {
                                compatible = "dallas,ds1339";
                                reg = <0x68>;
diff --git a/arch/powerpc/boot/dts/mpc8379_rdb.dts
b/arch/powerpc/boot/dts/mpc8379_rdb.dts
index 72cdc3c..2c06d39 100644
--- a/arch/powerpc/boot/dts/mpc8379_rdb.dts
+++ b/arch/powerpc/boot/dts/mpc8379_rdb.dts
@@ -116,6 +116,12 @@ 
                        interrupts = <14 0x8>;
                        interrupt-parent = <&ipic>;
                        dfsrr;
+
+                       at24@50 {
+                               compatible = "at24,24c256";
+                               reg = <0x50>;
+                       };
+
                        rtc@68 {
                                compatible = "dallas,ds1339";
                                reg = <0x68>;