提交 ef344817 编写于 作者: S Simon Guinot 提交者: Gregory CLEMENT

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: NSimon Guinot <simon.guinot@sequanux.org>
Signed-off-by: NGregory CLEMENT <gregory.clement@free-electrons.com>
上级 1d7b0839
...@@ -27,6 +27,11 @@ ...@@ -27,6 +27,11 @@
device_type = "memory"; device_type = "memory";
reg = <0x00000000 0x10000000>; reg = <0x00000000 0x10000000>;
}; };
fan {
compatible = "gpio-fan";
alarm-gpios = <&gpio0 25 GPIO_ACTIVE_LOW>;
};
}; };
&regulators { &regulators {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册