[PATCH] PowerPC: MPC85xx: TQM85xx: add i2c device nodes for LM75

Wolfgang Grandegger wg at grandegger.com
Thu Jan 29 23:49:17 EST 2009


Automatic I2C device probing is not done any more. Therefore we need
proper DTS device node definitions for the I2C LM75 thermal sensor on
the TQM85xx modules.

Signed-off-by: Wolfgang Grandegger <wg at grandegger.com>
---
 arch/powerpc/boot/dts/tqm8540.dts          |    5 +++++
 arch/powerpc/boot/dts/tqm8541.dts          |    5 +++++
 arch/powerpc/boot/dts/tqm8548-bigflash.dts |    5 +++++
 arch/powerpc/boot/dts/tqm8548.dts          |    5 +++++
 arch/powerpc/boot/dts/tqm8555.dts          |    5 +++++
 arch/powerpc/boot/dts/tqm8560.dts          |    5 +++++
 6 files changed, 30 insertions(+)

Index: linux-2.6/arch/powerpc/boot/dts/tqm8548.dts
===================================================================
--- linux-2.6.orig/arch/powerpc/boot/dts/tqm8548.dts
+++ linux-2.6/arch/powerpc/boot/dts/tqm8548.dts
@@ -85,6 +85,11 @@
 			interrupt-parent = <&mpic>;
 			dfsrr;
 
+			dtt at 50 {
+				compatible = "national,lm75";
+				reg = <0x50>;
+			};
+
 			rtc at 68 {
 				compatible = "dallas,ds1337";
 				reg = <0x68>;
Index: linux-2.6/arch/powerpc/boot/dts/tqm8540.dts
===================================================================
--- linux-2.6.orig/arch/powerpc/boot/dts/tqm8540.dts
+++ linux-2.6/arch/powerpc/boot/dts/tqm8540.dts
@@ -84,6 +84,11 @@
 			interrupt-parent = <&mpic>;
 			dfsrr;
 
+			dtt at 50 {
+				compatible = "national,lm75";
+				reg = <0x50>;
+			};
+
 			rtc at 68 {
 				compatible = "dallas,ds1337";
 				reg = <0x68>;
Index: linux-2.6/arch/powerpc/boot/dts/tqm8541.dts
===================================================================
--- linux-2.6.orig/arch/powerpc/boot/dts/tqm8541.dts
+++ linux-2.6/arch/powerpc/boot/dts/tqm8541.dts
@@ -83,6 +83,11 @@
 			interrupt-parent = <&mpic>;
 			dfsrr;
 
+			dtt at 50 {
+				compatible = "national,lm75";
+				reg = <0x50>;
+			};
+
 			rtc at 68 {
 				compatible = "dallas,ds1337";
 				reg = <0x68>;
Index: linux-2.6/arch/powerpc/boot/dts/tqm8548-bigflash.dts
===================================================================
--- linux-2.6.orig/arch/powerpc/boot/dts/tqm8548-bigflash.dts
+++ linux-2.6/arch/powerpc/boot/dts/tqm8548-bigflash.dts
@@ -85,6 +85,11 @@
 			interrupt-parent = <&mpic>;
 			dfsrr;
 
+			dtt at 50 {
+				compatible = "national,lm75";
+				reg = <0x50>;
+			};
+
 			rtc at 68 {
 				compatible = "dallas,ds1337";
 				reg = <0x68>;
Index: linux-2.6/arch/powerpc/boot/dts/tqm8555.dts
===================================================================
--- linux-2.6.orig/arch/powerpc/boot/dts/tqm8555.dts
+++ linux-2.6/arch/powerpc/boot/dts/tqm8555.dts
@@ -83,6 +83,11 @@
 			interrupt-parent = <&mpic>;
 			dfsrr;
 
+			dtt at 50 {
+				compatible = "national,lm75";
+				reg = <0x50>;
+			};
+
 			rtc at 68 {
 				compatible = "dallas,ds1337";
 				reg = <0x68>;
Index: linux-2.6/arch/powerpc/boot/dts/tqm8560.dts
===================================================================
--- linux-2.6.orig/arch/powerpc/boot/dts/tqm8560.dts
+++ linux-2.6/arch/powerpc/boot/dts/tqm8560.dts
@@ -85,6 +85,11 @@
 			interrupt-parent = <&mpic>;
 			dfsrr;
 
+			dtt at 50 {
+				compatible = "national,lm75";
+				reg = <0x50>;
+			};
+
 			rtc at 68 {
 				compatible = "dallas,ds1337";
 				reg = <0x68>;



More information about the Linuxppc-dev mailing list