summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Fuchs <matthias.fuchs@esd-electronics.com>2008-09-07 21:57:21 +0000
committerJosh Boyer <jwboyer@linux.vnet.ibm.com>2008-09-09 08:18:01 -0400
commit423da26997497f5938c0b169f1cc9762b5f3fa9f (patch)
treeadc5d8c97f2fe181dc8fa387fc98b3cfb6881c53
parentcc2e113b4bbd415d53d8bb87a446cde6b7ce8acc (diff)
downloadop-kernel-dev-423da26997497f5938c0b169f1cc9762b5f3fa9f.zip
op-kernel-dev-423da26997497f5938c0b169f1cc9762b5f3fa9f.tar.gz
powerpc/44x: Add hwmon support to Sequoia device tree
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>
-rw-r--r--arch/powerpc/boot/dts/sequoia.dts9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/powerpc/boot/dts/sequoia.dts b/arch/powerpc/boot/dts/sequoia.dts
index 72d15f0..3b295e8 100644
--- a/arch/powerpc/boot/dts/sequoia.dts
+++ b/arch/powerpc/boot/dts/sequoia.dts
@@ -246,13 +246,22 @@
};
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>;
OpenPOWER on IntegriCloud