From patchwork Fri Jun 8 11:27:36 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 10454169 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 A174E60159 for ; Fri, 8 Jun 2018 11:27:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8E8CA284AA for ; Fri, 8 Jun 2018 11:27:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 82C9D2861E; Fri, 8 Jun 2018 11:27:48 +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=-7.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID 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 2BDA8284AA for ; Fri, 8 Jun 2018 11:27:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751298AbeFHL1r (ORCPT ); Fri, 8 Jun 2018 07:27:47 -0400 Received: from mail-it0-f65.google.com ([209.85.214.65]:34991 "EHLO mail-it0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751265AbeFHL1q (ORCPT ); Fri, 8 Jun 2018 07:27:46 -0400 Received: by mail-it0-f65.google.com with SMTP id a3-v6so2004850itd.0 for ; Fri, 08 Jun 2018 04:27:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=H7y6zLS2JmScJELq/FStF8CkYsd2a8BKcowpsfhgQv0=; b=UJFIPN9OvFSHfKuqmY/e5+0tNICsba7evFAT6oKygG8CJr90+CJtGCzyx20VXdiKHn nnnmktpnFaIFL6Qg2LYG038+1iGoIuPW3u4wo3SYDMlZofEgr/vs3IgEMKm9GOJtab2d tTQADjTc0yiBSz22SFxl1MhhERUIEoo1LaYFjmN+ej1to2QsAnfTSTw0Sa5u50+sRAN9 Y1y2zA80tGiODMULDFvqhzi3gM5zKoHBzFTfxm+iMefCn6zKGmCTu4w/eviUkGCsk36C btDD2Gc6RWyhR52G9vhJK920/uKAqk4F+rB0bXCQ9QVocLymKaXqtkN9Kqqx+GiEPNAM 4mlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=H7y6zLS2JmScJELq/FStF8CkYsd2a8BKcowpsfhgQv0=; b=UzgEzeFkB03p2xhdIr76a6QJwljscVq27m+TU4sOn5xzVAcwHZym1XCvicMssWygoF +X9DOfWT9v+aiVskNdr9srjLGkj8mfl0rEK7CYQfyGHfIAYawK3ULwsAjqhr77Tpomm1 WBQE7PGbcC1bjKbVKDOdGR77fcJnb2Z0iE7POysH+MsY8W2rjqeraqYRiyDZRC3xuxQT vDc308HnVAT2U56Q88kcJ5grrWxJIMoXjBggtNhGzW/RVG300yS8/wfu+yMb0t5dHBvB jkd2L5yX7XW4IIgdCZ4sy8SfXW1BYD+geJxR5OgR6nGDSHwLGeydhn7W97xnI33UV3Vc 19JA== X-Gm-Message-State: APt69E3gTIcbMXF8z21cvave9BcpfkvyGaHl5+TuovoKFeJwqs+hFGUg clNOjIQTE9CMZdiPu7PR9Hf4Pw== X-Google-Smtp-Source: ADUXVKJLCuHzSIIXKqgSlZP/E6E+cajdp6nlTeimo7VA6NRECAx8wk1oknHYYokljBHgaLM81QY+Zg== X-Received: by 2002:a24:4457:: with SMTP id o84-v6mr1283166ita.142.1528457265424; Fri, 08 Jun 2018 04:27:45 -0700 (PDT) Received: from localhost.localdomain (c-73-65-120-235.hsd1.mn.comcast.net. [73.65.120.235]) by smtp.gmail.com with ESMTPSA id z11-v6sm7009250ioc.8.2018.06.08.04.27.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 08 Jun 2018 04:27:44 -0700 (PDT) From: Adam Ford To: linux-omap@vger.kernel.org Cc: adam.ford@logicpd.com, Adam Ford Subject: [PATCH] ARM: dts: am3517-som: Add builtin Bluetooth Date: Fri, 8 Jun 2018 06:27:36 -0500 Message-Id: <20180608112736.27385-1-aford173@gmail.com> X-Mailer: git-send-email 2.17.1 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This enables the Bluetooth on the wl1271 available in some models of the AM3517-SOM from Logic PD. Signed-off-by: Adam Ford diff --git a/arch/arm/boot/dts/am3517-som.dtsi b/arch/arm/boot/dts/am3517-som.dtsi index 9ec784746aab..5c109a587843 100644 --- a/arch/arm/boot/dts/am3517-som.dtsi +++ b/arch/arm/boot/dts/am3517-som.dtsi @@ -174,6 +174,16 @@ }; }; +&uart2 { + pinctrl-names = "default"; + pinctrl-0 = <&uart2_pins>; + + bluetooth { + compatible = "ti,wl1271-st"; + enable-gpios = <&gpio2 24 GPIO_ACTIVE_HIGH>; /* gpio 56 */ + max-speed = <3000000>; + }; +}; &omap3_pmx_core { @@ -210,6 +220,16 @@ OMAP3_CORE1_IOPAD(0x20d2, PIN_INPUT | MUX_MODE4) /* gpmc_wait3.gpio_65 */ >; }; + + uart2_pins: pinmux_uart2_pins { + pinctrl-single,pins = < + OMAP3_CORE1_IOPAD(0x2174, PIN_INPUT_PULLUP | MUX_MODE0) /* uart2_cts */ + OMAP3_CORE1_IOPAD(0x2176, PIN_OUTPUT_PULLUP | MUX_MODE0) /* uart2_rts */ + OMAP3_CORE1_IOPAD(0x2178, PIN_OUTPUT | MUX_MODE0) /* uart2_tx */ + OMAP3_CORE1_IOPAD(0x217a, PIN_INPUT | MUX_MODE0) /* uart2_rx */ + OMAP3_CORE1_IOPAD(0x20b8, PIN_INPUT | MUX_MODE0) /* gpio_56 */ + >; + }; }; &omap3_pmx_wkup {