summaryrefslogtreecommitdiffstats
path: root/arch/arm64/boot/dts/marvell
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2021-03-09 15:20:08 +0000
committerGregory CLEMENT <gregory.clement@bootlin.com>2021-04-02 21:47:09 +0200
commit2d36399c24636d4f896d451228f5bebe1fccf040 (patch)
treee3be43ebb66dcb53c3f7309d72bc478b93e3178d /arch/arm64/boot/dts/marvell
parenta38fd8748464831584a19438cbb3082b5a2dab15 (diff)
downloadlinux-2d36399c24636d4f896d451228f5bebe1fccf040.tar.gz
linux-2d36399c24636d4f896d451228f5bebe1fccf040.tar.bz2
linux-2d36399c24636d4f896d451228f5bebe1fccf040.zip
arm64: dts: marvell: clearfog-gt-8k: add pwm-fan
Add pwm-fan support for controlling the fan speed. Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk> Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Diffstat (limited to 'arch/arm64/boot/dts/marvell')
-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";