Message ID | 20220925175209.1528960-5-dario.binacchi@amarulasolutions.com |
---|---|
State | New |
Headers | show
Return-Path: <linux-amarula+bncBCQ4XFG47UFRBV5KYKMQMGQE6WS7PPI@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 255D83F265 for <linux-amarula@patchwork.amarulasolutions.com>; Sun, 25 Sep 2022 19:52:24 +0200 (CEST) Received: by mail-ed1-f69.google.com with SMTP id m3-20020a056402430300b004512f6268dbsf3753963edc.23 for <linux-amarula@patchwork.amarulasolutions.com>; Sun, 25 Sep 2022 10:52:24 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1664128344; cv=pass; d=google.com; s=arc-20160816; b=QO048uu5Rq+IapZ9t4N69wbmgpq4KMyeDlnkcXldIpmSUSi8zc8Jjgg1iXpbzwILaI CTamKSzQk3R8uT1Sp/67B+f6HypfamPpLIMZgb/SwKXj/flTYWn3u6DYBpEo4P38ETqG H7EYVXFdtGnYBol4vOOPKp/cttyLhOCG2/QZMBJ4SD0aEOL9n6vcGFyITdt8mqUy5zwo eJjV6XUgxl+XyS/QJ5a89oDka1Jl0YMozojJEqSz+pxlNZnWmqB7c5p+UXLOZWUSSKX2 SrRJFz9QkZFsunHmFQJlUrhsH3M2NncWngUZloKem0qhg/IDHFjPc5fvEOWIEY1udA5v e/gQ== 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=SKPoY7b8vlSmEAMycwMsTyFxN42Ydmjei72lzhwlnp8tkLLHXooVamPSDyeMx9tWWn pVNt9jKAgePEYCKyPX7Eno+nLWG4WMOD+OvVZo6mkM/3ENnUeXx3d9wxpOtcWOxlmsT5 lT5lH5fowlhKJ/LwrK0pDWP8FYh9j2YdNc3s9GHtYb4BTcZhp6Tfx0cPDOTCwdDLFZ0u 5JSnr2YcQJhUXolwsVIe3F02QgxnCDMddyjlGadgNG/Vx8449F8WXpu6ves9RQr+BnbW mXafGL4uk0k3RWFGyJwJ8N8JmKlmvHOm2yeqhyDoUO8AnvyzMufMaEfAlWg5XZkdf0Kb 6Yxg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=HnihT0YS; 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; bh=WPZFPC0LIg+Ui+XDjcph7phwAslDEQjxg+3LEBtUn+g=; b=jMn82hN1Z+gHuJZIghtO44tbCVonOGwF89WtNrrpMEL8WysBI62mn0/U0ufxK36FU/ j+mTVWknNnHMzDLe3KH00lmb89vqEcttynzQKArsBQJczXsmS81i8jIoGe26tPWPUzhZ DuB5nK+NC5c29NCnLrmvbGbGwlIXyMs4GMKOc= 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; bh=WPZFPC0LIg+Ui+XDjcph7phwAslDEQjxg+3LEBtUn+g=; b=Rxsb9L1e4+9RuIPja/nXl5B0NWHgXmg1jRhN8/+oPp2Yf8hjjbwaxVbrITk27MmMko cEgorp5H9fyzNp7h0cl/L+jCrWp4AnjdH2DSWysRG3cwQFAed8FVEkVvdGyypKc1ege1 3OoT9SbapfBjPEx3EWrS992eDn3qTvI6Vj5jhQEs5kiMe3KL5Vyi84eMyVDY5OMIwbCK /DBD7T69m5+nDek6DXCLOcBMVyOksMADoKnxO5M/d0LgAfRF76r8o/AWbbTbUXDElCeL RWZn5oWsJQejK1QPRXgKPF8mlro6Q5nwegC8QbvqoDGo2OoCE7gLMtB4E4kG8mszDBj+ PeWA== X-Gm-Message-State: ACrzQf1o37dFVYTz9eN9n43RkG0/SsyB41udVf4229JkNc6rmYJDQ2GL cuo25PD6pi7xAm7KlLIn6WcAxMxZ X-Google-Smtp-Source: AMsMyM476QYeKlYkInu6jMJ7Jofl5e7kbPyZSXvS1RcmF7mGjeXMoyCuIHeeTbxDKD/MB6yAiR2Y9A== X-Received: by 2002:a17:907:2c74:b0:77d:5a0e:bb8f with SMTP id ib20-20020a1709072c7400b0077d5a0ebb8fmr14502155ejc.579.1664128343903; Sun, 25 Sep 2022 10:52:23 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:520a:b0:448:77f2:6859 with SMTP id s10-20020a056402520a00b0044877f26859ls11799170edd.3.-pod-prod-gmail; Sun, 25 Sep 2022 10:52:22 -0700 (PDT) X-Received: by 2002:aa7:c78e:0:b0:456:c524:90ec with SMTP id n14-20020aa7c78e000000b00456c52490ecmr13069963eds.192.1664128342775; Sun, 25 Sep 2022 10:52:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664128342; cv=none; d=google.com; s=arc-20160816; b=gnaOr5+/Z4hboJ4TQYzqDSDkVnd+6T6tWtWWif++fa5ev9N98Wy5drAhSPwo+c5GHz hVppLmG2Y4yVIm4xanlN/VlbWyUCQFDuNL5gxxeIeQEdZLx+gKY7BOTPeWTFXcw0EMAQ ITyqKiIQW07ARHWKRaiTQYgv4+UQ+tn8t4nhN7Z2kBvftK4dXuy48C5//ZkE0TZ+pFBi 5JTQDmbbmHqL1Sw4QL8eFtJn1fSqeeiUN3+FtXyNIDAsROWVuswIE2FbWhDinIxObj5G um115rKRC7SJKpWL2demxLUpFlLM+vhMD56P3uU72WvcHcqYjjUQzl08NHR3Cmed1ByG VVNA== 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=pI+51JjELZHlTOZoQGBpoddZTkSaQlQRh90pfd9WwyXm/z1ASJi49i5tZNS1QFovH3 uADxjGNldCLjuw6veTEizjEox9BLJWpIRHgM6LeumgDO9HCfklO23sx/9eKXGz1bHfUj /PmgSq8QsZnK46ZFFrAEZU5F5PIVXvQWEpiDzpOzJv1XZFm+DCos+aMfsFxOp0+0X6zX B7kWtv31oK1vNWa1xq6XtvAeet8q6beATLlQqng+Lknu/JQUMaHaaJ8cIpDGrHksvliS 8PHUXBvM94VAZcCBmffG8OPIN+qRkZHT8ADXKJhptaTu8R3W2KD2fZZ0X9NnjiHRCIY+ XcDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=HnihT0YS; 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 k12-20020a170906578c00b0073c0da97357sor5725118ejq.121.2022.09.25.10.52.22 for <linux-amarula@amarulasolutions.com> (Google Transport Security); Sun, 25 Sep 2022 10:52:22 -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:a17:907:2d09:b0:781:d793:f51e with SMTP id gs9-20020a1709072d0900b00781d793f51emr15050921ejc.628.1664128342518; Sun, 25 Sep 2022 10:52:22 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-95-232-92-192.retail.telecomitalia.it. [95.232.92.192]) by smtp.gmail.com with ESMTPSA id f23-20020a056402161700b0045703d699b9sm3252594edv.78.2022.09.25.10.52.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Sep 2022 10:52:22 -0700 (PDT) From: Dario Binacchi <dario.binacchi@amarulasolutions.com> To: linux-kernel@vger.kernel.org Cc: Rob Herring <robh@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>, Marc Kleine-Budde <mkl@pengutronix.de>, Vincent Mailhol <mailhol.vincent@wanadoo.fr>, michael@amarulasolutions.com, Amarula patchwork <linux-amarula@amarulasolutions.com>, Alexandre Torgue <alexandre.torgue@foss.st.com>, 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 v4 4/5] ARM: dts: stm32: add pin map for CAN controller on stm32f4 Date: Sun, 25 Sep 2022 19:52:08 +0200 Message-Id: <20220925175209.1528960-5-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220925175209.1528960-1-dario.binacchi@amarulasolutions.com> References: <20220925175209.1528960-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=HnihT0YS; 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(+)