From: René Rebe Date: Sat, 22 Nov 2025 12:19:40 +0000 (+0100) Subject: riscv: dts: sifive: unmatched: Add PWM controlled fans X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=123b5eb726fd1c93dbc0a7e7fca81680f81a790b;p=thirdparty%2Fkernel%2Fstable.git riscv: dts: sifive: unmatched: Add PWM controlled fans This adds the two PWM-controlled fans of the HiFive Unmatched board to the device tree. Signed-off-by: René Rebe Signed-off-by: Conor Dooley --- diff --git a/arch/riscv/boot/dts/sifive/hifive-unmatched-a00.dts b/arch/riscv/boot/dts/sifive/hifive-unmatched-a00.dts index 03ce2cee4e976..850fa1d25be75 100644 --- a/arch/riscv/boot/dts/sifive/hifive-unmatched-a00.dts +++ b/arch/riscv/boot/dts/sifive/hifive-unmatched-a00.dts @@ -47,6 +47,16 @@ gpios = <&gpio 2 GPIO_ACTIVE_LOW>; }; + fan1 { + compatible = "pwm-fan"; + pwms = <&pwm1 2 7812500 0>; + }; + + fan2 { + compatible = "pwm-fan"; + pwms = <&pwm1 3 7812500 0>; + }; + led-controller-1 { compatible = "pwm-leds";