From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934348AbbCDQjw (ORCPT ); Wed, 4 Mar 2015 11:39:52 -0500 Received: from eusmtp01.atmel.com ([212.144.249.243]:57874 "EHLO eusmtp01.atmel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933130AbbCDQjt (ORCPT ); Wed, 4 Mar 2015 11:39:49 -0500 Message-ID: <54F73554.3080804@atmel.com> Date: Wed, 4 Mar 2015 17:39:48 +0100 From: Nicolas Ferre Organization: atmel User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: , , Boris BREZILLON , Alexandre Belloni , Ludovic Desroches Subject: Re: [PATCH] ARM: at91/dt: add uart0 to sama5d3 DT References: <1425486402-17580-1-git-send-email-nicolas.ferre@atmel.com> In-Reply-To: <1425486402-17580-1-git-send-email-nicolas.ferre@atmel.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 8bit X-Originating-IP: [10.161.30.18] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le 04/03/2015 17:26, Nicolas Ferre a écrit : > Signed-off-by: Nicolas Ferre Please, forget this patch. It is handled by arch/arm/boot/dts/sama5d3_uart.dtsi file. Sorry for the noise ;-) Bye, > --- > arch/arm/boot/dts/sama5d3.dtsi | 26 ++++++++++++++++++++++++++ > 1 file changed, 26 insertions(+) > > diff --git a/arch/arm/boot/dts/sama5d3.dtsi b/arch/arm/boot/dts/sama5d3.dtsi > index e30fee2edd55..def05e20e9d6 100644 > --- a/arch/arm/boot/dts/sama5d3.dtsi > +++ b/arch/arm/boot/dts/sama5d3.dtsi > @@ -26,6 +26,7 @@ > serial2 = &usart1; > serial3 = &usart2; > serial4 = &usart3; > + serial5 = &uart0; > gpio0 = &pioA; > gpio1 = &pioB; > gpio2 = &pioC; > @@ -206,6 +207,17 @@ > status = "disabled"; > }; > > + uart0: serial@f0024000 { > + compatible = "atmel,at91sam9260-usart"; > + reg = <0xf0024000 0x100>; > + interrupts = <16 IRQ_TYPE_LEVEL_HIGH 5>; > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_uart0>; > + clocks = <&uart0_clk>; > + clock-names = "usart"; > + status = "disabled"; > + }; > + > pwm0: pwm@f002c000 { > compatible = "atmel,sama5d3-pwm"; > reg = <0xf002c000 0x300>; > @@ -764,6 +776,14 @@ > }; > }; > > + uart0 { > + pinctrl_uart0: uart0-0 { > + atmel,pins = > + + AT91_PIOC 30 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* conflicts with ISI_PCK */ > + }; > + }; > + > usart0 { > pinctrl_usart0: usart0-0 { > atmel,pins = > @@ -1098,6 +1118,12 @@ > atmel,clk-output-range = <0 66000000>; > }; > > + uart0_clk: uart0_clk { > + #clock-cells = <0>; > + reg = <16>; > + atmel,clk-output-range = <0 66000000>; > + }; > + > twi0_clk: twi0_clk { > reg = <18>; > #clock-cells = <0>; > -- Nicolas Ferre