diff options
| author | René Rebe <rene@exactco.de> | 2025-11-22 13:19:40 +0100 |
|---|---|---|
| committer | Conor Dooley <conor.dooley@microchip.com> | 2025-11-23 19:59:48 +0000 |
| commit | 123b5eb726fd1c93dbc0a7e7fca81680f81a790b (patch) | |
| tree | b6085d9455a17830b14f43736ba8cdf64e6366c0 | |
| parent | 1088d49b626487777913079bef0db3adef4bfb4a (diff) | |
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 <rene@exactco.de>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
| -rw-r--r-- | arch/riscv/boot/dts/sifive/hifive-unmatched-a00.dts | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/riscv/boot/dts/sifive/hifive-unmatched-a00.dts b/arch/riscv/boot/dts/sifive/hifive-unmatched-a00.dts index 03ce2cee4e97..850fa1d25be7 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"; |
