From patchwork Thu Sep 19 12:33:36 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiri Prchal X-Patchwork-Id: 2911081 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 350129F1E3 for ; Thu, 19 Sep 2013 12:34:12 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2B2A920435 for ; Thu, 19 Sep 2013 12:34:11 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id F13AE20347 for ; Thu, 19 Sep 2013 12:34:09 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VMdQt-000847-84; Thu, 19 Sep 2013 12:34:07 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VMdQq-0004TF-Sg; Thu, 19 Sep 2013 12:34:04 +0000 Received: from port.iol.cz ([194.228.1.9]) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VMdQo-0004Si-Rp for linux-arm-kernel@lists.infradead.org; Thu, 19 Sep 2013 12:34:03 +0000 X-SBRS: None X-SBRS-none: None X-RECVLIST: ETMAIL-CZ X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AuAGAPDtOlJVoC8d/2dsb2JhbABbgweDbapDlAaBHxd0gwIjgRo3iAesCI1Fj2cdhAgDnhmLWIMmOg X-IPAS-Result: AuAGAPDtOlJVoC8d/2dsb2JhbABbgweDbapDlAaBHxd0gwIjgRo3iAesCI1Fj2cdhAgDnhmLWIMmOg X-IronPort-AV: E=Sophos;i="4.90,936,1371074400"; d="scan'208";a="44906535" Received: from ip-85-160-47-29.eurotel.cz (HELO localhost.localdomain) ([85.160.47.29]) by smtp.etmail.cz with ESMTP; 19 Sep 2013 14:33:39 +0200 From: Jiri Prchal To: linux-arm-kernel@lists.infradead.org Subject: [PATCH] at91: serial: sam9g25: add usart3 to dtsi Date: Thu, 19 Sep 2013 14:33:36 +0200 Message-Id: <1379594016-9408-1-git-send-email-jiri.prchal@aksignal.cz> X-Mailer: git-send-email 1.7.9.5 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130919_083403_023847_7243EBA0 X-CRM114-Status: UNSURE ( 7.37 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.9 (-) Cc: Jiri Prchal , nicolas.ferre@atmel.com X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, 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 Hope it should be in g25 because not all x5 socs have usart3. Signed-off-by: Jiri Prchal --- arch/arm/boot/dts/at91sam9g25.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9g25.dtsi b/arch/arm/boot/dts/at91sam9g25.dtsi index b4ec6fe..ba0966f 100644 --- a/arch/arm/boot/dts/at91sam9g25.dtsi +++ b/arch/arm/boot/dts/at91sam9g25.dtsi @@ -12,6 +12,10 @@ model = "Atmel AT91SAM9G25 SoC"; compatible = "atmel,at91sam9g25", "atmel,at91sam9x5"; + aliases { + serial4 = &usart3; + }; + ahb { apb { pinctrl@fffff400 { @@ -23,6 +27,16 @@ 0x003fffff 0x003f8000 0x00000000 /* pioD */ >; }; + + usart3: serial@f8028000 { + compatible = "atmel,at91sam9260-usart"; + reg = <0xf8028000 0x200>; + interrupts = <8 IRQ_TYPE_LEVEL_HIGH 5>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usart3>; + status = "disabled"; + }; + }; }; };