From patchwork Sun Apr 26 10:15:38 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Genoud X-Patchwork-Id: 6275581 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.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 8ED889F2BA for ; Sun, 26 Apr 2015 10:18:21 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A0B992039C for ; Sun, 26 Apr 2015 10:18:20 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C4DBE2035E for ; Sun, 26 Apr 2015 10:18:19 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1YmJbn-0002TO-99; Sun, 26 Apr 2015 10:16:19 +0000 Received: from mail-wi0-x231.google.com ([2a00:1450:400c:c05::231]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YmJbi-0002LQ-Er for linux-arm-kernel@lists.infradead.org; Sun, 26 Apr 2015 10:16:15 +0000 Received: by widdi4 with SMTP id di4so61335930wid.0 for ; Sun, 26 Apr 2015 03:15:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=xJ3IA23dNKHC+RU1R3QUgZO03VoHNbkFf33fTBPYCO0=; b=0RcbMpZk5TK79YlEvea7urmuO9GycPvD/3pyGEIuqhiiYqKZKft4/1+/BC3qNF/CpD OGsG/S5Adyl/pPGy9EO6tKDRMRwARdV7rT0sHHTBzN4MSVhvsDXzXQGMAJ/bfRJkIqlO H+QVMxqQMT3lg7qslrU3TssYtpvLwEOaCCXxhfNYwPRKgkMUiqXo6j+LRlK/UxhJuxZX kbI2hpCRsIn3WfCjh60pJp/iV3JMIWhmrLyciw9aVv3Vqq3QYOHgXyo8IyDGjnU+Q0IC vL/jNGdOti+gmURg9cfZFVfutp/ihY0sqPUTb0de+li53ALtq2Dp1vgFUzs8/oxpkDYX LVAQ== X-Received: by 10.194.200.42 with SMTP id jp10mr12817302wjc.66.1430043351417; Sun, 26 Apr 2015 03:15:51 -0700 (PDT) Received: from localhost.localdomain (73.223.102.84.rev.sfr.net. [84.102.223.73]) by mx.google.com with ESMTPSA id dq4sm6749116wid.17.2015.04.26.03.15.50 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 26 Apr 2015 03:15:50 -0700 (PDT) From: Richard Genoud To: Maxime Ripard Subject: [PATCH] ARM: sunxi: dts: Add A10 uarts pin muxing options Date: Sun, 26 Apr 2015 12:15:38 +0200 Message-Id: <1430043338-28982-1-git-send-email-richard.genoud@gmail.com> X-Mailer: git-send-email 1.7.10.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150426_031614_692994_419AC5FA X-CRM114-Status: UNSURE ( 8.05 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.8 (/) Cc: Richard Genoud , devicetree@vger.kernel.org, Rob Herring , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 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.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, T_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 The A10 has 8 uarts, only uart0 and uart1 where filled. This patch adds all the missing uarts(2 to 7) pin muxing to the dtsi. Signed-off-by: Richard Genoud --- arch/arm/boot/dts/sun4i-a10.dtsi | 84 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) Based on V4.0 uart4_a tested on cubieboard A10 diff --git a/arch/arm/boot/dts/sun4i-a10.dtsi b/arch/arm/boot/dts/sun4i-a10.dtsi index eebb785..e83fd2c 100644 --- a/arch/arm/boot/dts/sun4i-a10.dtsi +++ b/arch/arm/boot/dts/sun4i-a10.dtsi @@ -673,6 +673,90 @@ allwinner,pull = ; }; + uart2_pins_a: uart2@0 { + allwinner,pins = "PA2", "PA3"; + allwinner,function = "uart2"; + allwinner,drive = ; + allwinner,pull = ; + }; + + uart2_pins_b: uart2@1 { + allwinner,pins = "PI18", "PI19"; + allwinner,function = "uart2"; + allwinner,drive = ; + allwinner,pull = ; + }; + + uart3_pins_a: uart3@0 { + allwinner,pins = "PG6", "PG7"; + allwinner,function = "uart3"; + allwinner,drive = ; + allwinner,pull = ; + }; + + uart3_pins_b: uart3@1 { + allwinner,pins = "PH0", "PH1"; + allwinner,function = "uart3"; + allwinner,drive = ; + allwinner,pull = ; + }; + + uart4_pins_a: uart4@0 { + allwinner,pins = "PG10", "PG11"; + allwinner,function = "uart4"; + allwinner,drive = ; + allwinner,pull = ; + }; + + uart4_pins_b: uart4@1 { + allwinner,pins = "PH4", "PH5"; + allwinner,function = "uart4"; + allwinner,drive = ; + allwinner,pull = ; + }; + + uart5_pins_a: uart5@0 { + allwinner,pins = "PH6", "PH7"; + allwinner,function = "uart5"; + allwinner,drive = ; + allwinner,pull = ; + }; + + uart5_pins_b: uart5@1 { + allwinner,pins = "PI10", "PI11"; + allwinner,function = "uart5"; + allwinner,drive = ; + allwinner,pull = ; + }; + + uart6_pins_a: uart6@0 { + allwinner,pins = "PA12", "PA13"; + allwinner,function = "uart6"; + allwinner,drive = ; + allwinner,pull = ; + }; + + uart6_pins_b: uart6@1 { + allwinner,pins = "PI12", "PI13"; + allwinner,function = "uart6"; + allwinner,drive = ; + allwinner,pull = ; + }; + + uart7_pins_a: uart7@0 { + allwinner,pins = "PA14", "PA15"; + allwinner,function = "uart7"; + allwinner,drive = ; + allwinner,pull = ; + }; + + uart7_pins_b: uart7@1 { + allwinner,pins = "PI20", "PI21"; + allwinner,function = "uart7"; + allwinner,drive = ; + allwinner,pull = ; + }; + i2c0_pins_a: i2c0@0 { allwinner,pins = "PB0", "PB1"; allwinner,function = "i2c0";