Skip to content

Commit

Permalink
ARM: dts: am57xx-beagle-x15: Add GPIO controlled fan node
Browse files Browse the repository at this point in the history
TPS gpio now controls a 5v 500mA TL5209 regulator which may be supply
a fan (such as AFB02505HHB) over J1 connector for various purposes.
Provide device tree node to enable the same.

Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
  • Loading branch information
Nishanth Menon authored and Tony Lindgren committed Jan 8, 2015
1 parent cd5bca6 commit 7a03f2c
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions arch/arm/boot/dts/am57xx-beagle-x15.dts
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,14 @@
default-state = "off";
};
};

gpio_fan: gpio_fan {
/* Based on 5v 500mA AFB02505HHB */
compatible = "gpio-fan";
gpios = <&tps659038_gpio 1 GPIO_ACTIVE_HIGH>;
gpio-fan,speed-map = <0 0>,
<13000 1>;
};
};

&dra7_pmx_core {
Expand Down Expand Up @@ -394,6 +402,12 @@
wakeup-source;
ti,palmas-long-press-seconds = <12>;
};

tps659038_gpio: tps659038_gpio {
compatible = "ti,palmas-gpio";
gpio-controller;
#gpio-cells = <2>;
};
};

tmp102: tmp102@48 {
Expand Down

0 comments on commit 7a03f2c

Please sign in to comment.