[source] lantiq: enable cpu temp driver for selected boards

LEDE Commits lede-commits at lists.infradead.org
Wed Aug 10 02:16:44 PDT 2016


blogic pushed a commit to source.git, branch master:
https://git.lede-project.org/?p=source.git;a=commitdiff;h=5947f7f85e191f8392847a199ad40a6de7be9408

commit 5947f7f85e191f8392847a199ad40a6de7be9408
Author: Mathias Kresin <dev at kresin.me>
AuthorDate: Sat Aug 6 10:34:53 2016 +0200

    lantiq: enable cpu temp driver for selected boards
    
    According to the author of the cpu temp driver, not all xrx200 boards
    have a cpu temperature sensor. For that reason enable the sensor only
    for tested boards.
    
    Signed-off-by: Mathias Kresin <dev at kresin.me>
---
 target/linux/lantiq/dts/BTHOMEHUBV5A.dts | 4 ++++
 target/linux/lantiq/dts/TDW89X0.dtsi     | 4 ++++
 target/linux/lantiq/dts/VGV7510KW22.dtsi | 4 ++++
 3 files changed, 12 insertions(+)

diff --git a/target/linux/lantiq/dts/BTHOMEHUBV5A.dts b/target/linux/lantiq/dts/BTHOMEHUBV5A.dts
index 2013b31..fcfd8c7 100644
--- a/target/linux/lantiq/dts/BTHOMEHUBV5A.dts
+++ b/target/linux/lantiq/dts/BTHOMEHUBV5A.dts
@@ -22,6 +22,10 @@
 		reg = <0x0 0x8000000>;
 	};
 
+	cputemp at 0 {
+		compatible = "lantiq,cputemp";
+	};
+
 	fpi at 10000000 {
 		localbus at 0 {
 			nand-parts at 0 {
diff --git a/target/linux/lantiq/dts/TDW89X0.dtsi b/target/linux/lantiq/dts/TDW89X0.dtsi
index 59c678d..b3eaf73 100644
--- a/target/linux/lantiq/dts/TDW89X0.dtsi
+++ b/target/linux/lantiq/dts/TDW89X0.dtsi
@@ -20,6 +20,10 @@
 		reg = <0x0 0x4000000>;
 	};
 
+	cputemp at 0 {
+		compatible = "lantiq,cputemp";
+	};
+
 	fpi at 10000000 {
 		gpio: pinmux at E100B10 {
 			pinctrl-names = "default";
diff --git a/target/linux/lantiq/dts/VGV7510KW22.dtsi b/target/linux/lantiq/dts/VGV7510KW22.dtsi
index 1abdc20..0284831 100644
--- a/target/linux/lantiq/dts/VGV7510KW22.dtsi
+++ b/target/linux/lantiq/dts/VGV7510KW22.dtsi
@@ -21,6 +21,10 @@
 		reg = <0x0 0x4000000>;
 	};
 
+	cputemp at 0 {
+		compatible = "lantiq,cputemp";
+	};
+
 	fpi at 10000000 {
 		localbus at 0 {
 			nor-boot at 0 {



More information about the lede-commits mailing list