OSDN Git Service

arm: dts: mt7623: add thermal nodes to the mt7623.dtsi file
authorSean Wang <sean.wang@mediatek.com>
Wed, 26 Apr 2017 09:26:06 +0000 (17:26 +0800)
committerMatthias Brugger <matthias.bgg@gmail.com>
Mon, 15 May 2017 08:47:09 +0000 (10:47 +0200)
Add thermal nodes to the mt7623.dtsi file.

Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
arch/arm/boot/dts/mt7623.dtsi

index 409d4d5..8271903 100644 (file)
                status = "disabled";
        };
 
+       thermal: thermal@1100b000 {
+               #thermal-sensor-cells = <1>;
+               compatible = "mediatek,mt7623-thermal",
+                            "mediatek,mt2701-thermal";
+               reg = <0 0x1100b000 0 0x1000>;
+               interrupts = <0 70 IRQ_TYPE_LEVEL_LOW>;
+               clocks = <&pericfg CLK_PERI_THERM>, <&pericfg CLK_PERI_AUXADC>;
+               clock-names = "therm", "auxadc";
+               resets = <&pericfg MT2701_PERI_THERM_SW_RST>;
+               reset-names = "therm";
+               mediatek,auxadc = <&auxadc>;
+               mediatek,apmixedsys = <&apmixedsys>;
+               nvmem-cells = <&thermal_calibration_data>;
+               nvmem-cell-names = "calibration-data";
+       };
+
        spi1: spi@11016000 {
                compatible = "mediatek,mt7623-spi",
                             "mediatek,mt2701-spi";