From patchwork Tue Oct 27 14:23:28 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 11861231 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 94BB692C for ; Tue, 27 Oct 2020 17:49:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7150224197 for ; Tue, 27 Oct 2020 17:49:35 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="L2znZ7qa" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1822366AbgJ0Rte (ORCPT ); Tue, 27 Oct 2020 13:49:34 -0400 Received: from mail-ed1-f65.google.com ([209.85.208.65]:45188 "EHLO mail-ed1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760004AbgJ0Rqw (ORCPT ); Tue, 27 Oct 2020 13:46:52 -0400 Received: by mail-ed1-f65.google.com with SMTP id dg9so2325981edb.12 for ; Tue, 27 Oct 2020 10:46:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:resent-from:resent-date:resent-message-id :resent-to:dmarc-filter:dkim-filter:dkim-signature:from:to:cc :subject:date:message-id:cms-type:references; bh=J77/F/hLSR9dNv1sIfSu1cyyoED7ummEYJEbsG7LdZQ=; b=gR0CWV1hYbgvpY5Yi6jHduL14zyzI10d9DYeOXd9X8D//qAx6hsWLpiC5eWlTl418/ VBZHHQn9BFZ/hP3bts5raMtm9TRVJ3h68oEl3OSNjHtoqPZ5J29j1XjiciUDKS53RykM 8Wyj+vzwD3NxcX2vA0saraBuwY5gNMUSixL6Ppi1L3PdY4hzHT6y96cfZBZchXQs1Z2b Baae8yM/uT84OUH8+Q8MZeFolcrO8yAPsvBEME76HpVqU5l7nP1Cg3SjEvUv7yq9YPVq 6pE5xLtG2CGfnh1qysfGpxlMAKRgJprX8WymP8ConH4wGavpjqBMJrDEZ0DZsXsMlfSx qQ/A== X-Gm-Message-State: AOAM530uxvv1+Onb61l6riXEz4Omf+oqZK9U899iR9qZNLXtIGjiM5Zq LpNoCQI8ChKc6s9sj9gn9L7KkHsfujZ73QdI X-Google-Smtp-Source: ABdhPJwf7zBg86+7AfdRvp61OR1/UoLwJLuSB7YsRHukwIjSjZUtlmGKYdCgxy8cBfuyr6zA4FHu3g== X-Received: by 2002:a50:d59c:: with SMTP id v28mr3304625edi.241.1603820809419; Tue, 27 Oct 2020 10:46:49 -0700 (PDT) Received: from kozik-lap ([194.230.155.184]) by smtp.googlemail.com with ESMTPSA id h8sm1366539eds.51.2020.10.27.10.46.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Oct 2020 10:46:46 -0700 (PDT) Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=m.szyprowski@samsung.com Authentication-Results: mail.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com Received: by 2002:a17:907:685:0:0:0:0 with SMTP id wn5csp3535778ejb; Tue, 27 Oct 2020 07:23:56 -0700 (PDT) X-Received: by 2002:a17:90a:2842:: with SMTP id p2mr2165462pjf.220.1603808635855; Tue, 27 Oct 2020 07:23:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603808635; cv=none; d=google.com; s=arc-20160816; b=atc2GicTEU71KlwvE7DiNsEQzoxSr6uYHQYegM0W9GjphsrOfktGa1jskPAhlJG8R4 /8Gmk4p/82pga0m49XqWW3esJxvNhU+Psi8GKAeWlkwbdmU7Q3LnNUEesa3+EtXjMz6s jticRTe7XBDRictByyqPMrplXDMICzZLSzRDp0UODl6XDTtscUI+Q1L75wLBMdGFL/v7 QXvkg/BUlnR6CbxRCB0r54KcylefI61CJ1MXtR74gUL3lGqMV9mONqG5muMj8eLBpajL x4I2alFSiuKt3qzz2s5GAbCymJbslavuvpFaJcItU2vgVAweBMB6yI1QGxeFoFx1VLLA 7w0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:cms-type:message-id:date:subject:cc:to:from :dkim-signature:dkim-filter:dmarc-filter:delivered-to; bh=J77/F/hLSR9dNv1sIfSu1cyyoED7ummEYJEbsG7LdZQ=; b=G8Xk/CA6T389NxfDx97xm8msqWpZd829kYfZgIuMJlzu2HXGh/333DYcO1h3t3o05M mWvkRikN8qPik2Zj2/ShIn+8XFwUrgGCoCUvk7cIJFGHuHKxyJR/pfJsG8Yd6b9N52Xb cSQRgOItIs86Y3kmntR07O1KSx0qqocsJjCcsZVuzkid4ZtcYVTzz/oXLQ701WFpoFg5 C3gkkwKIVdiRPkH+xSolfZS0aLTobLOq2fv/YJk+A+vwvE/KwkXc/mhCeK4I9KXclcTx scyig3vrJT5OE/wSL1c6SFIPXSRMr7GRmm25qtfGNrmv+HZ9Ip2YRuhvvPInDmnA02W2 JEWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=L2znZ7qa; spf=pass (google.com: domain of srs0=8guh=ec=samsung.com=m.szyprowski@kernel.org designates 198.145.29.99 as permitted sender) smtp.mailfrom="SRS0=8guH=EC=samsung.com=m.szyprowski@kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: from mail.kernel.org (mail.kernel.org. [198.145.29.99]) by mx.google.com with ESMTPS id t205si1590844pfc.108.2020.10.27.07.23.55 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 27 Oct 2020 07:23:55 -0700 (PDT) Received-SPF: pass (google.com: domain of srs0=8guh=ec=samsung.com=m.szyprowski@kernel.org designates 198.145.29.99 as permitted sender) client-ip=198.145.29.99; Received: by mail.kernel.org (Postfix) id 7AEEE21D42; Tue, 27 Oct 2020 14:23:55 +0000 (UTC) Received: from mailout2.w1.samsung.com (mailout2.w1.samsung.com [210.118.77.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 555CC20773 for ; Tue, 27 Oct 2020 14:23:53 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 555CC20773 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20201027142342euoutp02d381154c422008972582e8a7803148ca~B33HjPALo2854928549euoutp02N for ; Tue, 27 Oct 2020 14:23:42 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20201027142342euoutp02d381154c422008972582e8a7803148ca~B33HjPALo2854928549euoutp02N DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1603808622; bh=J77/F/hLSR9dNv1sIfSu1cyyoED7ummEYJEbsG7LdZQ=; h=From:To:Cc:Subject:Date:References:From; b=L2znZ7qaKH3sTEgNVJ8A3b8+tnkzO0XtwxlRGm8qOTpjAjq6EvBGnlScspdTrx3u/ WCyqVRwVZGkdFhbWQzzBk+uEnKieBv2J0TMMZM7TjsjUmh8Jd3Ut990m4pC3W85nbM py8Us4u/tYsGcsGNns+Vg+GesM/Bj07T/2cKag44= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20201027142342eucas1p1aada8a2c2d98f157f3a06d65fc6b4e03~B33HKIuLR1100811008eucas1p1w; Tue, 27 Oct 2020 14:23:42 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id C6.BD.06456.E6D289F5; Tue, 27 Oct 2020 14:23:42 +0000 (GMT) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20201027142341eucas1p16e42afed4cae1292ed72fcd631424562~B33GuVjf71100311003eucas1p1q; Tue, 27 Oct 2020 14:23:41 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20201027142341eusmtrp2084fd0d752ceda521819cf188abc923f~B33Gtw19_2607926079eusmtrp2Z; Tue, 27 Oct 2020 14:23:41 +0000 (GMT) X-AuditID: cbfec7f2-809ff70000001938-dd-5f982d6ebe63 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 6A.70.06017.D6D289F5; Tue, 27 Oct 2020 14:23:41 +0000 (GMT) Received: from AMDC2765.digital.local (unknown [106.120.51.73]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20201027142341eusmtip2f46f144e0c8670cb2db25842f40eedb3~B33GanCHB2801228012eusmtip2A; Tue, 27 Oct 2020 14:23:41 +0000 (GMT) From: Marek Szyprowski To: linux-samsung-soc@vger.kernel.org Cc: Marek Szyprowski , Krzysztof Kozlowski , Bartlomiej Zolnierkiewicz , Chanwoo Choi Subject: [PATCH 1/3] ARM: dts: exynos: Enable BlueTooth support for Trats board Date: Tue, 27 Oct 2020 15:23:28 +0100 Message-Id: <20201027142330.5121-1-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.17.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrDIsWRmVeSWpSXmKPExsWy7djPc7p5ujPiDU60sllsnLGe1eL6l+es FufPb2C3mHF+H5PF2iN32R1YPTat6mTz6NuyitHj8ya5AOYoLpuU1JzMstQifbsEroy2v4/Z Ch7xVDye5NvAeIqri5GTQ0LARGLdlB/sXYxcHEICKxglLn6bxQLhfGGU+PLpODOE85lR4uan WcwwLfOP3WGCSCxnlFhy6jorXMum6U8ZQarYBAwlut52sYHYIgKqEp/bFoAtYRbYxijxesFM dpCEsECgxNFZvWANLEBFv66tA2vgFbCRuD/jJxvEOnmJ1RsOgN0hIbCFTWLR0pfsEAkXiSU7 njBB2MISr45vgYrLSPzfOZ8JoqGZUeLhubXsEE4Po8TlphmMEFXWEnfO/QJawQF0k6bE+l36 EGFHidl3V4KFJQT4JG68FQQJMwOZk7ZNZ4YI80p0tAlBVKtJzDq+Dm7twQuXoEHkIbH22ymw 04QEYiVeHbnOOIFRbhbCrgWMjKsYxVNLi3PTU4sN81LL9YoTc4tL89L1kvNzNzEC4/z0v+Of djB+vZR0iFGAg1GJh/eGwox4IdbEsuLK3EOMEhzMSiK8TmdPxwnxpiRWVqUW5ccXleakFh9i lOZgURLnNV70MlZIID2xJDU7NbUgtQgmy8TBKdXAuPbTceV1VpuSf0yxEtjfoXLodVe4kU+T wKXD52rqXm1fk6PbPTllQpwZW/rbPoak19IultN3MHyYmtXVEVP1xuLOrrbjEcwLWlv4Fv48 FjQtc3vJ7BkNvK8dxX0bRB/cfxp3JyErbdorboFPYY9mRsgfN2Lk/9bpfo/3isb1WgeVpTmT J72LUGIpzkg01GIuKk4EAB6G9OnvAgAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrALMWRmVeSWpSXmKPExsVy+t/xe7q5ujPiDa7uVrPYOGM9q8X1L89Z Lc6f38BuMeP8PiaLtUfusjuwemxa1cnm0bdlFaPH501yAcxRejZF+aUlqQoZ+cUltkrRhhZG eoaWFnpGJpZ6hsbmsVZGpkr6djYpqTmZZalF+nYJehltfx+zFTziqXg8ybeB8RRXFyMnh4SA icT8Y3eYuhi5OIQEljJK3LhwgA0iISNxcloDK4QtLPHnWhdYXEjgE6PEhxYnEJtNwFCi6y1E XERAVeJz2wJ2kEHMAjsYJbpbLrCDJIQF/CXub3/ABGKzABX9urYOrIFXwEbi/oyfUMvkJVZv OMA8gZFnASPDKkaR1NLi3PTcYiO94sTc4tK8dL3k/NxNjMDQ2nbs55YdjF3vgg8xCnAwKvHw 3lCYES/EmlhWXJl7iFGCg1lJhNfp7Ok4Id6UxMqq1KL8+KLSnNTiQ4ymQMsnMkuJJucDwz6v JN7Q1NDcwtLQ3Njc2MxCSZy3Q+BgjJBAemJJanZqakFqEUwfEwenVAPj7uVXXXOZTtTd/1cb ZmDNIFb29lvIuwv8t7xWXmwM+dJxSTn+LtfvmRXv5P8oeQpNT6qbu7/rXM318sXb69/mxu9V 5kn8Yq6wJ9ZIUmhX39Jsza+FibKh/dd1RR1LHPk/9ITWNjkJxxfc5m6Y8bxMxuT5l+2efOzV E+tindN8JURljI6oWimxFGckGmoxFxUnAgAfFPmmQwIAAA== X-CMS-MailID: 20201027142341eucas1p16e42afed4cae1292ed72fcd631424562 X-Msg-Generator: CA X-RootMTR: 20201027142341eucas1p16e42afed4cae1292ed72fcd631424562 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20201027142341eucas1p16e42afed4cae1292ed72fcd631424562 References: X-TUID: +Q2PHeGugJ1U Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org Add a node for the BCM4334 Bluetooth chip on the serial bus #0 on the Exynos4210-based Trats boards. Signed-off-by: Marek Szyprowski --- arch/arm/boot/dts/exynos4210-trats.dts | 31 ++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/arch/arm/boot/dts/exynos4210-trats.dts b/arch/arm/boot/dts/exynos4210-trats.dts index a226bec56a45..eb6ca2a74cc0 100644 --- a/arch/arm/boot/dts/exynos4210-trats.dts +++ b/arch/arm/boot/dts/exynos4210-trats.dts @@ -462,6 +462,26 @@ }; }; +&pinctrl_1 { + bt_shutdown: bt-shutdown { + samsung,pins = "gpl1-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + }; + + bt_host_wakeup: bt-host-wakeup { + samsung,pins = "gpx2-6"; + samsung,pin-function = ; + samsung,pin-pud = ; + }; + + bt_device_wakeup: bt-device-wakeup { + samsung,pins = "gpx3-1"; + samsung,pin-function = ; + samsung,pin-pud = ; + }; +}; + &rtc { status = "okay"; clocks = <&clock CLK_RTC>, <&pmic_ap_clk>; @@ -512,6 +532,17 @@ &serial_0 { status = "okay"; + pinctrl-0 = <&uart0_data &uart0_fctl>; + pinctrl-names = "default"; + + bluetooth { + compatible = "brcm,bcm4330-bt"; + pinctrl-0 = <&bt_shutdown &bt_device_wakeup &bt_host_wakeup>; + pinctrl-names = "default"; + shutdown-gpios = <&gpl1 0 GPIO_ACTIVE_HIGH>; + device-wakeup-gpios = <&gpx3 1 GPIO_ACTIVE_HIGH>; + host-wakeup-gpios = <&gpx2 6 GPIO_ACTIVE_HIGH>; + }; }; &serial_1 { From patchwork Tue Oct 27 14:23:29 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 11861229 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 1CCD492C for ; Tue, 27 Oct 2020 17:49:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D911122456 for ; Tue, 27 Oct 2020 17:49:33 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="FGTNg8hT" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1822365AbgJ0Rtc (ORCPT ); Tue, 27 Oct 2020 13:49:32 -0400 Received: from mail-ed1-f65.google.com ([209.85.208.65]:33738 "EHLO mail-ed1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1822115AbgJ0RrG (ORCPT ); Tue, 27 Oct 2020 13:47:06 -0400 Received: by mail-ed1-f65.google.com with SMTP id w23so2367157edl.0 for ; Tue, 27 Oct 2020 10:47:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:resent-from:resent-date:resent-message-id :resent-to:dmarc-filter:dkim-filter:dkim-signature:from:to:cc :subject:date:message-id:in-reply-to:cms-type:references; bh=w63XQDjZCP11ykXLFKcGVmM/GiTpYJJ2CyfjB4+5SLY=; b=ix6q1QI7txlgx4p+5KnILhpPuQubsVWo5lxzq0lBKwGTj5G71Nj9FexxTDkUF436W5 MIj5Yz3CHupO2fblKS5LCkShO99Q8DrN0shDH/rSHrJaXk4arPl/z72H0AbEinOq4REK rnrbF7/YF3cGYb+Uj2yAYPUjAGTQbCfaRqfJRPUMLwQNDwJsOHxb9nyxq0FEweLRTyhC Peuh74YpnYwodNrwnNlljEW5Uje5lOqC7uQgQWKgwjlY4wK6le70DCfMwngxq6Wf0v0f Tp1FhMQe6fdfliPOOwmQFgF2JvfXiZL4VVebpS2SGI6yf4bSjTbHThyz9aKQPoGg1Ihb MWAQ== X-Gm-Message-State: AOAM533ErSckRIFlR0j7Zds3ww1KURAreqF7Mze8SquDadok41Cy/u3z pGe+Sqn2N3b+5V+ot8vlANJqpg+zhUkNqVTg X-Google-Smtp-Source: ABdhPJzf6ILT0jFaDqL9gTd6iYAMi9Il0seTzdRp2BM9aI12tVEsIbu4Yvab6aIcM4Xxmr9R80NWwg== X-Received: by 2002:a50:8acf:: with SMTP id k15mr3440611edk.351.1603820822822; Tue, 27 Oct 2020 10:47:02 -0700 (PDT) Received: from kozik-lap ([194.230.155.184]) by smtp.googlemail.com with ESMTPSA id p9sm1422447ejo.75.2020.10.27.10.47.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Oct 2020 10:47:01 -0700 (PDT) Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=m.szyprowski@samsung.com Authentication-Results: mail.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com Received: by 2002:a17:907:685:0:0:0:0 with SMTP id wn5csp3535786ejb; Tue, 27 Oct 2020 07:23:56 -0700 (PDT) X-Received: by 2002:a17:90a:6b08:: with SMTP id v8mr2246836pjj.126.1603808636154; Tue, 27 Oct 2020 07:23:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603808636; cv=none; d=google.com; s=arc-20160816; b=cbATrcWPGtK0YQKQ25QLlHz9cntZnGN6Yi8DALxp1U5r97uKp5E8eW5d+G7tnz5dBa Qs9t14/WHzsXYLXj66yx3YexMeaqvM4+v4vlLTQwKx8e/NNo34+JmP6HZnztVh8Ox/y6 hPW7fJG+zARXWmYTOrW+U4zoBIKRFXsC4eF37cuns9RoIIEIwjMoXoRCTiZXO6r0HyZ4 SZ6K6cICx3dnPJxhxPBl5iQTSjwyPSK287NVL34mH7RdEwe/b+/G/C+x/xn0YB6u5UpM uEXpPgMfZ8oOz9r/NWyGpVEHCiegzrVBQ/OP/B6bsXX1m+W7tz8OuF++uhg/bXEhldYz 5iVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:cms-type:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:dkim-filter:dmarc-filter:delivered-to; bh=w63XQDjZCP11ykXLFKcGVmM/GiTpYJJ2CyfjB4+5SLY=; b=0D4GVhcUSxKD0saS5puzdRW5RwrkuUcaRh3ScpIwsl0TSvEUdjueW+HH4qelslPLFE QrsDLn9L6gJGSVELcJJs8kjtXOHw2lG0gEG9bn8IeYO3JqLLm83x+7NtKgCc7nCUVPGp 3PttcTYl7Nea6nuQXGwDVnAT0+9HNT27VhjnoTuOe4/9nVIsHhUGIfaiNQEmiV+RZes/ sZ5n1wnADoFSc0chJ9pyZhnL75qdTyqLRPILA/9D4nRHT/N5hQW9XSF7BfVDu0DTMoi6 pCg+YRKPwdkRKJUvD1aZrwgxGc4q/Yn4Gko2yvjneRS/QpVqMS1mdwQKp6YwQt48OM1a ulqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=FGTNg8hT; spf=pass (google.com: domain of srs0=8guh=ec=samsung.com=m.szyprowski@kernel.org designates 198.145.29.99 as permitted sender) smtp.mailfrom="SRS0=8guH=EC=samsung.com=m.szyprowski@kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: from mail.kernel.org (mail.kernel.org. [198.145.29.99]) by mx.google.com with ESMTPS id k16si1739007pll.156.2020.10.27.07.23.55 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 27 Oct 2020 07:23:56 -0700 (PDT) Received-SPF: pass (google.com: domain of srs0=8guh=ec=samsung.com=m.szyprowski@kernel.org designates 198.145.29.99 as permitted sender) client-ip=198.145.29.99; Received: by mail.kernel.org (Postfix) id BADC5207C3; Tue, 27 Oct 2020 14:23:55 +0000 (UTC) Received: from mailout2.w1.samsung.com (mailout2.w1.samsung.com [210.118.77.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B779522258 for ; Tue, 27 Oct 2020 14:23:54 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B779522258 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20201027142342euoutp0281ba328adf1b35884453968c47a85b34~B33HgdhV92797427974euoutp02t for ; Tue, 27 Oct 2020 14:23:42 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20201027142342euoutp0281ba328adf1b35884453968c47a85b34~B33HgdhV92797427974euoutp02t DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1603808622; bh=w63XQDjZCP11ykXLFKcGVmM/GiTpYJJ2CyfjB4+5SLY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FGTNg8hT/eVgKMccKtXSRDv+/vHbjU/R7q7FRw/WHz77JFxi8lsOSvE+i8yAphzS6 wO+DNF6AUAE+OWZ8tuqYcrmyAPO+ZJcxGDeYwMMtZ+oA5IU14IdQURe4QOUD9gmSLZ QW/TRkMPhO4HEytLjBFVGFiLDrur5NigwGtCX/Rk= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20201027142342eucas1p24204108b772cd6af95988b5785051830~B33HQGVG_2017720177eucas1p2F; Tue, 27 Oct 2020 14:23:42 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id 27.BD.06456.E6D289F5; Tue, 27 Oct 2020 14:23:42 +0000 (GMT) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20201027142341eucas1p299a5277c0de2a490f12a64cc84438fcf~B33HACEDf2016120161eucas1p2F; Tue, 27 Oct 2020 14:23:41 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20201027142341eusmtrp2e40ba5f3996886f33dee8b1cdf081e70~B33G-eCvQ2617126171eusmtrp2O; Tue, 27 Oct 2020 14:23:41 +0000 (GMT) X-AuditID: cbfec7f2-7efff70000001938-de-5f982d6e317a Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id BC.70.06017.D6D289F5; Tue, 27 Oct 2020 14:23:41 +0000 (GMT) Received: from AMDC2765.digital.local (unknown [106.120.51.73]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20201027142341eusmtip28dc17536a60715035283214ed331fe74~B33GtQm0r0110301103eusmtip2z; Tue, 27 Oct 2020 14:23:41 +0000 (GMT) From: Marek Szyprowski To: linux-samsung-soc@vger.kernel.org Cc: Marek Szyprowski , Krzysztof Kozlowski , Bartlomiej Zolnierkiewicz , Chanwoo Choi Subject: [PATCH 2/3] ARM: dts: exynos: Enable BlueTooth support for Universal C210 board Date: Tue, 27 Oct 2020 15:23:29 +0100 Message-Id: <20201027142330.5121-2-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201027142330.5121-1-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrOIsWRmVeSWpSXmKPExsWy7djP87p5ujPiDd43cVtsnLGe1eL6l+es FufPb2C3mHF+H5PF2iN32R1YPTat6mTz6NuyitHj8ya5AOYoLpuU1JzMstQifbsEroyNL88w FWzirVix/xVbA+Ms7i5GTg4JAROJrYe/sXUxcnEICaxglGg5fYUJwvnCKHF0znV2kCohgc9A mYfKMB3H961hhShaDlT0qhWho2HBP7AONgFDia63XWwgtoiAqsTntgXsIEXMAtsYJV4vmAlW JCwQJfHn7w1WEJsFqOjUj1Ywm1fARmJu/zE2iHXyEqs3HGAGsTkFbCX2XrgGtlpC4DKbxMoJ Z4EcDiDHRaL/lDpEvbDEq+Nb2CFsGYn/O+czQdQ3M0o8PLeWHcLpYZS43DSDEaLKWuLOuV9s IIOYBTQl1u/Shwg7SvQf+MIIMZ9P4sZbQZAwM5A5adt0Zogwr0RHmxBEtZrErOPr4NYevHCJ GcL2kFh2dDo0FCcwSmzZnjaBUX4Wwq4FjIyrGMVTS4tz01OLDfNSy/WKE3OLS/PS9ZLzczcx AqP/9L/jn3Ywfr2UdIhRgINRiYf3hsKMeCHWxLLiytxDjBIczEoivE5nT8cJ8aYkVlalFuXH F5XmpBYfYpTmYFES5zVe9DJWSCA9sSQ1OzW1ILUIJsvEwSnVwBie/HpFUG5k+gXzrMsJ51nv rAx6/2Hjw357Pg4rtq4jO4RfRNgt/HRg33Khaj2JnJKO9F0KvM7nmg0r7t2cxLfiZXrMernM suk//u5aX6uqK8rzrMc+YptcnUpWZyFLZHuc1MvXc/3V69x+383O3jbTrezAeRXlTy7hnAuS T1fbB7Zezv3JpcRSnJFoqMVcVJwIALVvpwb6AgAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrJLMWRmVeSWpSXmKPExsVy+t/xe7q5ujPiDR4stLTYOGM9q8X1L89Z Lc6f38BuMeP8PiaLtUfusjuwemxa1cnm0bdlFaPH501yAcxRejZF+aUlqQoZ+cUltkrRhhZG eoaWFnpGJpZ6hsbmsVZGpkr6djYpqTmZZalF+nYJehkbX55hKtjEW7Fi/yu2BsZZ3F2MnBwS AiYSx/etYe1i5OIQEljKKNH8eio7REJG4uS0BlYIW1jiz7UuNhBbSOATo0TDeS0Qm03AUKLr LURcREBV4nPbAnaQQcwCOxglulsugA0SFoiQ2PfpIjOIzQJUdOpHK9hQXgEbibn9x9ggFshL rN5wAKyGU8BWYu+Fa6wQy2wkzl9tZZnAyLeAkWEVo0hqaXFuem6xkV5xYm5xaV66XnJ+7iZG YDBuO/Zzyw7GrnfBhxgFOBiVeHhvKMyIF2JNLCuuzD3EKMHBrCTC63T2dJwQb0piZVVqUX58 UWlOavEhRlOgoyYyS4km5wMjJa8k3tDU0NzC0tDc2NzYzEJJnLdD4GCMkEB6YklqdmpqQWoR TB8TB6dUA6PRhw2XOA8J1z+oPPqMgymNU/aAs2PE++2XRO89+695UXHf5xh1PhFR9SPSIlOu nNE/riZa8LLk9bvjVsstNi9Z5n5vCa8Xy3/5xVl5cT3sBp5H+9LmlL7kTU1j2JvALi0r/2H9 tf5JE8/ELwp/VZ26aEfWDOH7DTvyndozAoJjTxTe49y9drISS3FGoqEWc1FxIgCFVV5BXAIA AA== X-CMS-MailID: 20201027142341eucas1p299a5277c0de2a490f12a64cc84438fcf X-Msg-Generator: CA X-RootMTR: 20201027142341eucas1p299a5277c0de2a490f12a64cc84438fcf X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20201027142341eucas1p299a5277c0de2a490f12a64cc84438fcf References: <20201027142330.5121-1-m.szyprowski@samsung.com> X-TUID: TZvdPilne4Zh Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org Add a node for the BCM4330 Bluetooth chip on the serial bus #0 on the Exynos4210-based Universal C210 boards. Signed-off-by: Marek Szyprowski --- .../boot/dts/exynos4210-universal_c210.dts | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/arch/arm/boot/dts/exynos4210-universal_c210.dts b/arch/arm/boot/dts/exynos4210-universal_c210.dts index eecf93280b3a..68ab4290bcef 100644 --- a/arch/arm/boot/dts/exynos4210-universal_c210.dts +++ b/arch/arm/boot/dts/exynos4210-universal_c210.dts @@ -545,6 +545,24 @@ samsung,pins = "gpx3-7"; samsung,pin-pud = ; }; + + bt_shutdown: bt-shutdown { + samsung,pins = "gpe1-4"; + samsung,pin-function = ; + samsung,pin-pud = ; + }; + + bt_host_wakeup: bt-host-wakeup { + samsung,pins = "gpx2-6"; + samsung,pin-function = ; + samsung,pin-pud = ; + }; + + bt_device_wakeup: bt-device-wakeup { + samsung,pins = "gpx3-1"; + samsung,pin-function = ; + samsung,pin-pud = ; + }; }; &pinctrl_0 { @@ -612,6 +630,17 @@ status = "okay"; /delete-property/dmas; /delete-property/dma-names; + pinctrl-0 = <&uart0_data &uart0_fctl>; + pinctrl-names = "default"; + + bluetooth { + compatible = "brcm,bcm4330-bt"; + pinctrl-0 = <&bt_shutdown &bt_device_wakeup &bt_host_wakeup>; + pinctrl-names = "default"; + shutdown-gpios = <&gpe1 4 GPIO_ACTIVE_HIGH>; + device-wakeup-gpios = <&gpx3 1 GPIO_ACTIVE_HIGH>; + host-wakeup-gpios = <&gpx2 6 GPIO_ACTIVE_HIGH>; + }; }; &serial_1 { From patchwork Tue Oct 27 14:23:30 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 11861223 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9D76692C for ; Tue, 27 Oct 2020 17:47:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 613B024650 for ; Tue, 27 Oct 2020 17:47:21 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="o2Hv1AGA" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1822141AbgJ0RrT (ORCPT ); Tue, 27 Oct 2020 13:47:19 -0400 Received: from mail-ed1-f65.google.com ([209.85.208.65]:38741 "EHLO mail-ed1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1822130AbgJ0RrR (ORCPT ); Tue, 27 Oct 2020 13:47:17 -0400 Received: by mail-ed1-f65.google.com with SMTP id k9so233073edo.5 for ; Tue, 27 Oct 2020 10:47:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:resent-from:resent-date:resent-message-id :resent-to:dmarc-filter:dkim-filter:dkim-signature:from:to:cc :subject:date:message-id:in-reply-to:cms-type:references; bh=ucA7jhPwAZxi6baZIF7kxSy27Ok9a4Itdk82Az5bvjM=; b=fGW3Pe4VCnd946K2Z7eov8mhIXMe6zj29zLmV2wYcqnVcPFncZ68TB0AEio2SdN8ZG LCbIrohhzVUepa48vBSRbsEKhP9Ytop5OMdjj4zlij17KH023oCurU/ljgQIBxFlRt7v cjOZXaeeJFhR65KsI0Yk3wGgoTwkGHED+N1Faf0BtLKb9KJmVzW3SJNEW8MV0B2D/wdz F5yLTS43AletKz+gurrN9a2mXQ2xhEs83ajow7NEm8u7GhEpWAPocqYwARBlo+AdoOV5 z2HqcjBMAO8OP3/ndf+fNGAzxpGs6oyHrgVQZiFHSusrSEW8DWi+OQ1tfC7MW8/MTj+2 +Qgg== X-Gm-Message-State: AOAM531gnHVfKheE17oCyFFZKVul056dVWKiW3bEYYkddkWohxyGo8xz kKFwXgrP5dbSZv+cdaOFB9bH9LHJV14NvlDd X-Google-Smtp-Source: ABdhPJyzcoweZsGjJQ/AnxaYD3KMAuVlBe9qO/4k0aGvjzO3jIWAZpRc5Pvsv6GhiW38e1hOmzpjzA== X-Received: by 2002:a50:f309:: with SMTP id p9mr739366edm.155.1603820832696; Tue, 27 Oct 2020 10:47:12 -0700 (PDT) Received: from kozik-lap ([194.230.155.184]) by smtp.googlemail.com with ESMTPSA id ay9sm1350724edb.72.2020.10.27.10.47.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Oct 2020 10:47:11 -0700 (PDT) Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=m.szyprowski@samsung.com Authentication-Results: mail.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com Received: by 2002:a17:907:685:0:0:0:0 with SMTP id wn5csp3535795ejb; Tue, 27 Oct 2020 07:23:57 -0700 (PDT) X-Received: by 2002:aa7:83c9:0:b029:158:11ce:4672 with SMTP id j9-20020aa783c90000b029015811ce4672mr2409769pfn.23.1603808636654; Tue, 27 Oct 2020 07:23:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603808636; cv=none; d=google.com; s=arc-20160816; b=W6GFCJ5E0c0dgpwNQxI1T6FxDn68avtmo+twSVSpb2d0ZHe5ZXLJzMV5VPAgYKEniZ ZRXGxKPrUGU0PxDwryR7ArQtg8rXf544wvYMmXZxMsacfvI6U8HcPpjSY+i6+WJH+Zlf tjkrU2GuH9KN1DFj/46nfn39raSkEDuEuNf9XWmK/H3xvuD5WOZ2sx2RZJ9oiOr2xoxu EYcuZO5kWxh3lERsUtaUTbYqiPRf/0Hmc0wC52kZtEfYCf3T3B0nxfj6YSzOEMSpg/OV jYPJTjCCzpjj5trUJZKSIN8fN3ozUqBXsEh09n6ctv98Pb8qbwxRm4kuoxd8NsbKMpeR gIOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:cms-type:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:dkim-filter:dmarc-filter:delivered-to; bh=ucA7jhPwAZxi6baZIF7kxSy27Ok9a4Itdk82Az5bvjM=; b=h24hbeh2Iqo/2AIKajPJpnOOzogPnz98hacEnn6g8/do/2AH04weAYegwIt+dEmp+p Bc7JuLu84rb05+UPwtOIIjappAnv8PQaIvOQG6kZQrc8iN6Qm57iHb6iAjl0EbCH3+OZ Y4LY5HLVKYyhukK0jBwWDHtL3vARG4nzFnMFpKuDaUr2ipkk0YVmE/06wjCDP1dADwJ+ iQRYDtyiaaOr8mJcL0I0zzfWpALmslVXZaDk9kLAmSP6Kpl/XHWgUY6RO9ZcmXkANXy9 FrZTnTTFfvM1r8adq8O3gdinSPStKKXX7OxnVMgPhX6h/drOnV7qFmw1CusgUh6ndXoi 7uEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=o2Hv1AGA; spf=pass (google.com: domain of srs0=8guh=ec=samsung.com=m.szyprowski@kernel.org designates 198.145.29.99 as permitted sender) smtp.mailfrom="SRS0=8guH=EC=samsung.com=m.szyprowski@kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: from mail.kernel.org (mail.kernel.org. [198.145.29.99]) by mx.google.com with ESMTPS id u2si1649018pge.132.2020.10.27.07.23.56 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 27 Oct 2020 07:23:56 -0700 (PDT) Received-SPF: pass (google.com: domain of srs0=8guh=ec=samsung.com=m.szyprowski@kernel.org designates 198.145.29.99 as permitted sender) client-ip=198.145.29.99; Received: by mail.kernel.org (Postfix) id 444FE20773; Tue, 27 Oct 2020 14:23:56 +0000 (UTC) Received: from mailout1.w1.samsung.com (mailout1.w1.samsung.com [210.118.77.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id AF23A22202 for ; Tue, 27 Oct 2020 14:23:54 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org AF23A22202 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20201027142342euoutp01d24f6d12bab495d1550c79c8c2558bdc~B33H03JcE3119831198euoutp01O for ; Tue, 27 Oct 2020 14:23:42 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20201027142342euoutp01d24f6d12bab495d1550c79c8c2558bdc~B33H03JcE3119831198euoutp01O DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1603808622; bh=ucA7jhPwAZxi6baZIF7kxSy27Ok9a4Itdk82Az5bvjM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=o2Hv1AGAO2Nu71DUl8xYD9XtCDSbXwZoLgC9FaeMTc8uuzyirQDNqLutuCfeKzjfN 8INe1+rr0hv1ja7JyPlU/L5yiAdv7YUAz2+4r7E7P+EIJF/NGW7lY+ih+KEiZzfrHC WMdH6cZSqthnfu7eTmU6EnDdYSWrDFrg5VUbx1Is= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20201027142342eucas1p10e468b14a3bac1531800b3200cfec2e6~B33HmxTdS1107111071eucas1p1p; Tue, 27 Oct 2020 14:23:42 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id F1.7A.06318.E6D289F5; Tue, 27 Oct 2020 14:23:42 +0000 (GMT) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20201027142342eucas1p18136ba60377ee2985b6bc123908a3c98~B33HSGuUk1105111051eucas1p1r; Tue, 27 Oct 2020 14:23:42 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20201027142342eusmtrp12b448ffd40b81de1697addfb77cf0e99~B33HRkx921905119051eusmtrp1D; Tue, 27 Oct 2020 14:23:42 +0000 (GMT) X-AuditID: cbfec7f5-371ff700000018ae-7c-5f982d6e138f Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id CD.70.06017.E6D289F5; Tue, 27 Oct 2020 14:23:42 +0000 (GMT) Received: from AMDC2765.digital.local (unknown [106.120.51.73]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20201027142341eusmtip28feb2419c77497a688382db4d2886ac4~B33G-p6yb2982029820eusmtip2e; Tue, 27 Oct 2020 14:23:41 +0000 (GMT) From: Marek Szyprowski To: linux-samsung-soc@vger.kernel.org Cc: Marek Szyprowski , Krzysztof Kozlowski , Bartlomiej Zolnierkiewicz , Chanwoo Choi Subject: [PATCH 3/3] ARM: dts: exynos: Enable BlueTooth support for Midas board family Date: Tue, 27 Oct 2020 15:23:30 +0100 Message-Id: <20201027142330.5121-3-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201027142330.5121-1-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrFIsWRmVeSWpSXmKPExsWy7djP87p5ujPiDe4/U7TYOGM9q8X1L89Z Lc6f38BuMeP8PiaLtUfusjuwemxa1cnm0bdlFaPH501yAcxRXDYpqTmZZalF+nYJXBlnPvSx Flzmqdj0aDlTA+Nuri5GTg4JAROJxiX/2boYuTiEBFYwSkzYN40ZwvnCKDH903QmCOczo8SB vuvsMC3TF79kgUgsZ5TYNHsLK1zLlYnfWEGq2AQMJbredrGB2CICqhKf2xawgxQxC2xjlHi9 YCbYKGGBCIm3nSvAbBagogfbroM18ArYSFxedAVqnbzE6g0HmEFsTgFbib0XroFtkxC4zCZx aMsSqCIXicYnG1kgbGGJV8e3QMVlJE5P7mGBaGhmlHh4bi07hNPDKHG5aQYjRJW1xJ1zv4BW cwDdpymxfpc+RNhRYsaan6wgYQkBPokbbwVBwsxA5qRt05khwrwSHW1CENVqErOOr4Nbe/DC JWYI20PiyrSt0ECdwChxY/VppgmM8rMQli1gZFzFKJ5aWpybnlpsnJdarlecmFtcmpeul5yf u4kRmAJO/zv+dQfjvj9JhxgFOBiVeHhvKMyIF2JNLCuuzD3EKMHBrCTC63T2dJwQb0piZVVq UX58UWlOavEhRmkOFiVxXuNFL2OFBNITS1KzU1MLUotgskwcnFINjObZRxSsf2SdfH5cfrMp k6n5t/hAzjXcu2WXiz36yjaz93rY43kmTx2PVd+atbneP/JVYYiIFmu5xM3wIKfXiqHy7y4E 3p1+7oSI4yqmeJcfVxZtyeb91mwqvVX9m7/t+/8mWS3XBC83HZ72xZZpabTA9VXPb+0Lj7Zy 3HhX1a61b6bZGVurw0osxRmJhlrMRcWJAPQ3DU/9AgAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrFLMWRmVeSWpSXmKPExsVy+t/xe7p5ujPiDe6u4bfYOGM9q8X1L89Z Lc6f38BuMeP8PiaLtUfusjuwemxa1cnm0bdlFaPH501yAcxRejZF+aUlqQoZ+cUltkrRhhZG eoaWFnpGJpZ6hsbmsVZGpkr6djYpqTmZZalF+nYJehlnPvSxFlzmqdj0aDlTA+Nuri5GTg4J AROJ6YtfsnQxcnEICSxllGjd3sIGkZCRODmtgRXCFpb4c62LDaLoE6PEiYlLmEASbAKGEl1v u8AaRARUJT63LWAHKWIW2MEo0d1ygR0kISwQJnHuyBRmEJsFqOjBtutgDbwCNhKXF11hh9gg L7F6wwGwGk4BW4m9F66BbRYCqjl/tZVlAiPfAkaGVYwiqaXFuem5xUZ6xYm5xaV56XrJ+bmb GIHhuO3Yzy07GLveBR9iFOBgVOLhvaEwI16INbGsuDL3EKMEB7OSCK/T2dNxQrwpiZVVqUX5 8UWlOanFhxhNgY6ayCwlmpwPjJW8knhDU0NzC0tDc2NzYzMLJXHeDoGDMUIC6YklqdmpqQWp RTB9TBycUg2MPTsf128/NyWvku3dkwaj+LWCCTd/vVXZ1xr2rE+RU5lboNxrosMXiZTm7g3H XVYEztLQUjm2rXaj0e3t2Y28aomVvrfP3H6x89oGA8X9hz70bP4sLqGhWl+9K+Hfre+iFZKP 5KIC+rKnzljxJ6DiTMo0R1ne6wYT13vv3JAQremnMCPMNbxLiaU4I9FQi7moOBEA7lrgOF0C AAA= X-CMS-MailID: 20201027142342eucas1p18136ba60377ee2985b6bc123908a3c98 X-Msg-Generator: CA X-RootMTR: 20201027142342eucas1p18136ba60377ee2985b6bc123908a3c98 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20201027142342eucas1p18136ba60377ee2985b6bc123908a3c98 References: <20201027142330.5121-1-m.szyprowski@samsung.com> X-TUID: 0Qg1/bXQpO/E Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org Add a node for the BCM4334 Bluetooth chip on the serial bus #0 on the Exynos4412-based Midas board family. Signed-off-by: Marek Szyprowski --- arch/arm/boot/dts/exynos4412-midas.dtsi | 28 +++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/arch/arm/boot/dts/exynos4412-midas.dtsi b/arch/arm/boot/dts/exynos4412-midas.dtsi index 7e7c243ff196..2fc6e2034b0e 100644 --- a/arch/arm/boot/dts/exynos4412-midas.dtsi +++ b/arch/arm/boot/dts/exynos4412-midas.dtsi @@ -1109,6 +1109,21 @@ samsung,pin-pud = ; }; + bt_shutdown: bt-shutdown { + samsung,pins = "gpl0-6"; + samsung,pin-pud = ; + }; + + bt_host_wakeup: bt-host-wakeup { + samsung,pins = "gpx2-6"; + samsung,pin-pud = ; + }; + + bt_device_wakeup: bt-device-wakeup { + samsung,pins = "gpx3-1"; + samsung,pin-pud = ; + }; + max77686_irq: max77686-irq { samsung,pins = "gpx0-7"; samsung,pin-pud = ; @@ -1386,7 +1401,20 @@ }; &serial_0 { + pinctrl-0 = <&uart0_data &uart0_fctl>; + pinctrl-names = "default"; status = "okay"; + + bluetooth { + compatible = "brcm,bcm4330-bt"; + pinctrl-0 = <&bt_shutdown &bt_device_wakeup &bt_host_wakeup>; + pinctrl-names = "default"; + max-speed = <3000000>; + shutdown-gpios = <&gpl0 6 GPIO_ACTIVE_HIGH>; + device-wakeup-gpios = <&gpx3 1 GPIO_ACTIVE_HIGH>; + host-wakeup-gpios = <&gpx2 6 GPIO_ACTIVE_HIGH>; + clocks = <&max77686 MAX77686_CLK_PMIC>; + }; }; &serial_1 {