Commit 271b6641 authored by Uwe Kleine-König's avatar Uwe Kleine-König Committed by Heiko Stuebner

arm64: dts: rockchip: Add support for two PWM fans on helios64

On the helios64 board the two connectors P6 and P7 are supposed to
power two fans. Add the corresponding pwm-fan devices.
Signed-off-by: default avatarUwe Kleine-König <uwe@kleine-koenig.org>
Link: https://lore.kernel.org/r/20210510090607.970145-1-uwe@kleine-koenig.orgSigned-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
parent b82f8e29
......@@ -40,6 +40,20 @@ clkin_gmac: external-gmac-clock {
#clock-cells = <0>;
};
fan1 {
/* fan connected to P7 */
compatible = "pwm-fan";
pwms = <&pwm0 0 40000 0>;
cooling-levels = <0 80 170 255>;
};
fan2 {
/* fan connected to P6 */
compatible = "pwm-fan";
pwms = <&pwm1 0 40000 0>;
cooling-levels = <0 80 170 255>;
};
leds {
compatible = "gpio-leds";
pinctrl-names = "default";
......@@ -352,6 +366,16 @@ &pmu_io_domains {
status = "okay";
};
&pwm0 {
/* pwm-fan on P7 */
status = "okay";
};
&pwm1 {
/* pwm-fan on P6 */
status = "okay";
};
&sdhci {
bus-width = <8>;
mmc-hs200-1_8v;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment