CHROMIUM: exynos: dts: configure SDIO for Wifi
authorVincent Palatin <vpalatin@chromium.org>
Tue, 23 Oct 2012 01:15:58 +0000 (18:15 -0700)
committerGerrit <chrome-bot@google.com>
Fri, 26 Oct 2012 17:25:45 +0000 (10:25 -0700)
The Wifi SDIO card is on the MMC1 interface,
and the MMC3 interface is no longer connected to anything.

Signed-off-by: Vincent Palatin <vpalatin@chromium.org>
BUG=chrome-os-partner:14489
TEST=run on Spring and attach to the guest wifi network from the UI

Change-Id: I42b2a96c67b61a6f220e12c1bd1242d7919c5e9a
Reviewed-on: https://gerrit.chromium.org/gerrit/36301
Commit-Ready: Vincent Palatin <vpalatin@chromium.org>
Tested-by: Vincent Palatin <vpalatin@chromium.org>
Reviewed-by: Sam Leffler <sleffler@chromium.org>
arch/arm/boot/dts/exynos5250-spring.dts

index 8a1380c..c0971d7 100644 (file)
                };
        };
 
+       dwmmc1@12210000 {
+               /*
+                * MMC1 port is used for external Wifi card SDIO connection.
+                *
+                * We override the default configuration for this port which
+                * disables it in cros5250-common.dtsi.
+                */
+               status = "okay";
+               supports-highspeed;
+               card-detection-broken;
+               no-write-protect;
+               keep-power-in-suspend;
+               enable-sdio-wakeup;
+               fifo-depth = <0x80>;
+               card-detect-delay = <200>;
+               samsung,dw-mshc-sdr-timing = <2 3 3>;
+               samsung,dw-mshc-ddr-timing = <1 2 3>;
+
+               slot0 {
+                       bus-width = <4>;
+                       gpios = <&gpc2 1 2 3 3>, <&gpc2 0 2 0 3>,
+                               <&gpc2 3 2 3 3>, <&gpc2 4 2 3 3>,
+                               <&gpc2 5 2 3 3>, <&gpc2 6 2 3 3>;
+               };
+       };
+
        dwmmc2@12220000 {
                /* MMC2 pins are used as GPIO for eDP bridge control */
                status = "disabled";
        };
 
        dwmmc3@12230000 {
-               disable-mmc;
+               /*
+                * Nothing is connected on MMC3 port : disable it.
+                *
+                * We override the default configuration for this port which
+                * configures it for SDIO in cros5250-common.dtsi.
+                */
+               status = "disabled";
        };
 
        i2c@12CD0000 {