[PATCH 4/4] arm: mxs: Add mxs internal temp sensor to cfa-10036

From: Alexandre Belloni
Date: Wed Jun 26 2013 - 04:53:11 EST


Signed-off-by: Alexandre Belloni <alexandre.belloni@xxxxxxxxxxxxxxxxxx>
---
arch/arm/boot/dts/imx28-cfa10036.dts | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/imx28-cfa10036.dts b/arch/arm/boot/dts/imx28-cfa10036.dts
index 802e0e9..5afb945 100644
--- a/arch/arm/boot/dts/imx28-cfa10036.dts
+++ b/arch/arm/boot/dts/imx28-cfa10036.dts
@@ -95,7 +95,7 @@
status = "okay";
};

- lradc@80050000 {
+ lradc: lradc@80050000 {
status = "okay";
};
};
@@ -121,4 +121,10 @@
default-state = "on";
};
};
+
+ temp {
+ compatible = "fsl,mxs-internal-temp";
+ io-channels = <&lradc 8>, <&lradc 9>;
+ io-channel-names = "min", "max";
+ };
};
--
1.8.1.2

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/