GNU Linux-libre 4.19.264-gnu1
[releases.git] / arch / arm / boot / dts / tango4-smp8758.dtsi
1 // SPDX-License-Identifier: GPL-2.0
2 #include "tango4-common.dtsi"
3
4 / {
5         cpus {
6                 #address-cells = <1>;
7                 #size-cells = <0>;
8                 enable-method = "sigma,tango4-smp";
9
10                 cpu0: cpu@0 {
11                         compatible = "arm,cortex-a9";
12                         next-level-cache = <&l2cc>;
13                         device_type = "cpu";
14                         reg = <0>;
15                         clocks = <&clkgen CPU_CLK>;
16                         clock-latency = <1>;
17                 };
18
19                 cpu1: cpu@1 {
20                         compatible = "arm,cortex-a9";
21                         next-level-cache = <&l2cc>;
22                         device_type = "cpu";
23                         reg = <1>;
24                 };
25         };
26
27         pmu {
28                 compatible = "arm,cortex-a9-pmu";
29                 interrupt-affinity = <&cpu0>, <&cpu1>;
30                 interrupts =
31                         <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
32                         <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
33         };
34
35         soc {
36                 cpu_temp: thermal@920100 {
37                         #thermal-sensor-cells = <0>;
38                         compatible = "sigma,smp8758-thermal";
39                         reg = <0x920100 12>;
40                 };
41         };
42
43         thermal-zones {
44                 cpu_thermal: cpu-thermal {
45                         polling-delay = <997>;          /* milliseconds */
46                         polling-delay-passive = <499>;  /* milliseconds */
47                         thermal-sensors = <&cpu_temp>;
48                         trips {
49                                 cpu_critical {
50                                         temperature = <120000>;
51                                         hysteresis = <2500>;
52                                         type = "critical";
53                                 };
54                         };
55                 };
56         };
57 };