From patchwork Fri Feb 19 05:19:08 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guodong Xu X-Patchwork-Id: 62264 Delivered-To: patch@linaro.org Received: by 10.112.43.199 with SMTP id y7csp965965lbl; Thu, 18 Feb 2016 21:19:59 -0800 (PST) X-Received: by 10.67.12.175 with SMTP id er15mr15430736pad.70.1455859199447; Thu, 18 Feb 2016 21:19:59 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l8si14145457pfb.18.2016.02.18.21.19.59; Thu, 18 Feb 2016 21:19:59 -0800 (PST) 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; 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; dkim=pass header.i=@linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757569AbcBSFT5 (ORCPT + 30 others); Fri, 19 Feb 2016 00:19:57 -0500 Received: from mail-pa0-f50.google.com ([209.85.220.50]:34273 "EHLO mail-pa0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757542AbcBSFTo (ORCPT ); Fri, 19 Feb 2016 00:19:44 -0500 Received: by mail-pa0-f50.google.com with SMTP id fy10so43934299pac.1 for ; Thu, 18 Feb 2016 21:19:42 -0800 (PST) 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=xbVgbolj4OE6hl+JLZF6bhgAfX6cjTJ1EgW1cFSDHx8=; b=HxoUsyvy4QngsTzzLMR6eRJfapBdSYF/XCaHasHjc9Ozq2fBWoVSFCXuzYBjRL5nlP iOGk3wEV1NHL2JzeYM5AB/oIbJZlwa2kQhLc25gzSvlGW7CjvrpR6Zu2BYPyiOjLrvKe QEJ2uDFbiy3m8UxC7isVV7XaFnX8NlFJ5mtWM= 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=xbVgbolj4OE6hl+JLZF6bhgAfX6cjTJ1EgW1cFSDHx8=; b=av2+TBow3W3YcfcYaC2ARloHEbzy0XC89XACX81snaQM4tPo9TZipyvlkMUmLVysHa mgfIiXZ+Yy6seg+jNuUDWKAco1414ph1/e1WtwIi2S0KzOw065wlTzq6Vf7+aPnHsvbq aEeh9qofmgI/CFnFly0FhljTyNgaHCvwIfq0Jkl/0E6wT/HUcFS6mLUy6xu3iW/kw0i1 YA1fi10RKYkQWYqu+zkM6N53ekys0p2Vpq44qHZ/XuPI6jCh1QPrp71JWL5PyUkq9QJe JB4G4eJxCECDBpRbxSBp9Xb9R16ObFaODoV2C/c56Show4Vqu9WsvmRiDDq9hz/AVmci nE2w== X-Gm-Message-State: AG10YOS3lAST1bKaiwi2SsqwdqNNp1aXrvlMUueetNYadWpvv9LXJIQr4oTUjZBsp9iB8ZJU X-Received: by 10.66.62.195 with SMTP id a3mr15725343pas.28.1455859181833; Thu, 18 Feb 2016 21:19:41 -0800 (PST) Received: from docularxu-ThinkPad-T440p.219.146.1.66 ([111.161.114.233]) by smtp.gmail.com with ESMTPSA id l62sm14215507pfj.7.2016.02.18.21.19.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 18 Feb 2016 21:19:41 -0800 (PST) From: Guodong Xu To: xuwei5@hisilicon.com, mark.rutland@arm.com, robh@kernel.org, grant.likely@secretlab.ca Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kong.kongxinwei@hisilicon.com, Guodong Xu Subject: [PATCH 5/5] arm64: dts: add wifi nodes support for hi6220-hikey Date: Fri, 19 Feb 2016 13:19:08 +0800 Message-Id: <1455859148-29098-6-git-send-email-guodong.xu@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1455859148-29098-1-git-send-email-guodong.xu@linaro.org> References: <1455859148-29098-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 | 28 ++++++++++++++++++++++++++ 1 file changed, 28 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 5a004b4..eba6ec7 100644 --- a/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts +++ b/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts @@ -47,6 +47,7 @@ i2c0: i2c@f7100000 { status = "ok"; }; + i2c1: i2c@f7101000 { status = "ok"; }; @@ -62,6 +63,33 @@ uart3: uart@f7113000 { status = "ok"; }; + + dwmmc_2: dwmmc2@f723f000 { + /* 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 {