From patchwork Tue Apr 12 23:55:52 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guodong Xu X-Patchwork-Id: 8817681 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 60EF5C0553 for ; Wed, 13 Apr 2016 00:06:57 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 883442034F for ; Wed, 13 Apr 2016 00:06:56 +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 BE289202D1 for ; Wed, 13 Apr 2016 00:06:55 +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 1aq8JK-0001Qo-HG; Wed, 13 Apr 2016 00:05:34 +0000 Received: from mail-pa0-x22e.google.com ([2607:f8b0:400e:c03::22e]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aq8EV-0003j4-C5 for linux-arm-kernel@lists.infradead.org; Wed, 13 Apr 2016 00:00:43 +0000 Received: by mail-pa0-x22e.google.com with SMTP id ot11so22452388pab.1 for ; Tue, 12 Apr 2016 17:00:14 -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=ZHFjOC+Yp8gAsCUFB5nF8LD4yLkuuZULA3Uc7LlqemY=; b=gfmB/KfFHyYKASzF9qv7EKzuOC8gG2iDa2fH/XzlmTrX404+tsZuzvEum84bTR6pSH IcJpryULgI5ieBv1geseYjCJZKzaahawCQQa4LI4M7VXs8tgS9KgYdWRdWaWAcaHjRip hKhe04DuKlJ3x219zu4n83+eAg3euqJAEtths= 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=ZHFjOC+Yp8gAsCUFB5nF8LD4yLkuuZULA3Uc7LlqemY=; b=X6/uXVUNIy1yIrhhjKMoQwRfEWFxd+tPCwpcUG2iApt22YvolyLE/xozrlCAg3oorG 95BLhQg+9SlOMJa6cJvnAY2Dh/uvVsmF4yTOugJGwe9TdyfWHXwFimD/oZC7bg/1TlPo kXh5gLPMdhxYBxMGPaGcdklaG4psVf+Ccbl1Af43UjTQOHYJS72cpbhocyORNovvtbQp VGNaFj39msWVbLfIjrEXyeku6sEs1SNCkh9mIPiTCCZ3gBu2fKw+vN+4bfCja/OP72fo LqchDyd+0FNyMwgh/wjRmGdQOf4LXq/CsQHLfstHVkAf9A2PjHPfAYvxM8e4TNJeZmXB yADw== X-Gm-Message-State: AOPr4FVJfDFLgII8+VS+xItu+dJhEMyPSOuNeGrNgl2T5OOO37W9ULltYGbhGOmKO7qPahoW X-Received: by 10.66.102.104 with SMTP id fn8mr8571513pab.129.1460505614402; Tue, 12 Apr 2016 17:00:14 -0700 (PDT) Received: from localhost.localdomain ([104.237.91.226]) by smtp.gmail.com with ESMTPSA id i1sm46165795pfj.17.2016.04.12.17.00.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 12 Apr 2016 17:00:13 -0700 (PDT) From: Guodong Xu To: xuwei5@hisilicon.com, robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, catalin.marinas@arm.com, will.deacon@arm.com, haojian.zhuang@linaro.org, linus.walleij@linaro.org, tony@atomide.com Subject: [PATCH v4 16/16] arm64: dts: add wifi nodes support for hi6220-hikey Date: Wed, 13 Apr 2016 07:55:52 +0800 Message-Id: <1460505352-13157-17-git-send-email-guodong.xu@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1460505352-13157-1-git-send-email-guodong.xu@linaro.org> References: <1460505352-13157-1-git-send-email-guodong.xu@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160412_170035_977006_489C90C1 X-CRM114-Status: GOOD ( 11.36 ) 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, 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=-5.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,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 wifi nodes support for hi6220-hikey Signed-off-by: Guodong Xu --- arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts | 29 ++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts b/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts index cc1148d..e92a30c 100644 --- a/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts +++ b/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts @@ -65,6 +65,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: regulator@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 {