From mboxrd@z Thu Jan 1 00:00:00 1970 From: Codrin Ciubotariu 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> References: <20180806111948.4522-1-codrin.ciubotariu@microchip.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: In-Reply-To: <20180806111948.4522-1-codrin.ciubotariu@microchip.com> Sender: linux-kernel-owner@vger.kernel.org To: alexandre.belloni@bootlin.com, nicolas.ferre@microchip.com, Claudiu.Beznea@microchip.com Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Cristian.Birsan@microchip.com, Cyrille Pitchen List-Id: devicetree@vger.kernel.org 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>; -- 2.17.1