summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/kirkwood-net2big.dts
diff options
context:
space:
mode:
authorSimon Guinot <simon.guinot@sequanux.org>2015-02-25 19:00:19 +0100
committerGregory CLEMENT <gregory.clement@free-electrons.com>2015-03-04 14:31:34 +0100
commitef34481712067205ca3a9ca52c8484550702b4e2 (patch)
tree3ffb467c4ca45806df7d6f2581e226adb5892fd8 /arch/arm/boot/dts/kirkwood-net2big.dts
parent1d7b0839941c6ee883c001716611949448f20a79 (diff)
ARM: Kirkwood: enable GPIO fan alarm support for 2Big Network v2
On the LaCie 2Big Network v2 (net2big_v2) board, the fan alarm is not wired to the I2C fan controller but to a separe GPIO. This GPIO can be controlled by using the gpio-fan driver. This patch adds the gpio-fan alarm description in the net2big_v2 DTS. Signed-off-by: Simon Guinot <simon.guinot@sequanux.org> Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Diffstat (limited to 'arch/arm/boot/dts/kirkwood-net2big.dts')
-rw-r--r--arch/arm/boot/dts/kirkwood-net2big.dts5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/kirkwood-net2big.dts b/arch/arm/boot/dts/kirkwood-net2big.dts
index 53dc37a3b687..13a44773b6df 100644
--- a/arch/arm/boot/dts/kirkwood-net2big.dts
+++ b/arch/arm/boot/dts/kirkwood-net2big.dts
@@ -27,6 +27,11 @@
device_type = "memory";
reg = <0x00000000 0x10000000>;
};
+
+ fan {
+ compatible = "gpio-fan";
+ alarm-gpios = <&gpio0 25 GPIO_ACTIVE_LOW>;
+ };
};
&regulators {