Commit f36bb176 authored by Cristian Ciocaltea's avatar Cristian Ciocaltea Committed by Heiko Stuebner

arm64: dts: rockchip: Add pwm-fan to rk3588-rock-5b

Add the necessary DT changes for the Rock 5B board to enable support for
the PWM controlled heat sink fan.
Signed-off-by: default avatarCristian Ciocaltea <cristian.ciocaltea@collabora.com>
Reviewed-by: default avatarChristopher Obbard <chris.obbard@collabora.com>
Link: https://lore.kernel.org/r/20230404173807.490520-3-cristian.ciocaltea@collabora.comSigned-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
parent 1e9c2404
......@@ -17,6 +17,14 @@ chosen {
stdout-path = "serial2:1500000n8";
};
fan: pwm-fan {
compatible = "pwm-fan";
cooling-levels = <0 95 145 195 255>;
fan-supply = <&vcc5v0_sys>;
pwms = <&pwm1 0 50000 0>;
#cooling-cells = <2>;
};
vcc5v0_sys: vcc5v0-sys-regulator {
compatible = "regulator-fixed";
regulator-name = "vcc5v0_sys";
......@@ -52,6 +60,10 @@ hym8563_int: hym8563-int {
};
};
&pwm1 {
status = "okay";
};
&sdhci {
bus-width = <8>;
no-sdio;
......
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