]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: dt: t20 ventana: set pinmux and power for wlan
authorWei Ni <wni@nvidia.com>
Fri, 21 Sep 2012 08:54:58 +0000 (16:54 +0800)
committerStephen Warren <swarren@nvidia.com>
Mon, 15 Oct 2012 19:11:06 +0000 (13:11 -0600)
Configure pinmux as required for WiFi.
Enable the SDHCI1 controller, which is connectted to the WiFi module.

Signed-off-by: Wei Ni <wni@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
arch/arm/boot/dts/tegra20-ventana.dts

index 3e5952fcfbc55cc5db7cb514c42191aef2ea28b0..d8161fbab7306e552fdd93124b9d326af784f103 100644 (file)
                                        "ld23_22";
                                nvidia,pull = <1>;
                        };
+                       drive_sdio1 {
+                               nvidia,pins = "drive_sdio1";
+                               nvidia,high-speed-mode = <0>;
+                               nvidia,schmitt = <1>;
+                               nvidia,low-power-mode = <3>;
+                               nvidia,pull-down-strength = <31>;
+                               nvidia,pull-up-strength = <31>;
+                               nvidia,slew-rate-rising = <3>;
+                               nvidia,slew-rate-falling = <3>;
+                       };
                };
        };
 
                status = "okay";
        };
 
+       sdhci@c8000000 {
+               status = "okay";
+               power-gpios = <&gpio 86 0>; /* gpio PK6 */
+               bus-width = <4>;
+       };
+
        sdhci@c8000400 {
                status = "okay";
                cd-gpios = <&gpio 69 0>; /* gpio PI5 */