]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
powerpc/p1010rdb: add EEPROMs to device tree
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Wed, 23 May 2012 14:35:18 +0000 (11:35 -0300)
committerKumar Gala <galak@kernel.crashing.org>
Tue, 10 Jul 2012 12:07:20 +0000 (07:07 -0500)
Add EEPROM to the P1010RDB device tree.
The 24c01 acts as a memory SPD so it shouldn't be overwritten without
care.
The 24c256 is a general purpose memory.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/boot/dts/p1010rdb.dtsi

index 49776143a1b84874b515ecd164a384aface0f122..ec7c27a646711c176ba3cd1a51cf5d5e9b9d37b7 100644 (file)
 
 &board_soc {
        i2c@3000 {
+               eeprom@50 {
+                       compatible = "st,24c256";
+                       reg = <0x50>;
+               };
+
                rtc@68 {
                        compatible = "pericom,pt7c4338";
                        reg = <0x68>;
                };
        };
 
+       i2c@3100 {
+               eeprom@52 {
+                       compatible = "atmel,24c01";
+                       reg = <0x52>;
+               };
+       };
+
        spi@7000 {
                flash@0 {
                        #address-cells = <1>;