From patchwork Mon Nov 13 00:52: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: 10055035 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 E15F760365 for ; Mon, 13 Nov 2017 00:52:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C986F29219 for ; Mon, 13 Nov 2017 00:52:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BE3822929F; Mon, 13 Nov 2017 00:52:13 +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 3274529219 for ; Mon, 13 Nov 2017 00:52:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751113AbdKMAwM (ORCPT ); Sun, 12 Nov 2017 19:52:12 -0500 Received: from mail-pg0-f67.google.com ([74.125.83.67]:49328 "EHLO mail-pg0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751020AbdKMAwM (ORCPT ); Sun, 12 Nov 2017 19:52:12 -0500 Received: by mail-pg0-f67.google.com with SMTP id g6so11471996pgn.6 for ; Sun, 12 Nov 2017 16:52:12 -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=7CXqix2ON1M9SYBz09vcX5CB2tDc0qgyjXRAS9h0bmU=; b=tWgDxe4uT29vuir//8RzjtpVll8PPF7aipyytA6YEzw7sqEFbWsN1kG6T/aHRirnE9 /5XoI3UMXc1NYqkiTtAfB+3iCJ2zVMDkKgNEZ5Z7uvl9rsmwRgEThEVrFdxUtOdFhfyc XF109zMFKygbTTKGbcRzMuzbhyYgl9GV20mAghOlfOCWqTwTlhvmKrp8tvQRTHzQ9OLT BbscwQd+veUyH4cWlPS3FCQCu8hqat2riLG9Zf9e1kZO45gWG7K59JyQJA3cYwCp5uJe Ps/hyAFRPlMecwOnEvDkbN6NhQiOTEDEUWBt7KS5ca3bqR2sKLyV6R0zHJPBVZ4q5C89 5Vrw== X-Gm-Message-State: AJaThX7m/q7weKYl94GjoPO57D8XWoYbXX9/McKqIeOLkTBdV/Im0kYr yLZo6tbFkJV04essQPQITGULwpMW X-Google-Smtp-Source: AGs4zMaHskK+8mzg0tGio6W9yjJw5FojCGosRib5J1A9TVxMczuLON8BGuTn5lX3apcSSdgDPnjZmQ== X-Received: by 10.101.75.78 with SMTP id k14mr6970048pgt.272.1510534331256; Sun, 12 Nov 2017 16:52:11 -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 d6sm29163233pfc.29.2017.11.12.16.52.07 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 12 Nov 2017 16:52:10 -0800 (PST) Date: Mon, 13 Nov 2017 11:52: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 v5] ARM: dts: exynos: add bcm4334 device node to trats2 Message-ID: <20171113005203.GA15175@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 Reviewed-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos4412-trats2.dts | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/arch/arm/boot/dts/exynos4412-trats2.dts b/arch/arm/boot/dts/exynos4412-trats2.dts index 2da6ced64ee0..d57cd000e17c 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,26 @@ 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>; + status = "okay"; + + brcmf: wifi@1 { + reg = <1>; + compatible = "brcm,bcm4329-fmac"; + interrupt-parent = <&gpx2>; + interrupts = <5 IRQ_TYPE_NONE>; + interrupt-names = "host-wake"; + }; +}; + &serial_0 { status = "okay"; };