Message ID | 20230109182356.141849-5-dario.binacchi@amarulasolutions.com |
---|---|
State | New |
Headers | show
Return-Path: <linux-amarula+bncBCQ4XFG47UFRBSFX6GOQMGQER3KVBFA@amarulasolutions.com> X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ed1-f71.google.com (mail-ed1-f71.google.com [209.85.208.71]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id CA3C83F046 for <linux-amarula@patchwork.amarulasolutions.com>; Mon, 9 Jan 2023 19:24:08 +0100 (CET) Received: by mail-ed1-f71.google.com with SMTP id l17-20020a056402255100b00472d2ff0e59sf5811335edb.19 for <linux-amarula@patchwork.amarulasolutions.com>; Mon, 09 Jan 2023 10:24:08 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1673288648; cv=pass; d=google.com; s=arc-20160816; b=M4QAfR6UaN7sIRmi4f7EIv97uIXUp1BBGvcbRxlnCilwDuRA4++aDEImG9rNGbE2OJ FwblDHaSD6mVAMIte8r/i9ZVb6aObHK4wcSIdqSgquVDfOK05Lz4ePpxvezYeMzhSQmI jIMjs72/umUiRJ5pQ1+Z0uuG5JegTbT91ChkoWXPBAtzhJIBWJspg6ADxOcyxgHUxqYq uWdq5d2yCL2iVvOjD3a42290WA1BAOjMc6CX6Ik81czd5Z/9o5e8YZ7Pd+3QiAXr0Jmg KAWBBLnguHWIq9zu5UW3VlqYBBLUqqYnIWcalA9Iw9oRj+fAqrzvBVNh/SNFxyq1LnAJ mzmQ== 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=WPZFPC0LIg+Ui+XDjcph7phwAslDEQjxg+3LEBtUn+g=; b=M1ZoxMZAYDnHduvq7bvlXTfns98b1zOrb9SmQ6nv6M1UUXlXlXTmHZ2W/r/7oyohfi esKqQg95Cg3vKCpbicGC7X/SozSRzjot4O3nSN068KYjV5uX5KQQHtko0RciGKVvZIhs 1Tmox3o6PsFZmFQmqe9TgCj+8VHQGR+9DYtPWhGJfufzUXHskHKjfIhgv4M9vnlRVEvd JY/LVfYwHA1z26KAbollhNg1dtKjQMLy1K7bu/KhUNF5wXh9nhEY3Yi/c3qSz9ehJSAc X0uWjH1D6rxVr+cbb0Nk+MwNEoh7HCUHSId1qlbOUeb7uTNWkWudI1alQwMt8HhtLWTj IKJg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=keYgJ2y3; 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:subject:date:message-id:reply-to; bh=WPZFPC0LIg+Ui+XDjcph7phwAslDEQjxg+3LEBtUn+g=; b=Cgpbtd9ZjITURAPEKIVP2zcy//BjXCwOvHPTJTKxSmkno4YFKR2UHu8EmXnASfByEX S5uxyzuPiOOCgqLTQwKqEndrojRiLjQmXv/mgTGs87BTo12UWVksp75ZTK9DQK94wD/F YbAyJPq2ccwfL9E29chRy1QcYc2Fy23vkffNE= 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:subject:date:message-id:reply-to; bh=WPZFPC0LIg+Ui+XDjcph7phwAslDEQjxg+3LEBtUn+g=; b=PTmUiM9MkAsBHR5txuAJQymhOZovYZPJwXZip0DWuPtoRH6QUumx/C30Pa/kfX4ucy oxp0emT13mXxkxAahT/QbTuU+7MgomleYFV908IQ31RR/ZQmLJDNP+JYwF3dXW001a6n DzE7rRLC/Y3mqc5/zvHVyqKNMFA1jNRRw1iZOtkvEMnHmRkJnQmGDKp0UXYOjyc8SfTq 8nLSQXZnaodi3GxUOwrA/hCknkwaN6Tu15GjARKxTn1S6PJd22YjDJvZyzicIAq6tVgF 3PYdZv52aNcWQy8gvyom/3Tc/t18kjYOF9m7Bpi0qjlXAFFygquZL/U6EXCjZWgPdZi5 hmKg== X-Gm-Message-State: AFqh2kpjn4OGufPH1oWqZkvwtcw++2J6Nw6chL/6Suaj4h/SGkYevaJB mXCfOieUsCCVfuYjCAtDfct59Z7Y X-Google-Smtp-Source: AMrXdXsjukG/FMMOynSDu6uS/PdVoucpgpzwHZwpkSgZmgd4RIN28ud/HAJcomGSVg8vTKrmH7uIaA== X-Received: by 2002:a05:6402:1394:b0:48a:eac7:2b9f with SMTP id b20-20020a056402139400b0048aeac72b9fmr3286514edv.91.1673288648514; Mon, 09 Jan 2023 10:24:08 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:906:fcc1:b0:84d:1543:d10e with SMTP id qx1-20020a170906fcc100b0084d1543d10els3447828ejb.1.-pod-prod-gmail; Mon, 09 Jan 2023 10:24:07 -0800 (PST) X-Received: by 2002:a17:906:6b8c:b0:841:df6e:a32e with SMTP id l12-20020a1709066b8c00b00841df6ea32emr71653277ejr.25.1673288647356; Mon, 09 Jan 2023 10:24:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673288647; cv=none; d=google.com; s=arc-20160816; b=VDSgYysGP7ZF/aj3jO37+gtmOk0OYnApYc+rHnbYKQIYQ+qiYqOzwxJ0C0iXE9zBp6 l4YoeTlOOvoFwnpdWtR9+TvpV5u6PZa+Efi0IJ8AiD0L++e2m8guh/YZq2NbTvxpMekw FtpByHKcbeItELcRUFI24EHN7L4Reke/Cdy66fHBCrTZJs+XpGPiEJ2csvdKZzwIqh9y xRlwuxph1W3WU0nEJYxbL9Hy0DLNuViDIF0FC7XImwh6aqekpQaTJ2LpQpfdinGy9crQ VfognB2oxPVR39m1L73HLBLBzkohYiX0hbaPaADbwgGbgwwuCKfQVzSoBz88drWx/G+5 kb3Q== 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=jfErmyZAWFClEhl0ayKENaiIcOOkglWFws7K0nbLI8s=; b=wmxIXBA6mYHVxC1Slq4k7RouxgA1iOUiRbkGMScmnGeGIAUtBNlUWP/A2jb1vacmhf FOMrBKV37zEttjn4LdfNtb7Z+UzHYD5nCn2tpeYMPxcM6kd2Ca2O8SxhvPnrwcenIZM9 mZKavRcDg4Jq5BL93jh0Y0wvaFxtkMdW/JSfXhn7Rg7lJQFJbDldpi683qDxROxItghl o1d/aDNc1zyNNxcIwdGui80lxq+mlu5qFMGxEQpIzilQthGWH6+Gc4u/PGltKfpS4OzD 26HA8O0vPVQhWu0V44lXHv04DzvXz0TK/YN46dRskKYjXMKEbKDgLE7eArHSjBDp+PTg Nk7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=keYgJ2y3; 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 gb12-20020a170907960c00b007a723d191cesor3802130ejc.103.2023.01.09.10.24.07 for <linux-amarula@amarulasolutions.com> (Google Transport Security); Mon, 09 Jan 2023 10:24:07 -0800 (PST) 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:a17:907:2113:b0:84d:4b39:1448 with SMTP id qn19-20020a170907211300b0084d4b391448mr3081519ejb.67.1673288647150; Mon, 09 Jan 2023 10:24:07 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.pdxnet.pdxeng.ch (host-80-180-23-57.retail.telecomitalia.it. [80.180.23.57]) by smtp.gmail.com with ESMTPSA id kz22-20020a17090777d600b007c1633cea13sm4093653ejc.12.2023.01.09.10.24.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Jan 2023 10:24:06 -0800 (PST) From: Dario Binacchi <dario.binacchi@amarulasolutions.com> To: linux-kernel@vger.kernel.org Cc: Vincent Mailhol <mailhol.vincent@wanadoo.fr>, Amarula patchwork <linux-amarula@amarulasolutions.com>, Marc Kleine-Budde <mkl@pengutronix.de>, Alexandre Torgue <alexandre.torgue@foss.st.com>, michael@amarulasolutions.com, 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: [PATCH v6 4/5] ARM: dts: stm32: add pin map for CAN controller on stm32f4 Date: Mon, 9 Jan 2023 19:23:54 +0100 Message-Id: <20230109182356.141849-5-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20230109182356.141849-1-dario.binacchi@amarulasolutions.com> References: <20230109182356.141849-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=keYgJ2y3; 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> --- (no changes since v3) 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(+)