From patchwork Sun May 3 12:19:29 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eyal Reizer X-Patchwork-Id: 6320831 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 78A4FBEEE1 for ; Sun, 3 May 2015 12:20:06 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 753B3203AF for ; Sun, 3 May 2015 12:20:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 898DC203C1 for ; Sun, 3 May 2015 12:20:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750942AbbECMT5 (ORCPT ); Sun, 3 May 2015 08:19:57 -0400 Received: from mail-wi0-f176.google.com ([209.85.212.176]:38367 "EHLO mail-wi0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751906AbbECMTw (ORCPT ); Sun, 3 May 2015 08:19:52 -0400 Received: by wiun10 with SMTP id n10so85705275wiu.1; Sun, 03 May 2015 05:19:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Hizy//hiNxRqA8/AlbWLqYxlgDBnAZ3ArqAGktPRsxQ=; b=tCJ9xQzMZevlzUSD385P9puTSnEuA+MYGSZVWYdllJm3+TBRB+Jy0KWqPRRQFSZ5aL xDF9jNtp6vw2unVlLUZcMfYWmB7TaQZ/DBiRKmnXubXu70kBOPArmcqnhaiqmjP9iLbQ HdZbotOriVhk5ny4J5J26ZUrjtddlZhiM0/owsQd9K+vTSDoWSOUfhalkTDreipmCAwE 9epuuLi9vA7EHodfnh+w+w9/hVJ5T1wWP1MZ+kmYWjI/E+K9pgrUOBN2KxdnuDbKdsPg X3XMeybtgvZoPv7yMoYz9NBDaWmTWqKkcUhqM8Qxx6NQP/5wKwL7VWCnmjSlI+cnd+38 W4eg== X-Received: by 10.194.61.208 with SMTP id s16mr22319785wjr.135.1430655590498; Sun, 03 May 2015 05:19:50 -0700 (PDT) Received: from localhost.localdomain ([188.120.148.181]) by mx.google.com with ESMTPSA id ex5sm6467795wib.2.2015.05.03.05.19.47 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 03 May 2015 05:19:49 -0700 (PDT) From: Eyal Reizer X-Google-Original-From: Eyal Reizer To: tony@atomide.com, robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, linux@arm.linux.org.uk, linux-omap@vger.kernel.org, devicetree@vger.kernel.org Cc: Eliad Peller , Eyal Reizer Subject: [PATCH 2/2] am335x-evm: add bluetooth support Date: Sun, 3 May 2015 15:19:29 +0300 Message-Id: <1430655569-27849-2-git-send-email-eyalr@ti.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1430655569-27849-1-git-send-email-eyalr@ti.com> References: <1430655569-27849-1-git-send-email-eyalr@ti.com> Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Eliad Peller uart1 is used for shared transport (used for multiplexing bluetooth and nfc data). add the needed muxes and definitions. Signed-off-by: Eliad Peller Signed-off-by: Eyal Reizer --- arch/arm/boot/dts/am335x-evm.dts | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/arch/arm/boot/dts/am335x-evm.dts b/arch/arm/boot/dts/am335x-evm.dts index 0f398fa..5968cde 100644 --- a/arch/arm/boot/dts/am335x-evm.dts +++ b/arch/arm/boot/dts/am335x-evm.dts @@ -135,6 +135,18 @@ }; }; + kim { + compatible = "kim"; + nshutdown_gpio = <117>; /* Bank3, pin21 */ + dev_name = "/dev/ttyS1"; + flow_cntrl = <1>; + baud_rate = <3000000>; + }; + + btwilink { + compatible = "btwilink"; + }; + sound { compatible = "ti,da830-evm-audio"; ti,model = "AM335x-EVM"; @@ -191,6 +203,15 @@ >; }; + uart1_pins: pinmux_uart1_pins { + pinctrl-single,pins = < + 0x178 (PIN_INPUT | MUX_MODE0) /* uart1_ctsn.uart1_ctsn */ + 0x17C (PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* uart1_rtsn.uart1_rtsn */ + 0x180 (PIN_INPUT_PULLUP | MUX_MODE0) /* uart1_rxd.uart1_rxd */ + 0x184 (PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* uart1_txd.uart1_txd */ + >; + }; + clkout2_pin: pinmux_clkout2_pin { pinctrl-single,pins = < 0x1b4 (PIN_OUTPUT_PULLDOWN | MUX_MODE3) /* xdma_event_intr1.clkout2 */ @@ -357,6 +378,13 @@ status = "okay"; }; +&uart1 { + pinctrl-names = "default"; + pinctrl-0 = <&uart1_pins>; + + status = "okay"; +}; + &i2c0 { pinctrl-names = "default"; pinctrl-0 = <&i2c0_pins>;