summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/tango4-smp8758.dtsi
blob: 01d5f8f1c71dfdaeee322b08fe463f3b3e73eb34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#include <dt-bindings/interrupt-controller/arm-gic.h>

/ {
	cpus {
		#address-cells = <1>;
		#size-cells = <0>;
		enable-method = "sigma,tango4-smp";

		cpu0: cpu@0 {
			compatible = "arm,cortex-a9";
			next-level-cache = <&l2cc>;
			device_type = "cpu";
			reg = <0>;
		};

		cpu1: cpu@1 {
			compatible = "arm,cortex-a9";
			next-level-cache = <&l2cc>;
			device_type = "cpu";
			reg = <1>;
		};
	};

	pmu {
		compatible = "arm,cortex-a9-pmu";
		interrupt-affinity = <&cpu0>, <&cpu1>;
		interrupts =
			<GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
			<GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
	};

	soc {
		cpu_temp: thermal@920100 {
			#thermal-sensor-cells = <0>;
			compatible = "sigma,smp8758-thermal";
			reg = <0x920100 12>;
		};
	};

	thermal-zones {
		cpu_thermal: cpu-thermal {
			polling-delay = <997>;		/* milliseconds */
			polling-delay-passive = <499>;	/* milliseconds */
			thermal-sensors = <&cpu_temp>;
			trips {
				cpu_critical {
					temperature = <120000>;
					hysteresis = <2500>;
					type = "critical";
				};
			};
		};
	};
};