lantiq: enable cpu temp driver for selected boards
authorMathias Kresin <dev@kresin.me>
Sat, 6 Aug 2016 08:34:53 +0000 (10:34 +0200)
committerJohn Crispin <john@phrozen.org>
Wed, 10 Aug 2016 00:04:31 +0000 (02:04 +0200)
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>
target/linux/lantiq/dts/BTHOMEHUBV5A.dts
target/linux/lantiq/dts/TDW89X0.dtsi
target/linux/lantiq/dts/VGV7510KW22.dtsi

index 2013b31063836becbed41bcfd5ca783414d49898..fcfd8c735ae2e5262bc2cdb47e4eb7d5469b3474 100644 (file)
                reg = <0x0 0x8000000>;
        };
 
+       cputemp@0 {
+               compatible = "lantiq,cputemp";
+       };
+
        fpi@10000000 {
                localbus@0 {
                        nand-parts@0 {
index 59c678d709d83308699b65c871c070e7eb495472..b3eaf7373f2c764954cd4621e814711fb05e6b75 100644 (file)
                reg = <0x0 0x4000000>;
        };
 
+       cputemp@0 {
+               compatible = "lantiq,cputemp";
+       };
+
        fpi@10000000 {
                gpio: pinmux@E100B10 {
                        pinctrl-names = "default";
index 1abdc20b1d0a23a32b6918f2680f14094fb16cfd..0284831c193b509d360360b6ba549a697756652d 100644 (file)
                reg = <0x0 0x4000000>;
        };
 
+       cputemp@0 {
+               compatible = "lantiq,cputemp";
+       };
+
        fpi@10000000 {
                localbus@0 {
                        nor-boot@0 {