cm5lz support pwm-fan

This commit is contained in:
george
2025-01-06 13:09:41 +08:00
committed by Nathan
parent c2d7d1cf6a
commit 770b80571a
3 changed files with 39 additions and 1 deletions

View File

@@ -141,6 +141,19 @@
status = "okay";
};
fan: pwm-fan {
compatible = "pwm-fan";
cooling-min-state = <0>;
cooling-max-state = <1>;
#cooling-cells = <2>;
pwms = <&pwm2 0 50000 0>;
cooling-levels = <0 255>;
rockchip,temp-trips = <
60000 0 //stop
80000 1 //start
>;
};
es8316_sound: es8316-sound {
status = "disabled";
compatible = "rockchip,multicodecs-card";
@@ -804,6 +817,11 @@
status = "okay";
};
&pwm2 {
status = "okay";
pinctrl-0 = <&pwm2m0_pins>;
};
&pwm12 {
status = "okay";
pinctrl-0 = <&pwm12m1_pins>;