From patchwork Wed Oct 16 08:55:05 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiri Prchal X-Patchwork-Id: 3051371 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 C01EF9F2B6 for ; Wed, 16 Oct 2013 08:56:15 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 26E2A20483 for ; Wed, 16 Oct 2013 08:56: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 3C58D2010A for ; Wed, 16 Oct 2013 08:56: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 1VWMtS-0000Ws-LU; Wed, 16 Oct 2013 08:55:50 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VWMtQ-0002CF-9d; Wed, 16 Oct 2013 08:55:48 +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 1VWMtL-0002Bw-Nj for linux-arm-kernel@lists.infradead.org; Wed, 16 Oct 2013 08:55:44 +0000 X-SBRS: None X-SBRS-none: None X-RECVLIST: ETMAIL-CZ X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AoUGAEBTXlJVoCnw/2dsb2JhbABagweueZQegR8XdIMCI4EaN4gKsE2NeY9RHYQPA54oi16DJjo X-IPAS-Result: AoUGAEBTXlJVoCnw/2dsb2JhbABagweueZQegR8XdIMCI4EaN4gKsE2NeY9RHYQPA54oi16DJjo X-IronPort-AV: E=Sophos;i="4.93,506,1378850400"; d="scan'208";a="576952877" Received: from ip-85-160-41-240.eurotel.cz (HELO localhost.localdomain) ([85.160.41.240]) by smtp.etmail.cz with ESMTP; 16 Oct 2013 10:55:17 +0200 From: Jiri Prchal To: linux-arm-kernel@lists.infradead.org Subject: [PATCH] at91: serial: add usart3 in separat dtsi Date: Wed, 16 Oct 2013 10:55:05 +0200 Message-Id: <1381913705-16098-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-20131016_045543_909956_7FFB9AC8 X-CRM114-Status: UNSURE ( 9.25 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.9 (-) Cc: plagnioj@jcrosoft.com, Jiri Prchal , nicolas.ferre@atmel.com, b.brezillon@overkiz.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.7 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 This patch adds usart3 for AT91SAM9G25 and X25. Based on sugescion of Nicolas Ferre it's in separated dtsi file included in both g25 and x25 files. Signed-off-by: --- arch/arm/boot/dts/at91sam9g25.dtsi | 1 + arch/arm/boot/dts/at91sam9x25.dtsi | 1 + arch/arm/boot/dts/at91sam9x5-usart3.dtsi | 27 +++++++++++++++++++++++++++ 3 files changed, 29 insertions(+) create mode 100644 arch/arm/boot/dts/at91sam9x5-usart3.dtsi diff --git a/arch/arm/boot/dts/at91sam9g25.dtsi b/arch/arm/boot/dts/at91sam9g25.dtsi index b4ec6fe..980e9a7 100644 --- a/arch/arm/boot/dts/at91sam9g25.dtsi +++ b/arch/arm/boot/dts/at91sam9g25.dtsi @@ -7,6 +7,7 @@ */ #include "at91sam9x5.dtsi" +#include "at91sam9x5-usart3.dtsi" / { model = "Atmel AT91SAM9G25 SoC"; diff --git a/arch/arm/boot/dts/at91sam9x25.dtsi b/arch/arm/boot/dts/at91sam9x25.dtsi index 49e94ab..3ac17ee 100644 --- a/arch/arm/boot/dts/at91sam9x25.dtsi +++ b/arch/arm/boot/dts/at91sam9x25.dtsi @@ -7,6 +7,7 @@ */ #include "at91sam9x5.dtsi" +#include "at91sam9x5-usart3.dtsi" / { model = "Atmel AT91SAM9X25 SoC"; diff --git a/arch/arm/boot/dts/at91sam9x5-usart3.dtsi b/arch/arm/boot/dts/at91sam9x5-usart3.dtsi new file mode 100644 index 0000000..f5b6979 --- /dev/null +++ b/arch/arm/boot/dts/at91sam9x5-usart3.dtsi @@ -0,0 +1,27 @@ +/* + * at91sam9x5-usert3.dtsi - Device Tree Include file for AT91SAM9G25 or + * AT91SAM9X25 SoC + * + * Copyright (C) 2013 Jiri Prchal + * + * Licensed under GPLv2. + */ + +/ { + aliases { + serial4 = &usart3; + }; + + ahb { + apb { + 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"; + }; + }; + }; +};