]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
powerpc/44x: Add hwmon support to Sequoia device tree
authorMatthias Fuchs <matthias.fuchs@esd-electronics.com>
Sun, 7 Sep 2008 21:57:21 +0000 (21:57 +0000)
committerJosh Boyer <jwboyer@linux.vnet.ibm.com>
Tue, 9 Sep 2008 12:18:01 +0000 (08:18 -0400)
This patch adds support for the AD7414 temperature sensor
on Sequoia PPC440EPx board.

Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
Acked-by: Stefan Roese <sr@denx.de>
Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
arch/powerpc/boot/dts/sequoia.dts

index 72d15f075d34638a377b27d62355e1e38adf455c..3b295e8df53f10e5e2f6591b57e9871d21631588 100644 (file)
                        };
 
                        IIC0: i2c@ef600700 {
+                               #address-cells = <1>;
+                               #size-cells = <0>;
                                compatible = "ibm,iic-440epx", "ibm,iic";
                                reg = <0xef600700 0x00000014>;
                                interrupt-parent = <&UIC0>;
                                interrupts = <0x2 0x4>;
+
+                               hwmon@48 {
+                                       compatible = "adi,ad7414";
+                                       reg = <0x48>;
+                               };
                        };
 
                        IIC1: i2c@ef600800 {
+                               #address-cells = <1>;
+                               #size-cells = <0>;
                                compatible = "ibm,iic-440epx", "ibm,iic";
                                reg = <0xef600800 0x00000014>;
                                interrupt-parent = <&UIC0>;