summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2016-08-06 10:34:53 +0200
committerJohn Crispin <john@phrozen.org>2016-08-10 02:04:31 +0200
commit5947f7f85e191f8392847a199ad40a6de7be9408 (patch)
tree65f19edffc70f248baad5e28451e1271fa599e3f
parent0b327c1652c880ae228f87ab803967104153c67b (diff)
downloadmtk-20170518-5947f7f85e191f8392847a199ad40a6de7be9408.zip
mtk-20170518-5947f7f85e191f8392847a199ad40a6de7be9408.tar.gz
mtk-20170518-5947f7f85e191f8392847a199ad40a6de7be9408.tar.bz2
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@kresin.me>
-rw-r--r--target/linux/lantiq/dts/BTHOMEHUBV5A.dts4
-rw-r--r--target/linux/lantiq/dts/TDW89X0.dtsi4
-rw-r--r--target/linux/lantiq/dts/VGV7510KW22.dtsi4
3 files changed, 12 insertions, 0 deletions
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@0 {
+ compatible = "lantiq,cputemp";
+ };
+
fpi@10000000 {
localbus@0 {
nand-parts@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@0 {
+ compatible = "lantiq,cputemp";
+ };
+
fpi@10000000 {
gpio: pinmux@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@0 {
+ compatible = "lantiq,cputemp";
+ };
+
fpi@10000000 {
localbus@0 {
nor-boot@0 {