diff options
Diffstat (limited to 'zephyr/program/skyrim/markarth/project.overlay')
-rw-r--r-- | zephyr/program/skyrim/markarth/project.overlay | 74 |
1 files changed, 68 insertions, 6 deletions
diff --git a/zephyr/program/skyrim/markarth/project.overlay b/zephyr/program/skyrim/markarth/project.overlay index 0678eae9a5..794a8e5151 100644 --- a/zephyr/program/skyrim/markarth/project.overlay +++ b/zephyr/program/skyrim/markarth/project.overlay @@ -50,12 +50,6 @@ named-temp-sensors { compatible = "cros-ec,temp-sensors"; f75303-local { - temp_host_high = <100>; - temp_host_halt = <105>; - temp_host_release_high = <80>; - temp_host_release_halt = <80>; - temp_fan_off = <35>; - temp_fan_max = <70>; power-good-pin = <&gpio_pg_pwr_s5>; sensor = <&f75303_local>; }; @@ -69,6 +63,40 @@ }; }; + fan_steps: fan-step { + compatible = "cros-ec,fan-steps"; + level_0 { + temp_on = <(-1) (-1) 40 (-1) (-1) (-1)>; + temp_off = <(-1) (-1) 99 (-1) (-1) (-1)>; + rpm_target = <0>; + }; + level_1 { + temp_on = <(-1) (-1) 45 (-1) (-1) (-1)>; + temp_off = <(-1) (-1) 39 (-1) (-1) (-1)>; + rpm_target = <2400>; + }; + level_2 { + temp_on = <(-1) (-1) 50 (-1) (-1) (-1)>; + temp_off = <(-1) (-1) 44 (-1) (-1) (-1)>; + rpm_target = <2800>; + }; + level_3 { + temp_on = <(-1) (-1) 55 (-1) (-1) (-1)>; + temp_off = <(-1) (-1) 49 (-1) (-1) (-1)>; + rpm_target = <3000>; + }; + level_4 { + temp_on = <(-1) (-1) 60 (-1) (-1) (-1)>; + temp_off = <(-1) (-1) 54 (-1) (-1) (-1)>; + rpm_target = <3450>; + }; + level_5 { + temp_on = <(-1) (-1) 65 (-1) (-1) (-1)>; + temp_off = <(-1) (-1) 59 (-1) (-1) (-1)>; + rpm_target = <3800>; + }; + }; + /* * Note this is expected to vary per-board, so we keep it in the overlay * files. @@ -226,3 +254,37 @@ &kso12_gp05 >; }; + +&temp_sensor_cpu { + temp_host_warn = <92>; + temp_host_high = <95>; + temp_host_halt = <100>; + temp_host_release_warn = <91>; + temp_host_release_high = <80>; + temp_host_release_halt = <90>; + temp_fan_off = <40>; + temp_fan_max = <95>; +}; + +&temp_sensor_charger { + /delete-property/ temp_host_high; + /delete-property/ temp_host_halt; + /delete-property/ temp_host_release_high; + /delete-property/ temp_host_release_halt; +}; + +&temp_sensor_memory { + /delete-property/ temp_host_high; + /delete-property/ temp_host_halt; + /delete-property/ temp_host_release_high; + /delete-property/ temp_host_release_halt; +}; + +/* fan overrides */ +&fan0 { + pwms = <&pwm0 0 PWM_KHZ(25) PWM_POLARITY_NORMAL>; + rpm_min = <2100>; + rpm_start = <2400>; + rpm_max = <4464>; + rpm_deviation = <2>; +}; |