From patchwork Thu Nov 9 08:37:03 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Shields X-Patchwork-Id: 10050495 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 00B89601EB for ; Thu, 9 Nov 2017 08:37:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D8357297F5 for ; Thu, 9 Nov 2017 08:37:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CD0BD2982A; Thu, 9 Nov 2017 08:37:14 +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 3DFBF297F5 for ; Thu, 9 Nov 2017 08:37:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753367AbdKIIhN (ORCPT ); Thu, 9 Nov 2017 03:37:13 -0500 Received: from mail-pg0-f67.google.com ([74.125.83.67]:57049 "EHLO mail-pg0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753360AbdKIIhN (ORCPT ); Thu, 9 Nov 2017 03:37:13 -0500 Received: by mail-pg0-f67.google.com with SMTP id m18so4114092pgd.13 for ; Thu, 09 Nov 2017 00:37:13 -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=N6hYc93M8KrGRMFYD2ejTBk5CCoDgt271VorzJsJ4xE=; b=WmL+GE9FYiaTc3WvyxmXR9+XF9skMa/JB7R7zD5sXuHQSl7vgu2Py1Qs9IwNlvXM1G ykxPO2PMb+1KMvGAvZvEtwT/aH+gq8sTs340J/NI+BL+a/dpZX2VC+DNWvN0PVk7PzTO AakH7RzgFHGqSyI5fulbiNC9qhF7UCtaO9VESTECsIxXFte4gcltTXzgu8dWTNC4jZJH ThZX2w6Ma6V2DGgTwyZMNUgFVfxR1WW2A5hL5pwQueHHi6rcQu1A8ZY5A/ISixSvZq9m bY2Bq2rSH6ast3ZeYnvgxJh3tFuNlHT07568Af92D2bbx5Qcer/1k7uWd7CBU/BRLH87 HA4Q== X-Gm-Message-State: AJaThX4Cl98HM8bcZKX+OtaclGml7s3lS7qqsIAH1K94GZRZz/FGyWVl uzNNgeLxsicgHGiGM1/pD2Ep1jGANt8= X-Google-Smtp-Source: ABhQp+SalyI7ITcmdQZr5TnNu+zl/t615m5AUc6HV8uByHJQo9CjXmoeLbo2pHUIR4C5A8z6NaidDg== X-Received: by 10.99.96.11 with SMTP id u11mr3140375pgb.295.1510216632340; Thu, 09 Nov 2017 00:37:12 -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 f15sm10351424pgv.45.2017.11.09.00.37.08 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 09 Nov 2017 00:37:11 -0800 (PST) Date: Thu, 9 Nov 2017 19:37:03 +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 v3] arm/dts/trats2: add bcm4334 device node Message-ID: <20171109083657.GA27597@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 2da6ced64ee0..f34fdc9c57ad 100644 --- a/arch/arm/boot/dts/exynos4412-trats2.dts +++ b/arch/arm/boot/dts/exynos4412-trats2.dts @@ -240,6 +240,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>; @@ -1238,6 +1245,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"; };