diff options
author | Michael Walle <michael@walle.cc> | 2020-09-14 23:43:40 +0200 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2020-09-22 17:06:04 +0800 |
commit | 499b7678758637ce47fa270fcb36d2c8e1c9fbc1 (patch) | |
tree | e1a61e866d1170ea7e079001033ae2b93bf6ada6 /arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var3-ads2.dts | |
parent | 3672d6fa6eae5c09345a32163516df51b9f78dff (diff) | |
download | lwn-499b7678758637ce47fa270fcb36d2c8e1c9fbc1.tar.gz lwn-499b7678758637ce47fa270fcb36d2c8e1c9fbc1.zip |
arm64: dts: freescale: sl28: enable fan support
Add a pwm-fan mapped to the PWM channel 0 which is connected to the
fan connector of the carrier.
Signed-off-by: Michael Walle <michael@walle.cc>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var3-ads2.dts')
-rw-r--r-- | arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var3-ads2.dts | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var3-ads2.dts b/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var3-ads2.dts index 0973a6a45217..c45d7b40e374 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var3-ads2.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var3-ads2.dts @@ -15,6 +15,15 @@ compatible = "kontron,sl28-var3-ads2", "kontron,sl28-var3", "kontron,sl28", "fsl,ls1028a"; + pwm-fan { + compatible = "pwm-fan"; + cooling-min-state = <0>; + cooling-max-state = <3>; + #cooling-cells = <2>; + pwms = <&sl28cpld_pwm0 0 4000000>; + cooling-levels = <1 128 192 255>; + }; + sound { #address-cells = <1>; #size-cells = <0>; |