From patchwork Tue Jul 30 21:15:22 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luciano Coelho X-Patchwork-Id: 2835972 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 4E6659F9CE for ; Tue, 30 Jul 2013 21:17:55 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 44CFC2035F for ; Tue, 30 Jul 2013 21:17:54 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3D44D20359 for ; Tue, 30 Jul 2013 21:17:53 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1V4HHx-0006qH-9Q; Tue, 30 Jul 2013 21:17:01 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1V4HHe-00038W-JL; Tue, 30 Jul 2013 21:16:42 +0000 Received: from bear.ext.ti.com ([192.94.94.41]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1V4HGz-00033X-V3 for linux-arm-kernel@lists.infradead.org; Tue, 30 Jul 2013 21:16:05 +0000 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id r6ULFZJj016786; Tue, 30 Jul 2013 16:15:35 -0500 Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id r6ULFYW0001491; Tue, 30 Jul 2013 16:15:34 -0500 Received: from dlelxv22.itg.ti.com (172.17.1.197) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.2.342.3; Tue, 30 Jul 2013 16:15:34 -0500 Received: from cumari.coelho.fi (h78-5.vpn.ti.com [172.24.78.5]) by dlelxv22.itg.ti.com (8.13.8/8.13.8) with ESMTP id r6ULFOCl013422; Tue, 30 Jul 2013 16:15:32 -0500 From: Luciano Coelho To: , Subject: [PATCH v2 3/4] ARM: dts: omap4-sdp: add MMC5 (WiLink WLAN) configuration Date: Wed, 31 Jul 2013 00:15:22 +0300 Message-ID: <1375218923-29876-4-git-send-email-coelho@ti.com> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1375218923-29876-1-git-send-email-coelho@ti.com> References: <1375218923-29876-1-git-send-email-coelho@ti.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130730_171602_518634_03F68368 X-CRM114-Status: UNSURE ( 9.60 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -8.4 (--------) Cc: devicetree@vger.kernel.org, coelho@ti.com, linux-wireless@vger.kernel.org, balbi@ti.com, laurent.pinchart@ideasonboard.com, luca@coelho.fi, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-5.7 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add regulator, pin muxing and MMC5 configuration to be used by the on-board WiLink6 module. Signed-off-by: Luciano Coelho --- arch/arm/boot/dts/omap4-sdp.dts | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/arch/arm/boot/dts/omap4-sdp.dts b/arch/arm/boot/dts/omap4-sdp.dts index 7951b4e..3845615 100644 --- a/arch/arm/boot/dts/omap4-sdp.dts +++ b/arch/arm/boot/dts/omap4-sdp.dts @@ -140,6 +140,16 @@ "DMic", "Digital Mic", "Digital Mic", "Digital Mic1 Bias"; }; + + wilink_wl_en: fixedregulator@1 { + compatible = "regulator-fixed"; + regulator-name = "wilink_wl_en"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + gpio = <&gpio2 22 0>; /* gpio line 54 */ + startup-delay-us = <70000>; + enable-active-high; + }; }; &omap4_pmx_wkup { @@ -166,6 +176,7 @@ &mcbsp2_pins &dss_hdmi_pins &tpd12s015_pins + &wilink_pins >; uart2_pins: pinmux_uart2_pins { @@ -295,6 +306,19 @@ 0xf0 (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c4_sda */ >; }; + + wilink_pins: pinmux_wilink_pins { + pinctrl-single,pins = < + 0x7a 0x103 /* gpio_53 INPUT | MODE3 */ + 0x7c 0x3 /* gpio_54 OUTPUT | MODE3 */ + 0x148 0x118 /* clk INPUT PULLUP | MODE0 */ + 0x14a 0x118 /* cmd INPUT PULLUP | MODE0 */ + 0x14c 0x118 /* dat0 INPUT PULLUP | MODE0 */ + 0x14e 0x118 /* dat1 INPUT PULLUP | MODE0 */ + 0x150 0x118 /* dat2 INPUT PULLUP | MODE0 */ + 0x152 0x118 /* dat3 INPUT PULLUP | MODE0 */ + >; + }; }; &i2c1 { @@ -420,8 +444,13 @@ }; &mmc5 { + status = "okay"; + vmmc-supply = <&wilink_wl_en>; bus-width = <4>; + cap-power-off-card; + keep-power-in-suspend; ti,non-removable; + ti,needs-special-hs-handling; }; &emif1 {