summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2018-02-22 16:13:47 +0000
committerRussell King <rmk+kernel@armlinux.org.uk>2019-07-09 16:42:01 +0100
commit101406aab7970198ca42353123b98487b8ac9b53 (patch)
tree55cb97acb6257b884d832a1eaeeb56539e4e78e0
parent10617fd2ff3aa05f0908366c3f4187089e93411a (diff)
arm64: dts: marvell: mcbin: wire up fan control as a gpio pin
This at least allows userspace to control whether the fans run or not. Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
-rw-r--r--arch/arm64/boot/dts/marvell/armada-8040-mcbin.dtsi5
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dtsi b/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dtsi
index 7bf09eb71f8f..64c75a354847 100644
--- a/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dtsi
+++ b/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dtsi
@@ -210,7 +210,10 @@
marvell,pins = "mpp47";
marvell,function = "gpio";
};
- /* mpp48 - fan pwm */
+ cp0_fan_pins: fan-pins {
+ marvell,pins = "mpp48";
+ marvell,function = "gpio";
+ };
cp0_sfp_1g_pins: sfp-1g-pins {
marvell,pins = "mpp51", "mpp53", "mpp54";
marvell,function = "gpio";