Message ID | 20230328073328.3949796-5-dario.binacchi@amarulasolutions.com |
---|---|
State | New |
Headers | show
Return-Path: <linux-amarula+bncBCQ4XFG47UFRBX5QRKQQMGQEYDCPJVI@amarulasolutions.com> X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.70]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id DEEFD414B4 for <linux-amarula@patchwork.amarulasolutions.com>; Tue, 28 Mar 2023 09:33:51 +0200 (CEST) Received: by mail-ed1-f70.google.com with SMTP id t14-20020a056402240e00b004fb36e6d670sf16088413eda.5 for <linux-amarula@patchwork.amarulasolutions.com>; Tue, 28 Mar 2023 00:33:51 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1679988831; cv=pass; d=google.com; s=arc-20160816; b=JO5cnjtsy/SWCVwQKBIW/ewzHbVgK6i2Y/HKi7BEUClUkQt6N+XVEr3E9B/LH7ZN2+ iMVWzK9dvlBjH+BubnNPXeQazTBJ0f2JFm9pau2Bvy5yzlkRvHqQLtL0KY7YShrQ3J8r Nu5dDT8/arrjQxMUJiOgqAN8prBjZOqTSYxTz4FELnHcYQj1dpZqQrZk4Ul4s0ecQRdw tGI9hZmJxrq9FECLRuLRpIktqre2XAHIS3EiKkH+g0U8ZzE6j2Dt38zVnjKG5k8VzXrE J20pgBRrjN+3JRKkLBdewlt71ZmJK/yyyzxgt5zsPKTULWtdQHtLdzh9P7VprKaWjiEt E3NQ== 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=LAUerJSgMcyPqbZnmX0orMUIi1FkmooZzJB4uDb+H0ir4sr6StIh0j2Z1A+3pLOE5X IG8GHvOoYS5O3ibCEW9zJiN6/de6Vi4C3GzZ5D0d/6hFpQnnSGGr18Qsk3ZbLEdaYE36 o4/XXEZj/PE+cJ7jQcodPiV3YwKWgI/YfVM8NqRxQ/ph4UN2XYQ5tkj6ZVuXNpv8lq/t U8PDbvSl+7zDxQQwYR93/Xteyxlmgl4L/6RW7MdbW3xzIs13O8lUc98cQSMBYBrqEdMu JMgIMgyer9VSEOsrW91VyLFVXy7jUGjMgXYUwzWbZNrbLqqvuPmiO3Wm2bCxaStQgYc5 ZJyA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="fInw/jj9"; 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=1679988831; 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=DJPLoKdDfpOmnNmHtXtPon/fWJ30+/G5bG496cKq7YROeAzXxejvtv7j6GEJ3KhKcA rp2+h14lRj1Y78hHthdzgDQ0Xin7Ym6S/PX/x/hRlYBIyyJWV314Az7/nVNgfm4Hg0Ll lD1wnouVMlW3GUsYMty9LWSooHSlInml3hIqI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679988831; 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=zwC7iqjNUuoQ8xTNPdLTIqPya47DHRT/nSwSxqRv7yf1lI1BAnurL90LLgvVfco2pc nwofAS45kdD86cW5CZ4na+WfHTTgm/wBrvSNUnOZpYz05lbgcyJcpicjvMBuM0fAI0Gp Y1JjO+AiwXAAw4cb5uM+uGJWZLhZ+aW2xXhZu0VU/XqIrBMO7ovs1u0T1RYtXW7eb9Kj YYow4dBjCzgJ1SoOFymXdo43FduLwQB4gz3qPh6HkH2I2l9uHGtEPVj4aXDYfeYdPiY/ fx+vQ9IJEZkm1ObxSAc52wKphpuE88oCrWyE2w1PQiQOai2zQxaklPvG654c6me+jAL1 ffEA== X-Gm-Message-State: AAQBX9esgIgdLGhDdUvK/0H+a/J4VpNZa2hQXqCqkESMADLeE2cXcaHE eNucnqzO3o4v1CPmV1SIO8Gin8In2hRkV/dR X-Google-Smtp-Source: AKy350YtwMXv3m0/p0fntDynhl5PUbIo3iLH7wN3XN1Gm6U0O5DmPy2/DjTa5qqT64pOfuHvcmEesg== X-Received: by 2002:a50:9f4e:0:b0:4c2:1a44:642e with SMTP id b72-20020a509f4e000000b004c21a44642emr7295684edf.5.1679988831489; Tue, 28 Mar 2023 00:33:51 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:4499:b0:502:26b1:64e0 with SMTP id er25-20020a056402449900b0050226b164e0ls2844049edb.1.-pod-prod-gmail; Tue, 28 Mar 2023 00:33:50 -0700 (PDT) X-Received: by 2002:aa7:c906:0:b0:4fd:2aac:d480 with SMTP id b6-20020aa7c906000000b004fd2aacd480mr16786672edt.21.1679988829802; Tue, 28 Mar 2023 00:33:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679988829; cv=none; d=google.com; s=arc-20160816; b=CY7GPk9tqTjRfWSTKmbg5DpRXsKH6SZ6OEz9gOQWh6bPpS166DiyAm8/Xu1e0MN4a8 1d0WOUz/kW3S9vncqTJf5ETSV05DiU7xEyGpez67J/xgqbtsn87kFbUF4nXk/+sQs9Tc jYryzN3a9h6Ta/W42/lfU7gm5NcLoTTiFn0JCFQdImdxiNkyaZDYHFA7BLn7H9RmTaMG bnj1UGuX37BtWE4lC6lkH7ON/GkiIgFmpkuB8rFW5B9eCI1pTMkH2wCwH8JBu3OvfK8n DIeUKxPMj1bl0osyW6npAEEFfdHxIeYrzHN5cTEMAAXRC60U4a13IcWVTZIGEZTlr6J2 bmwQ== 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=yRswC36H5cdMZQpC5WIefKiLYKrLtSRy3djmS29PYiGutGsPGq1pG7T08XMu0Wa5+l jT+Dgk/iqpj2zEEkHCpfGl2EDrIWLIDfkJluey0EDpV7GH+5irqnP1brEty03EaUydeE v1BHfNVtGS3wtSZ5AeTVhQx33J7SY5odnhKzKm4BuM90SFJmd52NZf0pkBB59vFGiqIw CGzsHr/tGE1ptYRZcgbFlrE3yD68sviAJmz32ltCadIFIZnwiWymJC7pZQavS/dGd8xz qQ/YKiEc7dfa2HoR5Zfb/R5vCcapyAuEWfWazbcv5zoyNp7YNJI4ZuVCeXEEOayllzKQ 4Fkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="fInw/jj9"; 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 r12-20020a50aacc000000b005021d27bc18sor5364023edc.26.2023.03.28.00.33.49 for <linux-amarula@amarulasolutions.com> (Google Transport Security); Tue, 28 Mar 2023 00:33:49 -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:aa7:db92:0:b0:4fd:2346:7225 with SMTP id u18-20020aa7db92000000b004fd23467225mr15202535edt.34.1679988829563; Tue, 28 Mar 2023 00:33:49 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-87-0-102-254.retail.telecomitalia.it. [87.0.102.254]) by smtp.gmail.com with ESMTPSA id 15-20020a508e4f000000b004fa99a22c3bsm15478850edx.61.2023.03.28.00.33.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Mar 2023 00:33:49 -0700 (PDT) From: Dario Binacchi <dario.binacchi@amarulasolutions.com> To: linux-kernel@vger.kernel.org Cc: Vincent Mailhol <mailhol.vincent@wanadoo.fr>, Rob Herring <robh@kernel.org>, Amarula patchwork <linux-amarula@amarulasolutions.com>, michael@amarulasolutions.com, Marc Kleine-Budde <mkl@pengutronix.de>, Alexandre Torgue <alexandre.torgue@foss.st.com>, Krzysztof Kozlowski <krzysztof.kozlowski@linaro.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 v10 4/5] ARM: dts: stm32: add pin map for CAN controller on stm32f4 Date: Tue, 28 Mar 2023 09:33:27 +0200 Message-Id: <20230328073328.3949796-5-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20230328073328.3949796-1-dario.binacchi@amarulasolutions.com> References: <20230328073328.3949796-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="fInw/jj9"; 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(+)