ARM64: dts: marvell: Add thermal support for A7K/A8K
authorMiquel Raynal <miquel.raynal@free-electrons.com>
Mon, 18 Dec 2017 14:36:43 +0000 (15:36 +0100)
committerGregory CLEMENT <gregory.clement@free-electrons.com>
Mon, 18 Dec 2017 16:13:17 +0000 (17:13 +0100)
Add thermal DT nodes in AP806 and CP110 master/slave DTSI files.

Suggested-by: David Sniatkiwicz <davidsn@marvell.com>
Signed-off-by: Miquel Raynal <miquel.raynal@free-electrons.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
arch/arm64/boot/dts/marvell/armada-ap806.dtsi
arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi
arch/arm64/boot/dts/marvell/armada-cp110-slave.dtsi

index 1c4dd8a..bbc5a4d 100644 (file)
                                        gpio-ranges = <&ap_pinctrl 0 0 20>;
                                };
                        };
+
+                       ap_thermal: thermal@6f808C {
+                               compatible = "marvell,armada-ap806-thermal";
+                               reg = <0x6f808C 0x4>,
+                                     <0x6f8084 0x8>;
+                       };
                };
        };
 };
index e3b64d0..ecbc76d 100644 (file)
                                interrupts = <ICU_GRP_NSR 77 IRQ_TYPE_LEVEL_HIGH>;
                        };
 
+                       cpm_thermal: thermal@400078 {
+                               compatible = "marvell,armada-cp110-thermal";
+                               reg = <0x400078 0x4>,
+                                     <0x400070 0x8>;
+                       };
+
                        cpm_syscon0: system-controller@440000 {
                                compatible = "syscon", "simple-mfd";
                                reg = <0x440000 0x2000>;
index cb1fb49..6a07c78 100644 (file)
                                interrupts = <ICU_GRP_NSR 77 IRQ_TYPE_LEVEL_HIGH>;
                        };
 
+                       cps_thermal: thermal@400078 {
+                               compatible = "marvell,armada-cp110-thermal";
+                               reg = <0x400078 0x4>,
+                                     <0x400070 0x8>;
+                       };
+
                        cps_syscon0: system-controller@440000 {
                                compatible = "syscon", "simple-mfd";
                                reg = <0x440000 0x2000>;