From patchwork Wed Feb 3 11:04:43 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Coquelin X-Patchwork-Id: 8200561 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 ABFA89F6DA for ; Wed, 3 Feb 2016 11:09:08 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id CF44D20204 for ; Wed, 3 Feb 2016 11:09:07 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 00494201C0 for ; Wed, 3 Feb 2016 11:09:06 +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 1aQvHY-0002AD-SZ; Wed, 03 Feb 2016 11:07:32 +0000 Received: from mail-wm0-x242.google.com ([2a00:1450:400c:c09::242]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aQvFY-0008Eb-BN for linux-arm-kernel@lists.infradead.org; Wed, 03 Feb 2016 11:05:33 +0000 Received: by mail-wm0-x242.google.com with SMTP id r129so6829542wmr.0 for ; Wed, 03 Feb 2016 03:05:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=99fk5iDXkLFLvl5ZYjpmzkKarIlLNKOZ/gFUiQQtmO8=; b=dweewEPvHR7XXRpLpq0KBud95oVlZ02ejJyIALFlxiXSMFNAE2yERj4Atv1eEh6tFB dAlSIXjp1AFWl+GQjw38AMryYzTemmqgiU5MtcPtoHHs3Zt8WioOgWRy3cqgfIoUhQvQ xWj0UsqHSSL05SCdy7YQKe6MlR8ZGlvsQgopLFdZRb+M4BYBrhqOV0nH0h52AnYbLmbq rA88Dr4SB106U/RHtF7CAxEEVt8ExT4FYmfT27o4K8pFBYY7eUBknIZBalTOyFDxtLlD 65edghNASt2JAxhebINNhOTejTER2FKFPagmA+ienOB+b8Ji8dJzpGaCeb3cjBeXwMQg efxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=99fk5iDXkLFLvl5ZYjpmzkKarIlLNKOZ/gFUiQQtmO8=; b=Mj3SclnWNO1ZgtawVxYvRuJaxqjKQRQrtxYim8kxnNuTC+lQA1WAstaLEKtiqxYm+d c15SM2DgkTghmpXcN1aARekSPJ0HOMfMOJYTccvBDOj7oVgioNxpM7Ol7Ay1uAstq2ww 75eDdl3cUn24/tC3knOZNUD4SoNpW+iTzi/csfwkrrUBrnkyR+YLrkZLprbeLljie5Iw 1s/21YRoDL2vdRJqQxeX+sXQ0tICHnMRopM3krtNdquKFdCN8oMNGn020HJQF/U8YhAW j/UNIUG4SH5XbjwmOBtILaaIY7fbpzLqb7rJELtj52GXWY//5SgLJwBQ+tyc0A2Ty6wH 6HnQ== X-Gm-Message-State: AG10YOQj/Srg3/0ZLQ+DA2UtECpjrigZZ7y7TUn4gjXcFwNA9hUPm0C2SlDiKBlg3n/ESw== X-Received: by 10.28.73.70 with SMTP id w67mr2947761wma.31.1454497506662; Wed, 03 Feb 2016 03:05:06 -0800 (PST) Received: from lmecul0520.st.com. (238.204.154.77.rev.sfr.net. [77.154.204.238]) by smtp.gmail.com with ESMTPSA id p9sm5911996wjy.41.2016.02.03.03.05.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 03 Feb 2016 03:05:06 -0800 (PST) From: Maxime Coquelin To: patrice.chotard@st.com, Linus Walleij , Mark Rutland , Rob Herring , linux-gpio@vger.kernel.org, arnd@arndb.de Subject: [PATCH v5 7/9] ARM: dts: Add USART1 pin config to STM32F429 boards Date: Wed, 3 Feb 2016 12:04:43 +0100 Message-Id: <1454497485-464-8-git-send-email-mcoquelin.stm32@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1454497485-464-1-git-send-email-mcoquelin.stm32@gmail.com> References: <1454497485-464-1-git-send-email-mcoquelin.stm32@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160203_030528_732097_C14060A9 X-CRM114-Status: GOOD ( 10.77 ) X-Spam-Score: -2.5 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Daniel Thompson , bruherrera@gmail.com, linux-kernel@vger.kernel.org, afaerber@suse.de, linux-arm-kernel@lists.infradead.org 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.5 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham 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 selects USART1 pin configuration on PA9/PA10 pins for both Eval and Disco boards. Acked-by: Linus Walleij Acked-by: Patrice Chotard Signed-off-by: Maxime Coquelin --- arch/arm/boot/dts/stm32429i-eval.dts | 2 ++ arch/arm/boot/dts/stm32f429-disco.dts | 2 ++ arch/arm/boot/dts/stm32f429.dtsi | 13 +++++++++++++ 3 files changed, 17 insertions(+) diff --git a/arch/arm/boot/dts/stm32429i-eval.dts b/arch/arm/boot/dts/stm32429i-eval.dts index 6964fc9..71fe17a 100644 --- a/arch/arm/boot/dts/stm32429i-eval.dts +++ b/arch/arm/boot/dts/stm32429i-eval.dts @@ -71,5 +71,7 @@ }; &usart1 { + pinctrl-0 = <&usart1_pins_a>; + pinctrl-names = "default"; status = "okay"; }; diff --git a/arch/arm/boot/dts/stm32f429-disco.dts b/arch/arm/boot/dts/stm32f429-disco.dts index f0b731d..e3ce796 100644 --- a/arch/arm/boot/dts/stm32f429-disco.dts +++ b/arch/arm/boot/dts/stm32f429-disco.dts @@ -71,5 +71,7 @@ }; &usart1 { + pinctrl-0 = <&usart1_pins_a>; + pinctrl-names = "default"; status = "okay"; }; diff --git a/arch/arm/boot/dts/stm32f429.dtsi b/arch/arm/boot/dts/stm32f429.dtsi index 62d2b3d..1cf713e 100644 --- a/arch/arm/boot/dts/stm32f429.dtsi +++ b/arch/arm/boot/dts/stm32f429.dtsi @@ -263,6 +263,19 @@ clocks = <&rcc 0 266>; st,bank-name = "GPIOK"; }; + + usart1_pins_a: usart1@0 { + pins1 { + pinmux = ; + bias-disable; + drive-push-pull; + slew-rate = <0>; + }; + pins2 { + pinmux = ; + bias-disable; + }; + }; }; rcc: rcc@40023810 {