ARM: dts: omap3-gat04: Fix wifi handling
authorH. Nikolaus Schaller <hns@goldelico.com>
Tue, 17 May 2016 19:48:51 +0000 (21:48 +0200)
committerTony Lindgren <tony@atomide.com>
Fri, 10 Jun 2016 11:58:07 +0000 (04:58 -0700)
Without that change wifi card isn't probed because pwrseq is necessary for
libertas chip.

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/omap3-gta04.dtsi

index 55b6b884dd3be9a0d8fca9ed5dd3f91f1f13f43a..6349257709987d05d48eb34e946c49934faa3f04 100644 (file)
                        };
                };
        };
+
+       wifi_pwrseq: wifi_pwrseq {
+               compatible = "mmc-pwrseq-simple";
+               reset-gpios = <&tca6507 0 GPIO_ACTIVE_LOW>;     /* W2CBW003 reset through tca6507 */
+       };
 };
 
 &omap3_pmx_core {
                interrupts = <24 IRQ_TYPE_EDGE_FALLING>; /* GPIO_56 */
        };
 
-       /* leds */
-       tca6507@45 {
+       /* leds + gpios */
+       tca6507: tca6507@45 {
                compatible = "ti,tca6507";
                #address-cells = <1>;
                #size-cells = <0>;
        bus-width = <4>;
        ti,non-removable;
        cap-power-off-card;
+       mmc-pwrseq = <&wifi_pwrseq>;
 };
 
 &mmc3 {