From patchwork Wed Nov 8 13:23:04 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Shields X-Patchwork-Id: 10048501 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 E4DBF6032D for ; Wed, 8 Nov 2017 13:23:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D65FF2A617 for ; Wed, 8 Nov 2017 13:23:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C9F7A2A61F; Wed, 8 Nov 2017 13:23:19 +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.4 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM 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 5807D2A617 for ; Wed, 8 Nov 2017 13:23:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752591AbdKHNXQ (ORCPT ); Wed, 8 Nov 2017 08:23:16 -0500 Received: from mail-pg0-f65.google.com ([74.125.83.65]:43437 "EHLO mail-pg0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752584AbdKHNXO (ORCPT ); Wed, 8 Nov 2017 08:23:14 -0500 Received: by mail-pg0-f65.google.com with SMTP id s75so1848918pgs.0 for ; Wed, 08 Nov 2017 05:23:14 -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=GC2W+tEFok6tfbjjIQbNAH8IssbP+CHs4UNX+4Dvrfk=; b=M/9XZzx/CkLDWP1pxU7YDsnke4njUFpYLSNUvPelGrucMlWCZWL43RM6P1LtjEpwgR 8aAVh4ii4at2YhYMZL8OExfgtRLth+PDS/gjuyHbRcAtIPmVEyRD8IZQ7ARKyqBYEaMX ZCalLQfelb1lQwxtOzVcxvu5DAa0SfiBGWukMDxOJGgFkLUpepxovNR7x/ZneG0d0yBQ 8xzruUC0U9BMvius2xj2P3ClPuWNsJ2GNLzTzlhUA2eRs4FX3SeX6WPc6FvTUXEftziz 2cAtc5QHNUco81KjN4p5bjqz/nxJ7SJ/4HiF4HIZwPiyA/QllIBcc+3dV4YA+Vz03ALo Estw== X-Gm-Message-State: AJaThX6p8Ex0ZIN8qMGiGePYxyC3DFjyz719KWmC99TAGaoDCTj3Mxqj CrqwxtUAiV4JWpfnm0JkEmLKPYQSdkk= X-Google-Smtp-Source: ABhQp+SQjPg0tuyth4CCoQb077qNt0oX+LGu14xuQwkrZdQMC+RnvicSQVBT8rtCNW3grFiox4vRGw== X-Received: by 10.159.208.2 with SMTP id a2mr473042plp.370.1510147393334; Wed, 08 Nov 2017 05:23:13 -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 n19sm9134819pfj.52.2017.11.08.05.23.09 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 08 Nov 2017 05:23:12 -0800 (PST) Date: Thu, 9 Nov 2017 00:23:04 +1100 From: Simon Shields To: linux-samsung-soc@vger.kernel.org Cc: Kukjin Kim , Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, Marek Szyprowski Subject: [PATCH v2] arm/dts/trats2: add bcm4334 device node Message-ID: <20171108132258.GA15728@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..2560e8a348ff 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 0>; + interrupt-names = "host-wake"; + }; +}; + &serial_0 { status = "okay"; };