mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-29 15:43:59 +08:00
72af5e6d0c
OMAP4430 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: Russell King <linux@arm.linux.org.uk> Cc: linux-omap@vger.kernel.org Cc: devicetree-discuss@lists.ozlabs.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
45 lines
937 B
Plaintext
45 lines
937 B
Plaintext
/*
|
|
* Device Tree Source for OMAP443x SoC
|
|
*
|
|
* Copyright (C) 2013 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 {
|
|
cpu0: cpu@0 {
|
|
/* OMAP443x variants OPP50-OPPNT */
|
|
operating-points = <
|
|
/* kHz uV */
|
|
300000 1025000
|
|
600000 1200000
|
|
800000 1313000
|
|
1008000 1375000
|
|
>;
|
|
clock-latency = <300000>; /* From legacy driver */
|
|
|
|
/* cooling options */
|
|
cooling-min-level = <0>;
|
|
cooling-max-level = <3>;
|
|
#cooling-cells = <2>; /* min followed by max */
|
|
};
|
|
};
|
|
|
|
thermal-zones {
|
|
#include "omap4-cpu-thermal.dtsi"
|
|
};
|
|
|
|
bandgap: bandgap {
|
|
reg = <0x4a002260 0x4
|
|
0x4a00232C 0x4>;
|
|
compatible = "ti,omap4430-bandgap";
|
|
|
|
#thermal-sensor-cells = <0>;
|
|
};
|
|
};
|