diff options
Diffstat (limited to 'arch/arm/boot/dts/sun9i-a80.dtsi')
-rw-r--r-- | arch/arm/boot/dts/sun9i-a80.dtsi | 85 |
1 files changed, 84 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/sun9i-a80.dtsi b/arch/arm/boot/dts/sun9i-a80.dtsi index b86ac490a9ad..5d7a21545152 100644 --- a/arch/arm/boot/dts/sun9i-a80.dtsi +++ b/arch/arm/boot/dts/sun9i-a80.dtsi @@ -599,7 +599,6 @@ }; }; - ehci0: usb@00a00000 { compatible = "allwinner,sun9i-a80-ehci", "generic-ehci"; reg = <0x00a00000 0x100>; @@ -1029,6 +1028,90 @@ allwinner,sun9i-tsc-offset = <(-2794000)>; allwinner,sun9i-tsc-divisor = <(-14882)>; }; + + thermal-zones { + dramc { + polling-delay-passive = <1000>; /* milliseconds */ + polling-delay = <5000>; /* milliseconds */ + + thermal-sensors = <&tsc 1>; + }; + + gpu { + polling-delay-passive = <1000>; /* milliseconds */ + polling-delay = <5000>; /* milliseconds */ + + thermal-sensors = <&tsc 2>; + }; + + c0cpux { + polling-delay-passive = <100>; /* milliseconds */ + polling-delay = <500>; /* milliseconds */ + + thermal-sensors = <&tsc 3>; + + trips { + c0cpux_alert0: c0cpux_alert0 { + temperature = <75000>; /* millicelsius */ + hysteresis = <2000>; /* millicelsius */ + type = "passive"; + }; + c0cpux_alert1 { + temperature = <90000>; /* millicelsius */ + hysteresis = <2000>; /* millicelsius */ + type = "passive"; + }; + c0cpux_crit { + temperature = <110000>; /* millicelsius */ + hysteresis = <2000>; /* millicelsius */ + type = "critical"; + }; + }; + + cooling-maps { + c0cpux_map0 { + trip = <&c0cpux_alert0>; + cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; + }; + + c1cpux { + polling-delay-passive = <100>; /* milliseconds */ + polling-delay = <500>; /* milliseconds */ + + thermal-sensors = <&tsc 0>; + + trips { + c1cpux_alert0: c1cpux_alert0 { + temperature = <75000>; /* millicelsius */ + hysteresis = <2000>; /* millicelsius */ + type = "passive"; + }; + c1cpux_alert1: c1cpux_alert1 { + temperature = <85000>; /* millicelsius */ + hysteresis = <2000>; /* millicelsius */ + type = "passive"; + }; + c1cpux_crit { + temperature = <110000>; /* millicelsius */ + hysteresis = <2000>; /* millicelsius */ + type = "critical"; + }; + }; + + cooling-maps { + c1cpux_map0 { + trip = <&c1cpux_alert0>; + cooling-device = <&cpu4 2 3>; + }; + + c1cpux_map1 { + trip = <&c1cpux_alert1>; + cooling-device = <&cpu4 4 6>; + }; + }; + }; }; uart0: serial@07000000 { |