File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed
arch/arm64/boot/dts/rockchip Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change 276276 };
277277 };
278278
279+ fan0: pwm-fan {
280+ compatible = "pwm-fan";
281+ pwms = <&pwm1 0 10000 0>;
282+ cooling-min-state = <0>;
283+ cooling-max-state = <3>;
284+ #cooling-cells = <2>;
285+ cooling-levels = <0 102 170 230>;
286+ };
287+
279288 rk_key: rockchip-key {
280289 compatible = "rockchip,key";
281290 status = "okay";
645654 temperature = <105000>;
646655};
647656
657+ &cooling_maps {
658+ map3 {
659+ trip = <&threshold>;
660+ cooling-device = <&fan0 0 1>;
661+ contribution = <4096>;
662+ };
663+ map4 {
664+ trip = <&target>;
665+ cooling-device = <&fan0 1 2>;
666+ contribution = <4096>;
667+ };
668+ map5 {
669+ trip = <&soc_crit>;
670+ cooling-device = <&fan0 2 3>;
671+ contribution = <4096>;
672+ };
673+ };
674+
648675&tcphy0 {
649676 extcon = <&fusb0>;
650677 status = "okay";
735762 status = "okay";
736763};
737764
765+ &pwm1 {
766+ status = "okay";
767+ pinctrl-names = "active";
768+ };
769+
738770&pwm2 {
739771 status = "okay";
740772 pinctrl-names = "active";
You can’t perform that action at this time.
0 commit comments