summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot
diff options
context:
space:
mode:
authorMichael Walle <michael@walle.cc>2012-10-21 01:34:54 +0200
committerJason Cooper <jason@lakedaemon.net>2012-11-21 20:59:05 +0000
commitb046f560d76a22589a849964145e4e60d7a160d2 (patch)
treeeb5da9ec7e302ab478521b41120047768ad90a44 /arch/arm/boot
parent1136b9d124bea6d978be66337b5786e6df825a6e (diff)
downloadlinux-b046f560d76a22589a849964145e4e60d7a160d2.tar.gz
linux-b046f560d76a22589a849964145e4e60d7a160d2.tar.bz2
linux-b046f560d76a22589a849964145e4e60d7a160d2.zip
ARM: kirkwood: use gpio-fan DT binding on lsxl
Remove board specific gpio-fan driver registration. Moved into device tree. Signed-off-by: Michael Walle <michael@walle.cc> Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/boot')
-rw-r--r--arch/arm/boot/dts/kirkwood-lsxl.dtsi11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/kirkwood-lsxl.dtsi b/arch/arm/boot/dts/kirkwood-lsxl.dtsi
index 8fea375c734d..798e60eeedf3 100644
--- a/arch/arm/boot/dts/kirkwood-lsxl.dtsi
+++ b/arch/arm/boot/dts/kirkwood-lsxl.dtsi
@@ -94,4 +94,15 @@
gpios = <&gpio1 16 1>;
};
};
+
+ gpio_fan {
+ compatible = "gpio-fan";
+ gpios = <&gpio0 19 1
+ &gpio0 18 1>;
+ gpio-fan,speed-map = <0 3
+ 1500 2
+ 3250 1
+ 5000 0>;
+ alarm-gpios = <&gpio1 8 0>;
+ };
};