From patchwork Mon Aug 6 11:19:48 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Codrin Ciubotariu X-Patchwork-Id: 10556833 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id DC2BA1708 for ; Mon, 6 Aug 2018 11:20:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C5D35292EB for ; Mon, 6 Aug 2018 11:20:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B9ED3292FB; Mon, 6 Aug 2018 11:20:44 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 29DBE292FA for ; Mon, 6 Aug 2018 11:20:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=VbOoIe0dO2rLtUhucnOKJjNw7/ZwaC7Ke8PaOYvvI6Y=; b=QQeHth1PbwLrn+ wjBP85vqFE11TUaIkEL5ehcYCKwt42cYDlmAWyxVvh8qvZnxO+u0rSgBLfCYujo10aZYcXpHxIelE hYe+1rUk8qipeB0WwZ1vUr10ITbMJlsTm4wFS5RMdVihucbjkDd9ibOTEqRz0TnLe3pcqdlFcyl00 BTFJY00OAeELBuH+Qx5Zt9BKJV4zTuaY8SpfTPL0VFolbhhONWLEdu6+25sadeHG6Qbkyo5zblWg+ V8sI+P8j2XHQKO7sxjLO0fttwuhJhgR9A04yVItccjTbRrX2XeHeThLU7XM0+G0XqpmGgRIriypdl 27MsGl8UfmYnABeQxGNA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fmdZ2-0005Vn-0W; Mon, 06 Aug 2018 11:20:40 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fmdYl-000585-53 for linux-arm-kernel@bombadil.infradead.org; Mon, 06 Aug 2018 11:20:23 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Type:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:CC:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=xD0TTk98PG5An93l/ggx7EIO/QwwBeEHdinYuwPyQr8=; b=yioGRzH/rPpmetRXV3hYqkzj9 fD7SpfRGy0Q95SvzniB/IeHO8jVNy9Ghq8Vbl9bXCWFJbc8ieR4+QXRRTPjNzy6WZ5iMjCz/3uHhy cNxZU6/cEjURo3GTXaZwp836Ywqw5OmUpU51ZCQYNiBhsgJXopNgxHrJ7vEUUjvH61uC5rtoKU6e+ jOJImV8ZdGDfa6zOM52fU65oiRGWvqTLXXvYJykmtBV14QE9cMcpyQgucz3GwHWirCA17IGLLCvYq dcN+qqjrrs38UBIcODfWbbf73lmpzMz/Bk1m1NmLHB0ANku4PO4+gmy0iLAdLx8ghmKizuagE2ZGA s3gA9qDRQ==; Received: from esa2.microchip.iphmx.com ([68.232.149.84]) by merlin.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fmdYh-000874-VT for linux-arm-kernel@lists.infradead.org; Mon, 06 Aug 2018 11:20:21 +0000 X-IronPort-AV: E=Sophos;i="5.51,452,1526367600"; d="scan'208";a="17430258" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa2.microchip.iphmx.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 06 Aug 2018 04:20:03 -0700 Received: from rob-ult-m19940.microchip.com (10.10.76.4) by chn-sv-exch02.mchp-main.com (10.10.76.38) with Microsoft SMTP Server id 14.3.352.0; Mon, 6 Aug 2018 04:20:04 -0700 From: Codrin Ciubotariu To: , , Subject: [PATCH v7 3/3] ARM: dts: at91: sama5d2 Xplained: add pin muxing for I2S Date: Mon, 6 Aug 2018 14:19:48 +0300 Message-ID: <20180806111948.4522-4-codrin.ciubotariu@microchip.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180806111948.4522-1-codrin.ciubotariu@microchip.com> References: <20180806111948.4522-1-codrin.ciubotariu@microchip.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180806_072020_153526_BB67F90C X-CRM114-Status: UNSURE ( 8.20 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Cyrille Pitchen , Cristian.Birsan@microchip.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Cyrille Pitchen This patch sets the pin muxing for the I2S controllers Signed-off-by: Cyrille Pitchen [codrin.ciubotariu@microchip.com: added pin muxing for the second controller] Signed-off-by: Codrin Ciubotariu --- Changes in v7: - added comments with pin conflicts created by the I2S controllers; - explicitly disable the I2S nodes; Changes in v6: - none arch/arm/boot/dts/at91-sama5d2_xplained.dts | 30 +++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/arch/arm/boot/dts/at91-sama5d2_xplained.dts b/arch/arm/boot/dts/at91-sama5d2_xplained.dts index fcc85d70f36e..518e2b095ccf 100644 --- a/arch/arm/boot/dts/at91-sama5d2_xplained.dts +++ b/arch/arm/boot/dts/at91-sama5d2_xplained.dts @@ -281,6 +281,12 @@ status = "okay"; }; + i2s0: i2s@f8050000 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_i2s0_default>; + status = "disabled"; /* conflict with can0 */ + }; + can0: can@f8054000 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_can0_default>; @@ -424,6 +430,24 @@ bias-disable; }; + pinctrl_i2s0_default: i2s0_default { + pinmux = , + , + , + , + ; + bias-disable; + }; + + pinctrl_i2s1_default: i2s1_default { + pinmux = , + , + , + , + ; + bias-disable; + }; + pinctrl_key_gpio_default: key_gpio_default { pinmux = ; bias-pull-up; @@ -546,6 +570,12 @@ status = "okay"; }; + i2s1: i2s@fc04c000 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_i2s1_default>; + status = "disabled"; /* conflict with spi0, sdmmc1 */ + }; + can1: can@fc050000 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_can1_default>;