OSDN Git Service

powerpc/85xx: Add support for I2C EEPROMs on MPC8548CDS boards
authorAnton Vorontsov <avorontsov@ru.mvista.com>
Thu, 9 Jul 2009 18:36:44 +0000 (22:36 +0400)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 20 Aug 2009 00:27:47 +0000 (10:27 +1000)
This patch simply adds four eeprom nodes to MPC8548CDS' device tree.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/boot/dts/mpc8548cds.dts

index 475be14..4173af3 100644 (file)
                        interrupts = <43 2>;
                        interrupt-parent = <&mpic>;
                        dfsrr;
+
+                       eeprom@50 {
+                               compatible = "atmel,24c64";
+                               reg = <0x50>;
+                       };
+
+                       eeprom@56 {
+                               compatible = "atmel,24c64";
+                               reg = <0x56>;
+                       };
+
+                       eeprom@57 {
+                               compatible = "atmel,24c64";
+                               reg = <0x57>;
+                       };
                };
 
                i2c@3100 {
                        interrupts = <43 2>;
                        interrupt-parent = <&mpic>;
                        dfsrr;
+
+                       eeprom@50 {
+                               compatible = "atmel,24c64";
+                               reg = <0x50>;
+                       };
                };
 
                dma@21300 {