From patchwork Sat Apr 2 09:29:43 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guodong Xu X-Patchwork-Id: 64926 Delivered-To: patch@linaro.org Received: by 10.112.199.169 with SMTP id jl9csp250845lbc; Sat, 2 Apr 2016 02:32:29 -0700 (PDT) X-Received: by 10.66.220.162 with SMTP id px2mr37624344pac.15.1459589548717; Sat, 02 Apr 2016 02:32:28 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e5si8311471pat.66.2016.04.02.02.32.28; Sat, 02 Apr 2016 02:32:28 -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=@linaro.org; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754226AbcDBJcO (ORCPT + 29 others); Sat, 2 Apr 2016 05:32:14 -0400 Received: from mail-pf0-f169.google.com ([209.85.192.169]:35454 "EHLO mail-pf0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753958AbcDBJcL (ORCPT ); Sat, 2 Apr 2016 05:32:11 -0400 Received: by mail-pf0-f169.google.com with SMTP id n1so3547219pfn.2 for ; Sat, 02 Apr 2016 02:32:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=kv8KkYYDW0G0IrzwgRx4OvZNppYnkK7o0ZXTDv36Rb4=; b=VYoT6DztOpnHNoYbiUBDSfVBUFaT3C6wymWMas0TfQNYlTKGOfW7w1FMMRS5ZhbgHI iksyG+/CM4gpW0IKDy8DKO6fKH9tI7BFNm95n6wLRpWlp9ShuKtMmKwAjEUAR/LDI6J6 cRpm3nitauttW7srEAjZJXwqHEnNA+svp9hdI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=kv8KkYYDW0G0IrzwgRx4OvZNppYnkK7o0ZXTDv36Rb4=; b=Dedatpumd+2RnAP5QT85b7zX7o8i02Adjt6TZawx/U6POQ6+93wM13GM4lwY1TU8np mbic4zHHiP6ZYk9zuCunSo22MAmN1AnLorz2gh7aRY8ow0zbL6aW0GFRoP5NxjHqD1G0 BPth5IPC9GfxLThhR2TVxEtjA1umMX+k6F3UCC6xIWAs3CkuCXoFmUDGmqneqONn4t3i Ggpj+vr5JZSFtj5Ezn84ttZelMjPa22bFiF7lRI/3oRnLdMuxySK6aHP/DvE+MMnLPoA RZ9R0p1TtpBtLNFK84N+pr+5NJsA97wbAxsTJ3skDJedTE5+OIJTW9Qd2rEsnc8jetXS qh4g== X-Gm-Message-State: AD7BkJLVrKP4nVEi1DAhgQ9vkvqEDbHe/k0kQ/TgQ4c4ZAJ0+6CWwoPZ7Hc4D+45OC6XP4cU X-Received: by 10.98.14.67 with SMTP id w64mr4994965pfi.154.1459589530605; Sat, 02 Apr 2016 02:32:10 -0700 (PDT) Received: from localhost.localdomain ([104.237.91.92]) by smtp.gmail.com with ESMTPSA id i9sm25425804pfi.95.2016.04.02.02.32.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 02 Apr 2016 02:32:09 -0700 (PDT) From: Guodong Xu To: xuwei5@hisilicon.com, mark.rutland@arm.com, robh@kernel.org, grant.likely@secretlab.ca, linus.walleij@linaro.org, arnd.bergmann@linaro.org Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kong.kongxinwei@hisilicon.com, Guodong Xu Subject: [PATCH v2 16/16] arm64: dts: add wifi nodes support for hi6220-hikey Date: Sat, 2 Apr 2016 17:29:43 +0800 Message-Id: <1459589383-16914-17-git-send-email-guodong.xu@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1459589383-16914-1-git-send-email-guodong.xu@linaro.org> References: <1459589383-16914-1-git-send-email-guodong.xu@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add wifi nodes support for hi6220-hikey Signed-off-by: Guodong Xu --- arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts | 30 ++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) -- 1.9.1 diff --git a/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts b/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts index a6dffa8..78ce994 100644 --- a/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts +++ b/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts @@ -48,6 +48,7 @@ i2c0: i2c@f7100000 { status = "ok"; }; + i2c1: i2c@f7101000 { status = "ok"; }; @@ -63,6 +64,35 @@ uart3: uart@f7113000 { status = "ok"; }; + + dwmmc_2: dwmmc2@f723f000 { + ti,non-removable; + non-removable; + /* WL_EN */ + vmmc-supply = <&wlan_en_reg>; + + #address-cells = <0x1>; + #size-cells = <0x0>; + wlcore: wlcore@2 { + compatible = "ti,wl1835"; + reg = <2>; /* sdio func num */ + /* WL_IRQ, WL_HOST_WAKE_GPIO1_3 */ + interrupt-parent = <&gpio1>; + interrupts = <3 IRQ_TYPE_EDGE_RISING>; + }; + }; + + wlan_en_reg: fixedregulator@1 { + compatible = "regulator-fixed"; + regulator-name = "wlan-en-regulator"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + /* WLAN_EN GPIO */ + gpio = <&gpio0 5 0>; + /* WLAN card specific delay */ + startup-delay-us = <70000>; + enable-active-high; + }; }; leds {