]> git.karo-electronics.de Git - linux-beck.git/commitdiff
powerpc/83xx: mpc8349emitx - populate I2C busses in device tree
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Mon, 16 Nov 2009 13:58:52 +0000 (16:58 +0300)
committerKumar Gala <galak@kernel.crashing.org>
Wed, 9 Dec 2009 21:15:36 +0000 (15:15 -0600)
Add OF descriptions of EEPROM, two GPIO extenders and SPD hanging on I2C
on this board.

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/boot/dts/mpc8349emitx.dts

index 16872c9a79bdd96dad710c57561ea831a45425e8..0fb78b20ef96e00467dd638c8a5ded44d68afd0c 100644 (file)
                        interrupts = <14 0x8>;
                        interrupt-parent = <&ipic>;
                        dfsrr;
+
+                       eeprom: at24@50 {
+                               compatible = "st-micro,24c256";
+                               reg = <0x50>;
+                       };
+
                };
 
                i2c@3100 {
                                interrupt-parent = <&ipic>;
                        };
 
+                       pcf1: iexp@38 {
+                               #gpio-cells = <2>;
+                               compatible = "ti,pcf8574a";
+                               reg = <0x38>;
+                               gpio-controller;
+                       };
+
+                       pcf2: iexp@39 {
+                               #gpio-cells = <2>;
+                               compatible = "ti,pcf8574a";
+                               reg = <0x39>;
+                               gpio-controller;
+                       };
+
+                       spd: at24@51 {
+                               compatible = "at24,spd";
+                               reg = <0x51>;
+                       };
+
                        mcu_pio: mcu@a {
                                #gpio-cells = <2>;
                                compatible = "fsl,mc9s08qg8-mpc8349emitx",