From patchwork Fri Apr 27 12:09:02 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kishon Vijay Abraham I X-Patchwork-Id: 134607 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp641242lji; Fri, 27 Apr 2018 05:10:05 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoMUHnT7xS7R7l/qzIJAJTg7qWqoMk0vsL/mxIO7kfqHmaL+A7h3MtBiLrO0qAZX247YXCC X-Received: by 2002:a17:902:8:: with SMTP id 8-v6mr2059895pla.287.1524831005520; Fri, 27 Apr 2018 05:10:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524831005; cv=none; d=google.com; s=arc-20160816; b=za9vbT64lvbwL9IO+UvMGT91KoK/7v003AO5n52NwyJPJ0R5uoygCZg6rgijo89bnV wRHgaXhRQoHd7uuPHslisnV6cEr/epmI+ANGyW2FZF77Jfewe8wjOlATkLF5ADjC0kvb FaJu8FEAWfhPDITlI4FLRF0yndCKXdt+19tbLSDG/ddmu0QR32KXhGf5cC7x+rno80T9 1eZfU7CjfkcviRW8shqbjUfqgaF5GR63QL1e3ToOOgFwuYDMy3VpJWxAyDnbOSWntP+a UnNv3PFbPTfpbu2RckPtU6mWN7qNIyDmWz7a7mxM7bJVINHt+LwLEbp57PoqfhT36A44 zfFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=YfBfRK9724wEl1t/YzgL/mLB4viP6E9DbYLihcbfy+0=; b=c5ex7ebZYcMe3MnRVfufF/gy3L4hZVjiZUZDtpbw999EVdJAggUTh9Wu+I1NhuMaTz IZWLf0ZGMrCnAjqH/mgqs7UhtxZ4NnPg4k0lYxx+jh+clqu/4cIt4JzFQIHFNrNjvpQ3 sejRc5SYAIBX55aAUPbNqAi/1vyJP5ihl84NEgU1aczNdbVkFE2NFVp5USCAUIvkjJdr jjI3rT4LHdMEmuSzhHANJLm/Mr905Yho8JOiSAK9WvzTE7iZGmMrDg2pjOW552dCR63Y nWq1PP4Tin5StTOxcyTaPy0J801+y5qljDoObpxLvCqvAzdM6sK0wydFDXYR90CxGYAF nH8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=V7/lLaO2; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 64si1153610pfl.309.2018.04.27.05.10.05; Fri, 27 Apr 2018 05:10:05 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=V7/lLaO2; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932351AbeD0MKD (ORCPT + 29 others); Fri, 27 Apr 2018 08:10:03 -0400 Received: from fllnx210.ext.ti.com ([198.47.19.17]:47331 "EHLO fllnx210.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758188AbeD0MJ6 (ORCPT ); Fri, 27 Apr 2018 08:09:58 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by fllnx210.ext.ti.com (8.15.1/8.15.1) with ESMTP id w3RC9rlq012884; Fri, 27 Apr 2018 07:09:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1524830993; bh=ijg7xPtevId5ZQhgZf85ctb3V8Td3aXBcmwiW3sq1wY=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=V7/lLaO2Kq5VAzdejOkcMg5SHEnF59AcNSFb0YrKThTdDnCvePdanqTdKhRlhnSYT eA0M0bJrgEpMwqnwr7cheGuBJ9us5wXapiumYn1+Txy3HMDSNDBi4hqH8ZKCvCE+AG zdAEnmUQmWE9qBlwc17O8i5D7m2dEZUJBTKa1EW8= Received: from DFLE101.ent.ti.com (dfle101.ent.ti.com [10.64.6.22]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id w3RC9rOp013036; Fri, 27 Apr 2018 07:09:53 -0500 Received: from DFLE115.ent.ti.com (10.64.6.36) by DFLE101.ent.ti.com (10.64.6.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Fri, 27 Apr 2018 07:09:52 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DFLE115.ent.ti.com (10.64.6.36) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Fri, 27 Apr 2018 07:09:52 -0500 Received: from a0393678ub.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id w3RC9AjT006789; Fri, 27 Apr 2018 07:09:49 -0500 From: Kishon Vijay Abraham I To: Tony Lindgren CC: Jonathan Corbet , =?utf-8?q?Beno=C3=AEt_Cousson?= , Rob Herring , Mark Rutland , , , , , , Vishal Mahaveer Subject: [PATCH v4 11/14] ARM: dts: dra76-evm: Add wilink8 wlan support Date: Fri, 27 Apr 2018 17:39:02 +0530 Message-ID: <20180427120905.3665-12-kishon@ti.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180427120905.3665-1-kishon@ti.com> References: <20180427120905.3665-1-kishon@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Vishal Mahaveer Add support for WLAN using wilink8 module. On dra76-evm, MMC4 is used for connecting to wilink8 module. Signed-off-by: Vishal Mahaveer Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/dra76-evm.dts | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) -- 2.17.0 diff --git a/arch/arm/boot/dts/dra76-evm.dts b/arch/arm/boot/dts/dra76-evm.dts index 2deb96405d06..ad154c7b0632 100644 --- a/arch/arm/boot/dts/dra76-evm.dts +++ b/arch/arm/boot/dts/dra76-evm.dts @@ -42,6 +42,16 @@ regulator-boot-on; }; + vio_3v6: fixedregulator-vio_3v6 { + compatible = "regulator-fixed"; + regulator-name = "vio_3v6"; + regulator-min-microvolt = <3600000>; + regulator-max-microvolt = <3600000>; + vin-supply = <&vsys_5v0>; + regulator-always-on; + regulator-boot-on; + }; + vsys_3v3: fixedregulator-vsys3v3 { /* Output of Cntlr A of TPS43351-Q1 on dra76-evm */ compatible = "regulator-fixed"; @@ -81,6 +91,16 @@ vin-supply = <&smps5_reg>; }; + vmmcwl_fixed: fixedregulator-mmcwl { + compatible = "regulator-fixed"; + regulator-name = "vmmcwl_fixed"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + gpio = <&gpio5 8 0>; /* gpio5_8 */ + startup-delay-us = <70000>; + enable-active-high; + }; + vtt_fixed: fixedregulator-vtt { compatible = "regulator-fixed"; regulator-name = "vtt_fixed"; @@ -331,6 +351,17 @@ pinctrl-3 = <&mmc2_pins_hs200 &mmc2_iodelay_hs200_conf>; }; +&mmc4 { + status = "okay"; + vmmc-supply = <&vio_3v6>; + vqmmc-supply = <&vmmcwl_fixed>; + pinctrl-names = "default", "hs", "sdr12", "sdr25"; + pinctrl-0 = <&mmc4_pins_hs &mmc4_iodelay_default_conf>; + pinctrl-1 = <&mmc4_pins_hs &mmc4_iodelay_manual1_conf>; + pinctrl-2 = <&mmc4_pins_hs &mmc4_iodelay_manual1_conf>; + pinctrl-3 = <&mmc4_pins_hs &mmc4_iodelay_manual1_conf>; +}; + /* No RTC on this device */ &rtc { status = "disabled";