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: 65083 Delivered-To: patch@linaro.org Received: by 10.112.199.169 with SMTP id jl9csp467241lbc; Tue, 5 Apr 2016 06:32:01 -0700 (PDT) X-Received: by 10.66.160.7 with SMTP id xg7mr61551752pab.10.1459863120724; Tue, 05 Apr 2016 06:32:00 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n69si7188536pfa.4.2016.04.05.06.32.00; Tue, 05 Apr 2016 06:32:00 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933252AbcDENbj (ORCPT + 7 others); Tue, 5 Apr 2016 09:31:39 -0400 Received: from mail-pf0-f169.google.com ([209.85.192.169]:35666 "EHLO mail-pf0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932846AbcDENbi (ORCPT ); Tue, 5 Apr 2016 09:31:38 -0400 Received: by mail-pf0-f169.google.com with SMTP id n1so11029684pfn.2 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=ifnUG4qL6NCJ8uS88LYN9atqfPkQW4KpHoJ9KXthalYAqocZvoPWX8le3rsf60AYlD gY7IDSCv6B3kPaP98qnDVxHw4OpjA76ApkE6m6oktJp6CxfUQi8cTSAl1L2EiUm8Jjmj M0jFsQUK7iqLvUfExX5oPaqEhlmsCFof/GWiR5vvpVwWtJyPCgCxRmCk0JDQsp54KKXN emr+eCpOwLIVnxUrhyL08IlxwTw9sCZkrNCDIpu5n8+jOwIXtCSC93a1d00nICSUcDJj 0R6/4sh4aaoQch7wDGipiO/8uqsso0dZCDeMn9JM3NMVceNGu1d1XE0UUM9toEwsBx7o JecQ== X-Gm-Message-State: AD7BkJImn5OroaY+Fbylx2BREb8aLlU9A6Upc4C5M1C6vyTFYw/fEq8Vt4JrOIeJtcPuusT+ 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 Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kong.kongxinwei@hisilicon.com, Guodong Xu 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> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@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 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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 {