Message ID | 20220828133329.793324-4-dario.binacchi@amarulasolutions.com |
---|---|
State | New |
Headers | show
Return-Path: <linux-amarula+bncBCQ4XFG47UFRBN65VWMAMGQEE7NWBWY@amarulasolutions.com> X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ed1-f69.google.com (mail-ed1-f69.google.com [209.85.208.69]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 0110742016 for <linux-amarula@patchwork.amarulasolutions.com>; Sun, 28 Aug 2022 15:33:44 +0200 (CEST) Received: by mail-ed1-f69.google.com with SMTP id m18-20020a056402511200b0044862412596sf760087edd.3 for <linux-amarula@patchwork.amarulasolutions.com>; Sun, 28 Aug 2022 06:33:43 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1661693623; cv=pass; d=google.com; s=arc-20160816; b=UrZZORfNuY2qmNyV3ifOxRE3uaZh56FrPJMiilbeF+fUEOvyQCzpXmHsBWKGqnipOn AteSCicdh8tDA//lQylq4oSUH9bITOTuW15YdqZ1jo8ypc8FLhSK4Pzos1o85v00R7FV y672Kxb66Elv3Whu6D/QFiz4IEikd83KY5qg0NiSKb6Ff3eKETdBkuLAUTbM0G8Z/P9n xYWzlUPPVM1PrsB4Sr/wvm6RV8/zUG7mJaszLyLN82YFWaKbDOULi+P4K3/HmflW8XG+ S0MNfZBrM9eQ7rnPSoS5eqJTkCZ/qQDkiIWyk1zkcWJ2I2KVdSxE1eulNJlQHmEVESMD rl3g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=sPhXXaHW35RUGOBNBzWh6+r/nrIXt/bm3ZUDfsCdJPc=; b=JkFF9XQ/BmyyGAhmmZjtRQqNIrKONigsBU/HTTstHDfzejO1HhGqbl7JQnrMBUtXqv ptsnPdI/TzojT70/9e2X+lktakHP5E8l1vBT/si+slYKQj49qOlKN3t4d2Arg/FAP+1T J+gZb4kSZPs1HSiTEnWzVjajx5qOhZfwdYao+EByv0aykuzlceXdCJmxpw7oLpoHFMKD o3k5+fJLZM3pGrA/ceUqwzT47gLis/URAq1rZAUaiV64M62FJ5smnjdkqk5Dj+jFgg/c rGfr/Ii9BFH9q8o3/lATZyMqGP5A7C0ewlOuj91eTJLi5EALWre9nQ6gvR2OCCUE4pYI ef4Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=ptcQCXsH; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:from:to:cc; bh=sPhXXaHW35RUGOBNBzWh6+r/nrIXt/bm3ZUDfsCdJPc=; b=jgSNrMl8ze2I63WHWF28pcuEWEE+svAmSDiXP3E2B7i28Vbn6QMI3DRybc6FNcJ7Mi zHRhMNb7B9y1sgGQM2czkB/yjLYsApHa0DamOnY4PqfWnRQcz0vj26i2SCX0GdsorW1T YTK2Peg/RFqJS38h8R29wzysliSWwAi3fPRUA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :x-gm-message-state:from:to:cc; bh=sPhXXaHW35RUGOBNBzWh6+r/nrIXt/bm3ZUDfsCdJPc=; b=4cDd3T7hp9IXECfHLBlLzpXmsw9J8nUHtzmfZR1HubhQrZ8zAZAgxV0lf7ghFwyTQ2 e1aiH30HdMcGOrFJ/55EJwSmit5ldaE/vntaQbu1bZn/NuAg2KyiNMqLJaa1JUKBxzFP +j+Bn4LqBfTuBiN7+JRQCl+Ff+5ydv3o1RzUZM8Jy23m7DWvEVe2B9Pso4RuIFeMvjaF cMO1Fb2zCdGADRU5iUE4+N6KZoMnOj7NEQLnu/TBFMFikFyPZ4BipUp+1w7hrDEIt6LH IkFyS7/CC9EXFB+F/iDVtBlJhTVoLtXyJn8K0Kyrz4pkFrzUSFJYf3JrtQqb5Mmu6XAL ZLgQ== X-Gm-Message-State: ACgBeo1KjfIM9wUOufKG+h7DLq52A2fmEmf4kqef/2A90bk1SzPoOGdd OcJpf65XEsISmMopeRKlSM/TyI8S X-Google-Smtp-Source: AA6agR5bWg7r/l4FL8M5LTxWlG7ohQU+zkHicwFo2Fo9ZIMwZOFfxs5COHPSj1a9WbMlblOtyC57mA== X-Received: by 2002:aa7:d385:0:b0:447:d5ec:d452 with SMTP id x5-20020aa7d385000000b00447d5ecd452mr9956055edq.231.1661693623743; Sun, 28 Aug 2022 06:33:43 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:5241:b0:448:77f2:6859 with SMTP id t1-20020a056402524100b0044877f26859ls192511edd.3.-pod-prod-gmail; Sun, 28 Aug 2022 06:33:42 -0700 (PDT) X-Received: by 2002:a05:6402:31e7:b0:447:d664:83eb with SMTP id dy7-20020a05640231e700b00447d66483ebmr9698288edb.276.1661693622580; Sun, 28 Aug 2022 06:33:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661693622; cv=none; d=google.com; s=arc-20160816; b=GdPeomS2X9e3R6i5gemdRVtVQGR2zZuxHYKzMtX2/wUaC59TkC48Bq8u/kTlx4MU8N kwCXUhdy/ozTZQ9npDT58LUOQKq9tKJXlOQqGviXH7x9ckvf426EDOAO9uSk59u8KWfw MI77X/Mie1NU0TVDtApZQ/+o4+gST4entQwpoe/RYuIagEk4GNo0enGhGLL+9721phEN H5vnen13VzXxazv2lNBl1XhNBMOgylayLDM1Nnj92ICCsGmOwZhRSXdesWmLGfguJn/4 WBpOdO8395D+FCd9XyBDF3cDj1yrHgC6Kna+zlMJyBaJ88xvAshsNHnSAmZP3b0ACRr5 AzoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=olNapHSIxEXV/j68X2DSb6GA5s0CD+ILvvqYswhlRrM=; b=jT5+xH0ogIMc3LelT040QveX3JWas+XQLekY0NOP7a9JQs52T3wo1Pnhc9z2Co3c6n ojJoVNixzWvQ6LN+hZOrI12j1GKDRQLh70s4DHi2Spp69mUHUDiQqb7RFk6BOFnQv0iH bcbOziX4jBmpAeDyd1HrH42lN7hKY+2HPjP542IvbS6un8MWVqEqGGs1HYWzdqqJkYrt b6Urbtw4FP/idt1BkqyYUstSSbhpYc2v1dgDbr0FRieLOR5wvK7JIbXopEzLn/LhxdVT zGNK+GxGhJEtDtomxTFJQPB2Nc3ITTgYbPqJ89IPDcShWsUxplf6+v51ZUPoMHOQzPLE yMjw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=ptcQCXsH; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id m3-20020a509303000000b004477895bafbsor2972292eda.7.2022.08.28.06.33.42 for <linux-amarula@amarulasolutions.com> (Google Transport Security); Sun, 28 Aug 2022 06:33:42 -0700 (PDT) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a05:6402:3596:b0:447:11ea:362d with SMTP id y22-20020a056402359600b0044711ea362dmr13480103edc.117.1661693622388; Sun, 28 Aug 2022 06:33:42 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-79-31-31-9.retail.telecomitalia.it. [79.31.31.9]) by smtp.gmail.com with ESMTPSA id u26-20020a1709064ada00b007313a25e56esm3247669ejt.29.2022.08.28.06.33.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 Aug 2022 06:33:41 -0700 (PDT) From: Dario Binacchi <dario.binacchi@amarulasolutions.com> To: linux-kernel@vger.kernel.org Cc: Marc Kleine-Budde <mkl@pengutronix.de>, Alexandre Torgue <alexandre.torgue@foss.st.com>, michael@amarulasolutions.com, Amarula patchwork <linux-amarula@amarulasolutions.com>, Vincent Mailhol <mailhol.vincent@wanadoo.fr>, Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>, Rob Herring <robh@kernel.org>, Dario Binacchi <dario.binacchi@amarulasolutions.com>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Maxime Coquelin <mcoquelin.stm32@gmail.com>, Rob Herring <robh+dt@kernel.org>, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com Subject: [RFC PATCH v3 3/4] ARM: dts: stm32: add pin map for CAN controller on stm32f4 Date: Sun, 28 Aug 2022 15:33:28 +0200 Message-Id: <20220828133329.793324-4-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220828133329.793324-1-dario.binacchi@amarulasolutions.com> References: <20220828133329.793324-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=ptcQCXsH; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: <linux-amarula.amarulasolutions.com> X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/post>, <mailto:linux-amarula@amarulasolutions.com> List-Help: <https://support.google.com/a/amarulasolutions.com/bin/topic.py?topic=25838>, <mailto:linux-amarula+help@amarulasolutions.com> List-Archive: <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/> List-Unsubscribe: <mailto:googlegroups-manage+476853432473+unsubscribe@googlegroups.com>, <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/subscribe> |
Series |
|
Related |
show
|
diff --git a/arch/arm/boot/dts/stm32f4-pinctrl.dtsi b/arch/arm/boot/dts/stm32f4-pinctrl.dtsi index 500bcc302d42..8a4d51f97248 100644 --- a/arch/arm/boot/dts/stm32f4-pinctrl.dtsi +++ b/arch/arm/boot/dts/stm32f4-pinctrl.dtsi @@ -448,6 +448,36 @@ pins2 { slew-rate = <2>; }; }; + + can1_pins_a: can1-0 { + pins1 { + pinmux = <STM32_PINMUX('B', 9, AF9)>; /* CAN1_TX */ + }; + pins2 { + pinmux = <STM32_PINMUX('B', 8, AF9)>; /* CAN1_RX */ + bias-pull-up; + }; + }; + + can2_pins_a: can2-0 { + pins1 { + pinmux = <STM32_PINMUX('B', 13, AF9)>; /* CAN2_TX */ + }; + pins2 { + pinmux = <STM32_PINMUX('B', 5, AF9)>; /* CAN2_RX */ + bias-pull-up; + }; + }; + + can2_pins_b: can2-1 { + pins1 { + pinmux = <STM32_PINMUX('B', 13, AF9)>; /* CAN2_TX */ + }; + pins2 { + pinmux = <STM32_PINMUX('B', 12, AF9)>; /* CAN2_RX */ + bias-pull-up; + }; + }; }; }; };
Add pin configurations for using CAN controller on stm32f469-disco board. They are located on the Arduino compatible connector CN5 (CAN1) and on the extension connector CN12 (CAN2). Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com> --- Changes in v3: - Remove 'Dario Binacchi <dariobin@libero.it>' SOB. - Remove a blank line. Changes in v2: - Remove a blank line. arch/arm/boot/dts/stm32f4-pinctrl.dtsi | 30 ++++++++++++++++++++++++++ 1 file changed, 30 insertions(+)