forked from Minki/linux
616a66351d
OMAP4460 devices can reach high temperatures and thus needs to have cpufreq-cooling on systems running on it. This patch adds the required cooling device properties so that cpufreq-cpu0 driver loads the cooling device. Cc: "Benoît Cousson" <bcousson@baylibre.com> Cc: Tony Lindgren <tony@atomide.com> Cc: Rob Herring <rob.herring@calxeda.com> Cc: Pawel Moll <pawel.moll@arm.com> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Stephen Warren <swarren@wwwdotorg.org> Cc: Ian Campbell <ian.campbell@citrix.com> Cc: Russell King <linux@arm.linux.org.uk> Cc: linux-omap@vger.kernel.org Cc: devicetree@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
53 lines
1.2 KiB
Plaintext
53 lines
1.2 KiB
Plaintext
/*
|
|
* Device Tree Source for OMAP4460 SoC
|
|
*
|
|
* Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
|
|
*
|
|
* This file is licensed under the terms of the GNU General Public License
|
|
* version 2. This program is licensed "as is" without any warranty of any
|
|
* kind, whether express or implied.
|
|
*/
|
|
#include "omap4.dtsi"
|
|
|
|
/ {
|
|
cpus {
|
|
/* OMAP446x 'standard device' variants OPP50 to OPPTurbo */
|
|
cpu0: cpu@0 {
|
|
operating-points = <
|
|
/* kHz uV */
|
|
350000 1025000
|
|
700000 1200000
|
|
920000 1313000
|
|
>;
|
|
clock-latency = <300000>; /* From legacy driver */
|
|
|
|
/* cooling options */
|
|
cooling-min-level = <0>;
|
|
cooling-max-level = <2>;
|
|
#cooling-cells = <2>; /* min followed by max */
|
|
};
|
|
};
|
|
|
|
pmu {
|
|
compatible = "arm,cortex-a9-pmu";
|
|
interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>,
|
|
<GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
|
|
ti,hwmods = "debugss";
|
|
};
|
|
|
|
thermal-zones {
|
|
#include "omap4-cpu-thermal.dtsi"
|
|
};
|
|
|
|
bandgap: bandgap {
|
|
reg = <0x4a002260 0x4
|
|
0x4a00232C 0x4
|
|
0x4a002378 0x18>;
|
|
compatible = "ti,omap4460-bandgap";
|
|
interrupts = <0 126 IRQ_TYPE_LEVEL_HIGH>; /* talert */
|
|
gpios = <&gpio3 22 0>; /* tshut */
|
|
|
|
#thermal-sensor-cells = <0>;
|
|
};
|
|
};
|