From patchwork Thu Nov 9 10:06:45 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Shields X-Patchwork-Id: 10050671 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 66112601EB for ; Thu, 9 Nov 2017 10:06:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 591262AC24 for ; Thu, 9 Nov 2017 10:06:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4E0402AC26; Thu, 9 Nov 2017 10:06:57 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CC6052AC24 for ; Thu, 9 Nov 2017 10:06:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753872AbdKIKG4 (ORCPT ); Thu, 9 Nov 2017 05:06:56 -0500 Received: from mail-pf0-f193.google.com ([209.85.192.193]:55898 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752920AbdKIKGy (ORCPT ); Thu, 9 Nov 2017 05:06:54 -0500 Received: by mail-pf0-f193.google.com with SMTP id 17so3902498pfn.12 for ; Thu, 09 Nov 2017 02:06:54 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:user-agent; bh=4d+58hcS9XE3KZ+yxiTNEbwQG5Bev/tNPgdAYUEQncA=; b=eBD6Z2bMhIZEvKm+O5oYN6tKdNxSSTp1N6NgFZCFqrrND2uls2cYiWL9AC3wA1n4zb FFsCBiEXh4wzf+V5RMiZMxS1yAgGgoOsvbiW6I9VLdRNOKlUC5Od8O3cchb6+iFZnFtF 0EC8qWCDv+ZCjp4utExZE4sCLwNgl4YyCIATyKLQKbnT44oG2uQ+MTOSSZXtsRs0zx0U lac7eUi6cvEEfEfsroa7eDprNZEdzDSaL5WaE008o3MqbEQ4Kx/DijOremuTuxUKDjW4 3fnRw4km5+J9Hoxpt8InovZn+p8vLw9zKlxsiHFQbeNnlMoObIPDdPJ0oMxe4bTwG9bG IRgQ== X-Gm-Message-State: AJaThX673/kaMHVqnlAXH1GdTaiUiSKfutF3OqvGd53QyWTBIPpGfFdl 7ApNCPmDQGTaohAN/j3c8nKqmAru15c= X-Google-Smtp-Source: ABhQp+S/7/kl7qdGIAA/tgwk69ukuHshwu1zUjtVXCDeS56R2cyzB5tuBAIYaDdqnRy113sYsd0fqg== X-Received: by 10.98.163.84 with SMTP id s81mr3575164pfe.64.1510222013961; Thu, 09 Nov 2017 02:06:53 -0800 (PST) Received: from lineageos.org (27-32-42-49.static.tpgi.com.au. [27.32.42.49]) by smtp.gmail.com with ESMTPSA id h8sm11163030pgq.82.2017.11.09.02.06.49 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 09 Nov 2017 02:06:52 -0800 (PST) Date: Thu, 9 Nov 2017 21:06:45 +1100 From: Simon Shields To: linux-samsung-soc@vger.kernel.org Cc: Kukjin Kim , Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, Marek Szyprowski , Javier Martinez Canillas Subject: [PATCH v4] ARM: dts: exynos: add bcm4334 device node to trats2 Message-ID: <20171109100645.GA32635@lineageos.org> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.9.1 (2017-09-22) Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch allows the bcm4334 to power on and enables wifi functionality on trats2. Signed-off-by: Simon Shields --- arch/arm/boot/dts/exynos4412-trats2.dts | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/arch/arm/boot/dts/exynos4412-trats2.dts b/arch/arm/boot/dts/exynos4412-trats2.dts index bceb919ac637..1bf1943ba7a1 100644 --- a/arch/arm/boot/dts/exynos4412-trats2.dts +++ b/arch/arm/boot/dts/exynos4412-trats2.dts @@ -241,6 +241,13 @@ }; + wlan_pwrseq: sdhci3-pwrseq { + compatible = "mmc-pwrseq-simple"; + reset-gpios = <&gpj0 0 GPIO_ACTIVE_LOW>; + clocks = <&max77686 MAX77686_CLK_PMIC>; + clock-names = "ext_clock"; + }; + sound { compatible = "samsung,trats2-audio"; samsung,i2s-controller = <&i2s0>; @@ -1239,6 +1246,27 @@ status = "okay"; }; +&sdhci_3 { + #address-cells = <1>; + #size-cells = <0>; + non-removable; + bus-width = <4>; + + mmc-pwrseq = <&wlan_pwrseq>; + pinctrl-names = "default"; + pinctrl-0 = <&sd3_clk &sd3_cmd &sd3_bus4>; + vmmc-supply = <&ldo21_reg>; + status = "okay"; + + brcmf: brcmf@1 { + reg = <1>; + compatible = "brcm,bcm4329-fmac"; + interrupt-parent = <&gpx2>; + interrupts = <5 IRQ_TYPE_NONE>; + interrupt-names = "host-wake"; + }; +}; + &serial_0 { status = "okay"; };