From patchwork Sat Apr 2 09:29:43 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guodong Xu X-Patchwork-Id: 8731121 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 45C879F3D1 for ; Sat, 2 Apr 2016 09:39:26 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7B4612038A for ; Sat, 2 Apr 2016 09:39:25 +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 9B9EB201F5 for ; Sat, 2 Apr 2016 09:39:24 +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 1amI09-0000JD-0k; Sat, 02 Apr 2016 09:37:53 +0000 Received: from mail-pf0-x22d.google.com ([2607:f8b0:400e:c00::22d]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1amHus-0001yL-Lk for linux-arm-kernel@lists.infradead.org; Sat, 02 Apr 2016 09:32:31 +0000 Received: by mail-pf0-x22d.google.com with SMTP id x3so108071866pfb.1 for ; Sat, 02 Apr 2016 02:32:11 -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=VYoT6DztOpnHNoYbiUBDSfVBUFaT3C6wymWMas0TfQNYlTKGOfW7w1FMMRS5ZhbgHI iksyG+/CM4gpW0IKDy8DKO6fKH9tI7BFNm95n6wLRpWlp9ShuKtMmKwAjEUAR/LDI6J6 cRpm3nitauttW7srEAjZJXwqHEnNA+svp9hdI= 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=KXkv3Qt9BhX4WPCDcoEcBaFm7E0umjFD7c7IB0PWg8WV1FR8fiwQ6z72pBU3zvHQTk ImUKnw6Q6MW1crcNq0qh6YsQJ0/KLh/6gl71pM7hIyvTnRue2yiDVVGRg4iSR0nLmExY RPrhQl3WMHXp0/Q8FjMAnbB+0MBr1NbuG4qPfhT6liw7m0TtFR0fE+V/BUMQ6r/2sdlG qPMmnjwqtIB8X6MH4NtBfvro1hb0x7djhUbfV6VsPgNXBogV18+Lu6fN78f5UQ+AejY/ FMBBMHCF19zqkscDfK2Xxg6vzXJeLaN77A+69JTzQwY1rRxr01OGaBG3zlTFOrb+BpW9 o8AA== X-Gm-Message-State: AD7BkJIaYKzkAC6uy7tDSx0PtqzA1sMdgyU41gQ/pnphIHUeMgl+kBROAWZ+qDcBrfHxAye3 X-Received: by 10.98.14.67 with SMTP id w64mr4994965pfi.154.1459589530605; Sat, 02 Apr 2016 02:32:10 -0700 (PDT) Received: from localhost.localdomain ([104.237.91.92]) by smtp.gmail.com with ESMTPSA id i9sm25425804pfi.95.2016.04.02.02.32.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 02 Apr 2016 02:32:09 -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 v2 16/16] arm64: dts: add wifi nodes support for hi6220-hikey Date: Sat, 2 Apr 2016 17:29:43 +0800 Message-Id: <1459589383-16914-17-git-send-email-guodong.xu@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1459589383-16914-1-git-send-email-guodong.xu@linaro.org> References: <1459589383-16914-1-git-send-email-guodong.xu@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160402_023227_119636_865FE745 X-CRM114-Status: GOOD ( 10.84 ) 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 {