diff options
author | Jamie Lentin <jm@lentin.co.uk> | 2012-09-10 15:51:52 +0200 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2012-09-22 16:40:58 +0200 |
commit | 1b90e06b14291ce3c252bd10e4ce981a08152e2e (patch) | |
tree | 86d5fea7ccc7a44346f3723c36be5e9d5523d032 /arch/arm/boot/dts/kirkwood-dnskw.dtsi | |
parent | hwmon: Add devicetree bindings to gpio-fan (diff) | |
download | linux-1b90e06b14291ce3c252bd10e4ce981a08152e2e.tar.xz linux-1b90e06b14291ce3c252bd10e4ce981a08152e2e.zip |
ARM: kirkwood: Use devicetree to define DNS-32[05] fan
Remove more board-specific code by using devicetree to define the fan
attached to both boards.
Signed-off-by: Jamie Lentin <jm@lentin.co.uk>
Acked-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/boot/dts/kirkwood-dnskw.dtsi')
-rw-r--r-- | arch/arm/boot/dts/kirkwood-dnskw.dtsi | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/kirkwood-dnskw.dtsi b/arch/arm/boot/dts/kirkwood-dnskw.dtsi index 7408655f91b5..9b32d0272825 100644 --- a/arch/arm/boot/dts/kirkwood-dnskw.dtsi +++ b/arch/arm/boot/dts/kirkwood-dnskw.dtsi @@ -25,6 +25,16 @@ }; }; + gpio_fan { + /* Fan: ADDA AD045HB-G73 40mm 6000rpm@5v */ + compatible = "gpio-fan"; + gpios = <&gpio1 14 1 + &gpio1 13 1>; + gpio-fan,speed-map = <0 0 + 3000 1 + 6000 2>; + }; + ocp@f1000000 { sata@80000 { status = "okay"; |