]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
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 1c4dd8ab9ad5c86962834549ed0f2ad4279f6f08..bbc5a4d3acac9f2092d752e9332ef2f46f9325ed 100644 (file)
                                        gpio-ranges = <&ap_pinctrl 0 0 20>;
                                };
                        };
+
+                       ap_thermal: thermal@6f808C {
+                               compatible = "marvell,armada-ap806-thermal";
+                               reg = <0x6f808C 0x4>,
+                                     <0x6f8084 0x8>;
+                       };
                };
        };
 };
index e3b64d03fbd82844aaf65fc862e62d15af042133..ecbc76d26dff41fae13552c6bd555c9ddf9de985 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 cb1fb49ccf81bcf529e8d25f32377808156fd5e9..6a07c786b7881984d1469cb87ef007189f948fb5 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>;