ARM: dts: am57xx-beagle-x15: Add GPIO controlled fan node
authorNishanth Menon <nm@ti.com>
Mon, 5 Jan 2015 16:32:29 +0000 (10:32 -0600)
committerTony Lindgren <tony@atomide.com>
Thu, 8 Jan 2015 00:25:10 +0000 (16:25 -0800)
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>
arch/arm/boot/dts/am57xx-beagle-x15.dts

index 6c2e8e41b1e936cb4412c7240d5700a891e4333b..c5d4ceabdd80de588ee34c7fc5da0687ebc66fdd 100644 (file)
                        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 {
                        wakeup-source;
                        ti,palmas-long-press-seconds = <12>;
                };
+
+               tps659038_gpio: tps659038_gpio {
+                       compatible = "ti,palmas-gpio";
+                       gpio-controller;
+                       #gpio-cells = <2>;
+               };
        };
 
        tmp102: tmp102@48 {
This page took 0.025473 seconds and 5 git commands to generate.