summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Larysch <fl@n621.de>2016-11-17 11:23:23 +0100
committerScott Wood <oss@buserror.net>2016-11-22 01:26:48 -0600
commit8ba1baabde85bfc27ab486422dc8fca3092bb9df (patch)
treeeadde770be8a63790567a579ad091d2248630338
parent9b894c91a95b13b51846f83ee4fa4b086a874c72 (diff)
powerpc/dts: add device tree entry for W83793 on T4240RDB
The T4240RDB contains a W83793 hardware monitoring chip. Add a device tree entry to make the driver attach to it, as the i2c-mpc bus driver dropped support for class-based instantiation of devices a long time ago. Signed-off-by: Florian Larysch <fl@n621.de> Signed-off-by: Scott Wood <oss@buserror.net>
-rw-r--r--arch/powerpc/boot/dts/fsl/t4240rdb.dts4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/powerpc/boot/dts/fsl/t4240rdb.dts b/arch/powerpc/boot/dts/fsl/t4240rdb.dts
index cc0a264b8acb..8166c660712a 100644
--- a/arch/powerpc/boot/dts/fsl/t4240rdb.dts
+++ b/arch/powerpc/boot/dts/fsl/t4240rdb.dts
@@ -125,6 +125,10 @@
};
i2c@118000 {
+ hwmon@2f {
+ compatible = "winbond,w83793";
+ reg = <0x2f>;
+ };
eeprom@52 {
compatible = "at24,24c256";
reg = <0x52>;