Marc Gonzalez | 692fbdd | 2016-05-04 12:48:12 +0200 | [diff] [blame] | 1 | #include "tango4-common.dtsi" |
Marc Gonzalez | cad008b | 2015-12-15 10:39:19 +0100 | [diff] [blame] | 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>; |
Marc Gonzalez | 862ccbf | 2016-05-04 12:48:56 +0200 | [diff] [blame^] | 14 | clocks = <&clkgen CPU_CLK>; |
| 15 | clock-latency = <1>; |
| 16 | operating-points = <1215000 0 607500 0 405000 0 243000 0 135000 0>; |
Marc Gonzalez | cad008b | 2015-12-15 10:39:19 +0100 | [diff] [blame] | 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 | }; |
Marc Gonzalez | a6e8188 | 2016-05-04 12:47:02 +0200 | [diff] [blame] | 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 | }; |
Marc Gonzalez | cad008b | 2015-12-15 10:39:19 +0100 | [diff] [blame] | 57 | }; |