aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell King <[email protected]>2021-03-09 15:20:08 +0000
committerGregory CLEMENT <[email protected]>2021-04-02 21:47:09 +0200
commit2d36399c24636d4f896d451228f5bebe1fccf040 (patch)
treee3be43ebb66dcb53c3f7309d72bc478b93e3178d
parenta38fd8748464831584a19438cbb3082b5a2dab15 (diff)
arm64: dts: marvell: clearfog-gt-8k: add pwm-fan
Add pwm-fan support for controlling the fan speed. Signed-off-by: Russell King <[email protected]> Signed-off-by: Gregory CLEMENT <[email protected]>
-rw-r--r--arch/arm64/boot/dts/marvell/armada-8040-clearfog-gt-8k.dts7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/marvell/armada-8040-clearfog-gt-8k.dts b/arch/arm64/boot/dts/marvell/armada-8040-clearfog-gt-8k.dts
index eb01cc96ba7a..b1723ac0aeec 100644
--- a/arch/arm64/boot/dts/marvell/armada-8040-clearfog-gt-8k.dts
+++ b/arch/arm64/boot/dts/marvell/armada-8040-clearfog-gt-8k.dts
@@ -31,6 +31,13 @@
ethernet2 = &cp1_eth2;
};
+ pwm {
+ compatible = "pwm-fan";
+ pinctrl-names = "default";
+ pinctrl-0 = <&cp0_fan_pwm_pins>;
+ pwms = <&cp0_gpio2 16 40000>;
+ };
+
v_3_3: regulator-3-3v {
compatible = "regulator-fixed";
regulator-name = "v_3_3";