Commit | Line | Data |
---|---|---|
692fbddc | 1 | #include "tango4-common.dtsi" |
cad008b8 MG |
2 | |
3 | / { | |
4 | cpus { | |
5 | #address-cells = <1>; | |
6 | #size-cells = <0>; | |
7 | enable-method = "sigma,tango4-smp"; | |
8 | ||
9 | cpu0: cpu@0 { | |
10 | compatible = "arm,cortex-a9"; | |
11 | next-level-cache = <&l2cc>; | |
12 | device_type = "cpu"; | |
13 | reg = <0>; | |
862ccbfb MG |
14 | clocks = <&clkgen CPU_CLK>; |
15 | clock-latency = <1>; | |
16 | operating-points = <1215000 0 607500 0 405000 0 243000 0 135000 0>; | |
cad008b8 MG |
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 | }; | |
a6e81889 MG |
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 | }; | |
cad008b8 | 57 | }; |