summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2020-12-02 18:23:21 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-03-04 09:39:35 +0100
commit825f888f67014c221eaee1bed5a53a60d704fe63 (patch)
treeacc40eb8cb0582869088c8411b1910e8d64559e2 /arch
parenta0bf3cb37bb40ae1251682689406f506583e5767 (diff)
downloadlinux-stable-825f888f67014c221eaee1bed5a53a60d704fe63.tar.gz
linux-stable-825f888f67014c221eaee1bed5a53a60d704fe63.tar.bz2
linux-stable-825f888f67014c221eaee1bed5a53a60d704fe63.zip
ARM: dts: armada388-helios4: assign pinctrl to each fan
[ Upstream commit 46ecdfc1830eaa40a11d7f832089c82b0e67ea96 ] Split up the pins for each fan. This is needed in order to control them Fixes: ced8025b569e ("ARM: dts: armada388-helios4") Signed-off-by: Rosen Penev <rosenp@gmail.com> Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/boot/dts/armada-388-helios4.dts13
1 files changed, 10 insertions, 3 deletions
diff --git a/arch/arm/boot/dts/armada-388-helios4.dts b/arch/arm/boot/dts/armada-388-helios4.dts
index e0fa1391948c..a94758090fb0 100644
--- a/arch/arm/boot/dts/armada-388-helios4.dts
+++ b/arch/arm/boot/dts/armada-388-helios4.dts
@@ -127,11 +127,15 @@
fan1: j10-pwm {
compatible = "pwm-fan";
pwms = <&gpio1 9 40000>; /* Target freq:25 kHz */
+ pinctrl-names = "default";
+ pinctrl-0 = <&helios_fan1_pins>;
};
fan2: j17-pwm {
compatible = "pwm-fan";
pwms = <&gpio1 23 40000>; /* Target freq:25 kHz */
+ pinctrl-names = "default";
+ pinctrl-0 = <&helios_fan2_pins>;
};
usb2_phy: usb2-phy {
@@ -307,9 +311,12 @@
"mpp54";
marvell,function = "gpio";
};
- helios_fan_pins: helios-fan-pins {
- marvell,pins = "mpp41", "mpp43",
- "mpp48", "mpp55";
+ helios_fan1_pins: helios_fan1_pins {
+ marvell,pins = "mpp41", "mpp43";
+ marvell,function = "gpio";
+ };
+ helios_fan2_pins: helios_fan2_pins {
+ marvell,pins = "mpp48", "mpp55";
marvell,function = "gpio";
};
microsom_spi1_cs_pins: spi1-cs-pins {