Message ID | 20230315211040.2455855-5-dario.binacchi@amarulasolutions.com |
---|---|
State | New |
Headers | show
Return-Path: <linux-amarula+bncBCQ4XFG47UFRB27IZCQAMGQEGO4ORCY@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 910C444C06 for <linux-amarula@patchwork.amarulasolutions.com>; Wed, 15 Mar 2023 22:11:08 +0100 (CET) Received: by mail-ed1-f69.google.com with SMTP id t14-20020a056402240e00b004fb36e6d670sf16704710eda.5 for <linux-amarula@patchwork.amarulasolutions.com>; Wed, 15 Mar 2023 14:11:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1678914668; cv=pass; d=google.com; s=arc-20160816; b=ORUJfZLKC7ZexZhVb5wToguEavbejlNF2qlyEUlAP1+qfT2qG0wt0pV7eKyaaOiCv8 CrCuJIaMNAfoG0NzKZWuvA//p+TakW6j5Io/9Uk8fAmtHfnd+pK+7edFAQmpd0wY7eDk hrmZIrkBhsc51hK9oBTHSiKsmHP9UhywHXoK3wBaW4XrOP2tRR1vDtkjYdhGg/p+L422 CvRKQnA0e347RcPYYW0cJwAx+j4zot4d7BDiilHRY/PpEZqLpty2ixVCdnPm5JkEsx/b IENZTp0FBpYdHxWxY7WA7U/Z7lFC8tO7TtPlIl6SwSzz6WUhb2qRpjJhRUbC5LPCCdYV GKNg== 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=SfdrfT03OSwzGLgYfJRpTJI75xsr8u1PQr9DsxijOMI=; b=tTOrKU6i5W3nOpcGaXP/7pAAEELxHyiNZ9xZ4Zq0jGRKt97DhwQ3h8wpUqOaACYuUd yjuhk3BmkQxw9sznlhBl4bKKLhge1QwxeITx0ZPCPAfJpvi6uxtclva/QtpoxZvsDUg/ pnA6hqo5M9RZiyE7qw9M/LJroMKouOtmsbnwodFNwJJVoj1G8c7FpntG2Fd/sdZQX8Yy y+Me6+3uDpdcF5W2412ClNUR+EGb4TUW37DAt7xEcc4jL6Uwvnl1XSt93+QP0Tkdyyyt skaKZwhtD/GYCAhqau+g7XHYQ3Od/UcgdYywKGCMdfXQUA8XC9Pi/B60oyOfdBwIXCdc wcyg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=ohOAJfTr; 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; t=1678914668; 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=SfdrfT03OSwzGLgYfJRpTJI75xsr8u1PQr9DsxijOMI=; b=S1pzylaubbWEWG5zfpaylCiAxaahyF5PeRi5qlet8/uMiTd8y5dxm13uoU6ptFnf0C LOc6yVWqmuPTIIZpu9zYQID36Jt82NAsOp9jkRAAxG3ouUqor/W1EfDCMs/l7+Dv+jDP W4hXVBdc73tptyVrIL2gE/8GG+43gn3YDbZVE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678914668; 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=SfdrfT03OSwzGLgYfJRpTJI75xsr8u1PQr9DsxijOMI=; b=FuLdynftidbqfyjcwYf+uipW2IoVagT4cZfuTYMRVPjb6CRJJbHJtF50NsY2C1oQ77 2EcKGQyxNSufCIwEZaRr5Rv7SlJkwE95zSFw9X2zlIlzpVlm7P52N+v9y9vicf1Vumck xA2Av749DhaFqvrRyqWKq7/yi+FtHlw0240mXyblN9AtIdW4cPakd+o/blo6uzl2vNBO Qq7HvVr3fxATZHEvVQulhrnY9DhSHC5mCIjKBr+DEEX3E6k4jyDeqSJuY0QSPundE+lY nZgSXmS4udprmW2iQRfTJ08WIBRpuNDbCtGY5BFFZKgP0ASZUpOrVPt2cJ+iUbxNsRTC Z6EQ== X-Gm-Message-State: AO0yUKXM7Y9DqNqwNlxtL4woO/w36KqFGfaxF2FmlA+ay2imxWS35kw4 NpunBVugggUkgXZjzLM6yaTncMKC X-Google-Smtp-Source: AK7set95evz0kcXuCPewTAa3tdBIkKNAxG3aCeuc7zD1040d51RrSEZt6BWw62qOHCekalquox+M/w== X-Received: by 2002:a17:906:b319:b0:8e3:da0f:f3ea with SMTP id n25-20020a170906b31900b008e3da0ff3eamr3985480ejz.7.1678914668030; Wed, 15 Mar 2023 14:11:08 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:906:e081:b0:8b1:3554:9966 with SMTP id gh1-20020a170906e08100b008b135549966ls13466289ejb.2.-pod-prod-gmail; Wed, 15 Mar 2023 14:11:06 -0700 (PDT) X-Received: by 2002:a17:906:2603:b0:8b2:8876:6a3c with SMTP id h3-20020a170906260300b008b288766a3cmr8869772ejc.29.1678914666427; Wed, 15 Mar 2023 14:11:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678914666; cv=none; d=google.com; s=arc-20160816; b=lqcJsrSqjrXtUCyrZJFZ2OarWKyOdJtAg21uQyG1Eu5TwlCepArz3l1VSDbJqpo+Uj 6tDnqb1LLxxUgna3xSU+/krP6dJa08OrNHKAgMG1OYA/JY8gCWSlbuHF0krSCWtR1RZR vNJUL3yOnyz3M6HtKv7OeP279oQiY3zpcUeU4baP0xPB7st7PI4qc9VQ3/G3O8HeYce/ CB6VPAEFK48j9Dut7JbQJtSZDeXPQX2gFCpfk7VPjpdh3IINA8mAUqf69j6jIwjLGdvY HM49bZS3DkrdQmGMrbH+jnDr7lWCQIHD4LBh/owwLvpmHloRTHuDQoAR0T4Xlub2CXfp w6FA== 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=QV3iGa8KiUlr1LClhXl1D1BGw0maVF3hcUmABXx2qKM=; b=j1LWeZJuJjh/W7B6mvT40DCKJFuPAqWCcqA2ln45JVa0gy7vO9RndkdDPlGlMhKfJU mXzlxVacVujaVp6GNO+au/+ehDcHFlRUVkUPJKtHgA1dedwzxcmHlvqKfYyAHjWSQaNA ze4/pgCBvHaiPRQPJj6w/PHaCWstWUybbRuSaGa1kV1006PnbsfQdLU8LT1POpME/Qbo bYNlwJCAQE3X1IiVsber9boQQZCLYfV4TSeYDwg4Tozt2R98HTCqAryvxdYEUBOhM4Yw xrA2RpYyGju4sB76HOkBmAmu+WXblxbNXwc4Tz34QHL+BfS8TBbjlR95VQnZa9DFaUFK GuTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=ohOAJfTr; 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 jx10-20020a170907760a00b0092094edfa84sor4407033ejc.90.2023.03.15.14.11.06 for <linux-amarula@amarulasolutions.com> (Google Transport Security); Wed, 15 Mar 2023 14:11:06 -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:b021:b0:92f:b8d0:746c with SMTP id fu33-20020a170907b02100b0092fb8d0746cmr1467931ejc.20.1678914666235; Wed, 15 Mar 2023 14:11:06 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-87-0-96-89.retail.telecomitalia.it. [87.0.96.89]) by smtp.gmail.com with ESMTPSA id o15-20020a170906600f00b0092b5384d6desm2965366ejj.153.2023.03.15.14.11.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Mar 2023 14:11:06 -0700 (PDT) From: Dario Binacchi <dario.binacchi@amarulasolutions.com> To: linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>, Amarula patchwork <linux-amarula@amarulasolutions.com>, Vincent Mailhol <mailhol.vincent@wanadoo.fr>, Alexandre Torgue <alexandre.torgue@foss.st.com>, michael@amarulasolutions.com, Rob Herring <robh@kernel.org>, Marc Kleine-Budde <mkl@pengutronix.de>, 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: [RESEND PATCH v7 4/5] ARM: dts: stm32: add pin map for CAN controller on stm32f4 Date: Wed, 15 Mar 2023 22:10:39 +0100 Message-Id: <20230315211040.2455855-5-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20230315211040.2455855-1-dario.binacchi@amarulasolutions.com> References: <20230315211040.2455855-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=ohOAJfTr; 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 4523c63475e4..3bb812d6399e 100644 --- a/arch/arm/boot/dts/stm32f4-pinctrl.dtsi +++ b/arch/arm/boot/dts/stm32f4-pinctrl.dtsi @@ -447,6 +447,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(+)