diff options
author | Nishanth Menon <nm@ti.com> | 2015-01-05 11:32:29 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2015-01-07 19:25:10 -0500 |
commit | 7a03f2c08d62371a6459331036e214bd7288ed10 (patch) | |
tree | 73db541838d17077673ea8d656f7b8fdaf194b1d | |
parent | cd5bca6f627442b63012ac0cafc6452bc929832e (diff) |
ARM: dts: am57xx-beagle-x15: Add GPIO controlled fan node
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>
-rw-r--r-- | arch/arm/boot/dts/am57xx-beagle-x15.dts | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/am57xx-beagle-x15.dts b/arch/arm/boot/dts/am57xx-beagle-x15.dts index 6c2e8e41b1e9..c5d4ceabdd80 100644 --- a/arch/arm/boot/dts/am57xx-beagle-x15.dts +++ b/arch/arm/boot/dts/am57xx-beagle-x15.dts | |||
@@ -80,6 +80,14 @@ | |||
80 | default-state = "off"; | 80 | default-state = "off"; |
81 | }; | 81 | }; |
82 | }; | 82 | }; |
83 | |||
84 | gpio_fan: gpio_fan { | ||
85 | /* Based on 5v 500mA AFB02505HHB */ | ||
86 | compatible = "gpio-fan"; | ||
87 | gpios = <&tps659038_gpio 1 GPIO_ACTIVE_HIGH>; | ||
88 | gpio-fan,speed-map = <0 0>, | ||
89 | <13000 1>; | ||
90 | }; | ||
83 | }; | 91 | }; |
84 | 92 | ||
85 | &dra7_pmx_core { | 93 | &dra7_pmx_core { |
@@ -394,6 +402,12 @@ | |||
394 | wakeup-source; | 402 | wakeup-source; |
395 | ti,palmas-long-press-seconds = <12>; | 403 | ti,palmas-long-press-seconds = <12>; |
396 | }; | 404 | }; |
405 | |||
406 | tps659038_gpio: tps659038_gpio { | ||
407 | compatible = "ti,palmas-gpio"; | ||
408 | gpio-controller; | ||
409 | #gpio-cells = <2>; | ||
410 | }; | ||
397 | }; | 411 | }; |
398 | 412 | ||
399 | tmp102: tmp102@48 { | 413 | tmp102: tmp102@48 { |