summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/mt7623.dtsi
diff options
context:
space:
mode:
authorSean Wang <sean.wang@mediatek.com>2017-04-26 11:26:06 +0200
committerMatthias Brugger <matthias.bgg@gmail.com>2017-05-15 10:47:09 +0200
commit9794a090d4931519155518e760eef3d4d6df9e5d (patch)
treeaf0e490fea4c0531e678ccd3e1784ddadc348978 /arch/arm/boot/dts/mt7623.dtsi
parentarm: dts: mt7623: add efuse nodes to the mt7623.dtsi file (diff)
downloadlinux-9794a090d4931519155518e760eef3d4d6df9e5d.tar.xz
linux-9794a090d4931519155518e760eef3d4d6df9e5d.zip
arm: dts: mt7623: add thermal nodes to the mt7623.dtsi file
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>
Diffstat (limited to 'arch/arm/boot/dts/mt7623.dtsi')
-rw-r--r--arch/arm/boot/dts/mt7623.dtsi16
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/mt7623.dtsi b/arch/arm/boot/dts/mt7623.dtsi
index 409d4d59cb63..8271903a3746 100644
--- a/arch/arm/boot/dts/mt7623.dtsi
+++ b/arch/arm/boot/dts/mt7623.dtsi
@@ -352,6 +352,22 @@
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";