165 lines
3.2 KiB
Plaintext
165 lines
3.2 KiB
Plaintext
/*
|
|
* Allwinner Technology CO., Ltd. sun50iw6p1 soc perf1_v1_0 board.
|
|
*
|
|
* soc board support.
|
|
*/
|
|
|
|
/dts-v1/;
|
|
|
|
#include "sun50iw3p1.dtsi"
|
|
|
|
/{
|
|
|
|
soc@03000000 {
|
|
cpu_budget_cooling:cpu_budget_cool{
|
|
compatible = "allwinner,budget_cooling";
|
|
device_type = "cpu_budget_cooling";
|
|
#cooling-cells = <2>;
|
|
status = "okay";
|
|
state_cnt = <7>;
|
|
cluster_num = <1>;
|
|
state0 = <1800000 4>;
|
|
state1 = <1512000 4>;
|
|
state2 = <1416000 4>;
|
|
state3 = <1200000 4>;
|
|
state4 = <1008000 3>;
|
|
state5 = <1008000 2>;
|
|
state6 = <1008000 1>;
|
|
};
|
|
|
|
gpu_cooling:gpu_cooling{
|
|
compatible = "allwinner,gpu_cooling";
|
|
device_type = "gpu_cooling";
|
|
reg = <0x0 0x0 0x0 0x0>;
|
|
#cooling-cells = <2>;
|
|
status = "okay";
|
|
state_cnt = <4>;
|
|
state0 = <0>;
|
|
state1 = <1>;
|
|
state2 = <2>;
|
|
state3 = <3>;
|
|
};
|
|
|
|
thermal-zones{
|
|
cpu_thermal_zone{
|
|
|
|
polling-delay-passive = <1000>;
|
|
polling-delay = <1000>;
|
|
thermal-sensors = <&ths_combine0 0>;
|
|
|
|
trips{
|
|
cpu_trip0:t0{
|
|
temperature = <65>;
|
|
type = "passive";
|
|
hysteresis = <0>;
|
|
};
|
|
cpu_trip1:t1{
|
|
temperature = <75>;
|
|
type = "passive";
|
|
hysteresis = <0>;
|
|
};
|
|
cpu_trip2:t2{
|
|
temperature = <85>;
|
|
type = "passive";
|
|
hysteresis = <0>;
|
|
};
|
|
cpu_trip3:t3{
|
|
temperature = <95>;
|
|
type = "passive";
|
|
hysteresis = <0>;
|
|
};
|
|
cpu_trip4:t4{
|
|
temperature = <105>;
|
|
type = "passive";
|
|
hysteresis = <0>;
|
|
};
|
|
crt_trip0:t5{
|
|
temperature = <110>;
|
|
type = "critical";
|
|
hysteresis = <0>;
|
|
};
|
|
};
|
|
|
|
cooling-maps{
|
|
bind0{
|
|
contribution = <0>;
|
|
trip = <&cpu_trip0>;
|
|
cooling-device = <&cpu_budget_cooling 1 1>;
|
|
};
|
|
bind1{
|
|
contribution = <0>;
|
|
trip = <&cpu_trip1>;
|
|
cooling-device = <&cpu_budget_cooling 2 2>;
|
|
};
|
|
bind2{
|
|
contribution = <0>;
|
|
trip = <&cpu_trip2>;
|
|
cooling-device = <&cpu_budget_cooling 3 4>;
|
|
};
|
|
bind3{
|
|
contribution = <0>;
|
|
trip = <&cpu_trip3>;
|
|
cooling-device = <&cpu_budget_cooling 5 5>;
|
|
};
|
|
bind4{
|
|
contribution = <0>;
|
|
trip = <&cpu_trip4>;
|
|
cooling-device = <&cpu_budget_cooling 6 6>;
|
|
};
|
|
};
|
|
};
|
|
gpu_thermal_zone{
|
|
|
|
polling-delay-passive = <1000>;
|
|
polling-delay = <2000>;
|
|
thermal-sensors = <&ths_combine1 1>;
|
|
|
|
trips{
|
|
gpu_trip0:t0{
|
|
temperature = <95>;
|
|
type = "passive";
|
|
hysteresis = <0>;
|
|
};
|
|
gpu_trip1:t1{
|
|
temperature = <100>;
|
|
type = "passive";
|
|
hysteresis = <0>;
|
|
};
|
|
gpu_trip2:t2{
|
|
temperature = <105>;
|
|
type = "passive";
|
|
hysteresis = <0>;
|
|
};
|
|
crt_trip1:t3{
|
|
temperature = <110>;
|
|
type = "critical";
|
|
hysteresis = <0>;
|
|
};
|
|
};
|
|
|
|
cooling-maps{
|
|
bind0{
|
|
contribution = <0>;
|
|
trip = <&gpu_trip0>;
|
|
cooling-device = <&gpu_cooling 1 1>;
|
|
};
|
|
bind1{
|
|
contribution = <0>;
|
|
trip = <&gpu_trip1>;
|
|
cooling-device = <&gpu_cooling 2 2>;
|
|
};
|
|
bind2{
|
|
contribution = <0>;
|
|
trip = <&gpu_trip2>;
|
|
cooling-device = <&gpu_cooling 3 3>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
chosen {
|
|
bootargs = "earlyprintk=sunxi-uart,0x05000000 loglevel=8 initcall_debug=1 console=ttyS0 init=/init";
|
|
};
|
|
};
|