From patchwork Tue Apr 5 13:27:40 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guodong Xu X-Patchwork-Id: 8751781 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 929CE9F39A for ; Tue, 5 Apr 2016 13:40:53 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B65EE202BE for ; Tue, 5 Apr 2016 13:40:52 +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 DF8D020154 for ; Tue, 5 Apr 2016 13:40:50 +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 1anRCJ-0003DP-N6; Tue, 05 Apr 2016 13:39:11 +0000 Received: from mail-pf0-x22e.google.com ([2607:f8b0:400e:c00::22e]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1anR5K-00043K-JK for linux-arm-kernel@lists.infradead.org; Tue, 05 Apr 2016 13:32:05 +0000 Received: by mail-pf0-x22e.google.com with SMTP id e128so11002021pfe.3 for ; Tue, 05 Apr 2016 06:31:38 -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=OPCoUf6qlf878JvEpNOCGGg+84GA6dpMPNbewyyI3XbGmavZaH+kqdJYoVM7u4eB9i gjT0QLD9SCiJbjVuAiTS7wGdcIvYL0ckvbZmOl0AeCOBbxqMxqqt9ub4F445r6A9QERf wU0BBKDR/Rh8m/rR3g3z+5ABQitypkbOHqhgY= 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=ChBrlFxxXZ6tIqh3iygmNPLGY+osSi1v4G2CC7ryYtyUL4qZRlJam19Hde7sLB8BdF rTIKDYkBKuQOHSujmfCTMAlUtHc4Z/jIYouI6IXTVYLWF/Z+hAKNNuB6vEejBylwiPTw TRufwfgFiUSPNkrnEGzxDycvTp6k3tcRXU7/i7BW9DmhIJpqPo7RkHDo7Wes/8/JcrKs eqD0b1oK+vDZFvOw5tgPdctHevcJc7x5wK/OBgK2XMlbCjEvBj2NuBmlGDdzJTSdcP3l 8HTbD50N2SGHV4aCCcpGKslQLSbM1c0K1woAuc8RidvME0kXNA7O1eWlr2yNdwc7KgW0 tfjA== X-Gm-Message-State: AD7BkJJVOk3kV09U8NWItCEXXc+PDPQgIOTDuJsSgFGqkCJ60D6LHx49cnSKavscZWcwDiBn X-Received: by 10.98.70.27 with SMTP id t27mr29218676pfa.107.1459863097926; Tue, 05 Apr 2016 06:31:37 -0700 (PDT) Received: from localhost.localdomain ([45.56.152.49]) by smtp.gmail.com with ESMTPSA id wh9sm8060481pab.8.2016.04.05.06.31.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 05 Apr 2016 06:31:37 -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 Subject: [PATCH v3 16/16] arm64: dts: add wifi nodes support for hi6220-hikey Date: Tue, 5 Apr 2016 21:27:40 +0800 Message-Id: <1459862860-9775-17-git-send-email-guodong.xu@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1459862860-9775-1-git-send-email-guodong.xu@linaro.org> References: <1459862860-9775-1-git-send-email-guodong.xu@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160405_063159_280970_8102DBBB X-CRM114-Status: GOOD ( 10.41 ) 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=-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 | 30 ++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) 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 {