From patchwork Wed Nov 8 13:01:32 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Shields X-Patchwork-Id: 10048467 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 1BCA560247 for ; Wed, 8 Nov 2017 13:01:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0D76C2A4E5 for ; Wed, 8 Nov 2017 13:01:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 016CD2A595; Wed, 8 Nov 2017 13:01:42 +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 7C69A2A4E5 for ; Wed, 8 Nov 2017 13:01:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752277AbdKHNBm (ORCPT ); Wed, 8 Nov 2017 08:01:42 -0500 Received: from mail-pf0-f195.google.com ([209.85.192.195]:52811 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751893AbdKHNBl (ORCPT ); Wed, 8 Nov 2017 08:01:41 -0500 Received: by mail-pf0-f195.google.com with SMTP id e64so1676410pfk.9 for ; Wed, 08 Nov 2017 05:01:41 -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=Je1Gv0J6/52kmLLP1oSi/4MfqWEuolsStgJOI6164Zg=; b=gzo9q4TWnp++7wuL60JTFh1SNpVMx1jLvPpmnA4xy7HE4mOxvrDYL8MFii+Clt/8Or 2wZUHvagnlIypYkECQic+6JdX7cYgXZ09fonHve8v2L0JozYk9Vg2dCW1eD/CqK+A3in 4L+NnNJq8EOcF58/Lp5S/ct1o0xl5U5lj/WkWJa+gmGdbpEUPTsEksg+QSf/ymzp5YXL uzMFGRN2NCFuf9n+ydGX/+wmBNKpmAakejsu2QBXY7FctfBcdH6YgbZ3ukjm2eqIYc86 zib8Q+yWJJFFhvkjBW7J4CszylELwy+MlzIlYUKHErypCkYG+mBOdOQIQDM2+TahiAbl yKZw== X-Gm-Message-State: AJaThX6PPReA28E+TMgez5s1sL2fF0BswyA8v1W5B0pQa3kCiBpGdf+4 DUD2UsEH5tz5VCmZqWlquhElPoNATec= X-Google-Smtp-Source: ABhQp+TvfoPJbuorz8y000Ew8xw6Gh2lD9OE+9N6o3Mw1bWvg3K7Sbyiq4LJwzkF8mSvIqXpU6I62A== X-Received: by 10.99.116.94 with SMTP id e30mr413703pgn.59.1510146100414; Wed, 08 Nov 2017 05:01:40 -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 u6sm9177520pfg.175.2017.11.08.05.01.36 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 08 Nov 2017 05:01:39 -0800 (PST) Date: Thu, 9 Nov 2017 00:01:32 +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] arm/dts/trats2: add bcm4334 device node Message-ID: <20171108130126.GA8455@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..c34982739d8d 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>; + broken-cd; + 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"; };