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: 8356281 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 49C4DC0553 for ; Fri, 19 Feb 2016 05:23:00 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 73D3E203AB for ; Fri, 19 Feb 2016 05:22:59 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A5FA2202E6 for ; Fri, 19 Feb 2016 05:22:58 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1aWdVE-0005qy-6T; Fri, 19 Feb 2016 05:21:16 +0000 Received: from mail-pa0-x22f.google.com ([2607:f8b0:400e:c03::22f]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aWdU2-0003rk-EM for linux-arm-kernel@lists.infradead.org; Fri, 19 Feb 2016 05:20:04 +0000 Received: by mail-pa0-x22f.google.com with SMTP id fl4so44038413pad.0 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=FSqRMvwWzC2901Bg9gKCUON/IfQZB6XzrxK3Bwc+qPvH0zY/BZ2Jqz6DZOr2M/Dxak ayePSnAjfv6UkWBVWlWOo1CqD4hXFJrsVBcqylYjPJuDX7aL2Jm+XFEuqlY0xATXkPQS 30ZHfn2w339TXJlsHMAplfyo52zq1Y6PrARthk+Q0Bre+Nuc0ldmEjfZbFQQwYhopA9i uFiKJpCyPCeAAZL5ad3Lg69agvgzrEYThBtjuSC+Z+UxF9as0In3vLKprYcVeidQooEN UV7J5KRG65nmtTOrHpUVOYpovWee4fRsUml9pxL8FU1ClVpBfhZCZsFyQA8JqNypjYvb xsEg== X-Gm-Message-State: AG10YOQm5agZTkM4mlX/2foKoMlxx3ucWlbliIPK5QCDSidehJEnLA8eiqjGXGE8lwOFBfQv 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160218_212002_626150_9CF6B2B8 X-CRM114-Status: GOOD ( 10.08 ) X-Spam-Score: -2.7 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, kong.kongxinwei@hisilicon.com, Guodong Xu , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham 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 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(+) 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 {