OSDN Git Service

ARM: dts: am57xx-beagle-x15: Add GPIO controlled fan node
[uclinux-h8/linux.git] / arch / arm / boot / dts / am57xx-beagle-x15.dts
index 6c2e8e4..c5d4cea 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 {