Skip to contentSkip to conversation

powerpc/83xx: Add additional i2c peripherals to MPC8315ERDB board

PATCH New Fabio Baltieri 1 participant 1 message Oct 17, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 powerpc/83xx: Add additional i2c peripherals to MPC8315ERDB board

Add support for the additional i2c peripherals found on the board, including an LM75 temperature sensor, an AT24 i2c eeprom and a PCF8574A port expander.

This can also probably be applied on many other MPC8xxx boards.

---
 arch/powerpc/boot/dts/mpc8315erdb.dts |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)
arch/powerpc/boot/dts/mpc8315erdb.dts +18 -0
index 4dd08c3..f89d9fd 100644
@@ -118,11 +118,29 @@
 			interrupts = <14 0x8>;
 			interrupt-parent = <&ipic>;
 			dfsrr;
+
 			rtc@68 {
 				compatible = "dallas,ds1339";
 				reg = <0x68>;
 			};
 
+                        dtt@48 {
+                                compatible = "national,lm75";
+                                reg = <0x48>;
+                        };
+
+                        at24@50 {
+                                compatible = "at24,24c256";
+                                reg = <0x50>;
+                        };
+
+                        pcf: iexp@39 {
+                                #gpio-cells = <2>;
+                                compatible = "ti,pcf8574a";
+                                reg = <0x39>;
+                                gpio-controller;
+                        };
+
 			mcu_pio: mcu@a {
 				#gpio-cells = <2>;
 				compatible = "fsl,mc9s08qg8-mpc8315erdb",
Signature · 1 line
1.5.6.5