Message ID | 20221113181322.1627084-5-dario.binacchi@amarulasolutions.com |
---|---|
State | New |
Headers | show
Return-Path: <linux-amarula+bncBCQ4XFG47UFRBUPHYSNQMGQEW5E7AMI@amarulasolutions.com> X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ed1-f72.google.com (mail-ed1-f72.google.com [209.85.208.72]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id BF8FA40F5A for <linux-amarula@patchwork.amarulasolutions.com>; Sun, 13 Nov 2022 19:13:37 +0100 (CET) Received: by mail-ed1-f72.google.com with SMTP id b13-20020a056402350d00b00464175c3f1esf6770091edd.11 for <linux-amarula@patchwork.amarulasolutions.com>; Sun, 13 Nov 2022 10:13:37 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1668363217; cv=pass; d=google.com; s=arc-20160816; b=By8grCXYcODqmkgGs/lOdo1k1t0QznPZkK5XeDUswCQ2LPVqoA8amlPXxTDlPvIFje zZVoKXlcLqdxbAdEdtMI8RgD+Mi6fy7pSkeTawZAB6GhaUFfPBB/e78KJ3pgo/Es/HL+ R6BB4FvHwRqmfmmDtMWUdPo8t0e6TkiAvqGMgHivezaHMZdmXpwcoTrw7Bq/y6jBW5P6 QSsMaPgjgPgvhA6DTXVHj5auqljK8xq8rLIuJHkWBGDLxtKcEvDT4dz5qropRP7f+U8F W0GfE+e7ohjQLxJspBLR1OJeeq+VQBgjW+nD/MxsESmyRebhq9swjmSdlu+B2oDOnlxM 1/og== 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=fCozPvSTtGwio1EUwv+ukyCjfo/uHntB7NoZhDuCBL8SvMb1XcQjEey6m4s2kpYMG+ bRXBoa5Z0CwuYnhw7yPRGmOqwTZF7DscFaV9wSdICcMSTkiissoMAuGbgX/mEEXI4xCs kzmgi64Tnwr5Gk0gf/eezEqOjrUiTSHozAztGTMUc4e19WSbd9pW+hnCgkvrWEn00E8J 3kebEGPfTnIaxGabtkTOZYdc188wDGdm/9peHqil1pA3yRxfV/x3iV6dEphlWnHOqMsj 9O3SIzUSvJDuzzSGoRdnKeH+Fa6n8GhEgs9dygKdGWEvJxmF/NVaZfQvenReFFttf1cX psNQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=BkL5YgTw; 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=WqewISg7Z59XlT0lqEngUnlz3kGMVLjQ4X+Pbmv/r5KfODcTvIOo0U4t5ZfbtTOtdq y8uf+yIObTJzWiiaOA5b0+ussqlg2RwSOGjOPFdC1mbKgIH6TtHo/Z4WnYOyjdk7ZbQt LWCrQZLsiKvUIydjd8mwQvFWmbGEVw1e5aDus= 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=XlmbfCPmo06I2WW+nJBzcftar/IOLSlkHHjNCO72tjrY9heHZl5Ln90jMuOBD/RGfM h/xnSI+25tHnMvdFfFJSzy19jmLWgh5ce0ed3g1dwuBhK7KlzyacuJibGhvzznveM8I6 4X5CSJlxpwkLJBgqwmM/wDXXM1LQ/L8hj+anj5i83WkDsGzMB72tiqpLuplw7Ak8RHNX 39snd+2dH1Jsb1yXV3isaIEQkHPj3TlKIfejcFeHMirtjDh3hvgNvU/uFts8SSXggNP5 +TuzXM3SLVygIjm7QhIti8X1sL9E+JK7b9N+tDMHVD3OzieyySlwir3WOVceZMnNEc0d hKbg== X-Gm-Message-State: ANoB5pmR8D4BFIDpJ1a48HEq4pXNO+ji71i8SrVU3I3ocNfYqo7VumkU 1hNwhAidbutsiDZU7tomXRahxc9p X-Google-Smtp-Source: AA0mqf7zbiE8vXmhH1MjNWsuB2z1r7pvYHGSZH+RFuvXJD7W0sZXtR0wK9JiVXlNwJeTqi7jr/ncJw== X-Received: by 2002:aa7:ce92:0:b0:467:c33e:edd6 with SMTP id y18-20020aa7ce92000000b00467c33eedd6mr2439512edv.146.1668363217545; Sun, 13 Nov 2022 10:13:37 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:907:204b:b0:7ad:9566:98a with SMTP id pg11-20020a170907204b00b007ad9566098als5000455ejb.7.-pod-prod-gmail; Sun, 13 Nov 2022 10:13:36 -0800 (PST) X-Received: by 2002:a17:906:1250:b0:7ad:d0e3:1f59 with SMTP id u16-20020a170906125000b007add0e31f59mr7914496eja.714.1668363216384; Sun, 13 Nov 2022 10:13:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668363216; cv=none; d=google.com; s=arc-20160816; b=LEIYqBFvJ26IK/oLHYRD5UQJ170gFet3km1adI9QmNBOBohRF/xRXVdHKo0hfgAUVT GiamnltF4wKPin2gDRERakQU4jQDasCdzphCLP36GSxuiJx+UlfJq1ycIgt7426qBUMU Ht39YPz7d0VR79OocKXJFOvINpJ/rPybLGbGygQQoVvPOZm6wt4u+YLrI+SgNd6QhRm5 6CtF509mOaXWg7LXiVVGrNtcq3Z5sqnCte2m5d32UkhirVpr8uKVyTmw8Vc9TNohXzBi XhJB3vVkxEPGEPERpt/v37CLxyU/IYY6os9XNtlxb7xrduvoV3no96GtyMm9+ZoV63x3 2rkg== 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=PnZR++JOs1noyfDM4nWeuGGtnWEyzX/iPwXb/M9ey35tDM9TtIBH9+ZVEJ59orlPQP H4JChasAW/rgLeYwAy5WVDf4ay8PLhedojP+XAAQ0plyDR7LPV7Uk2LKPTcApDDyxx2z KzMKGmhOn5L7rjMJb6kUcA2SeYB650snnr9Kq5QmsvV8rkOxipS3KaUsi3ODtFq/NFjy cjO2aRzyAKOr78fPvCsmeZ7U+hXTxVOi7oZXWztkDSCkdhn0fnaghFssJMfK8e7FXQ4L eNQe6JsRPK8+ZI+CKGxPkJROo/2Ubkiqq84s6OZMFhc5gdlL0Ilxfc9KlfRSRtRjB/wJ yLJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=BkL5YgTw; 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 u20-20020a1709067d1400b00781bec16c7esor2967610ejo.84.2022.11.13.10.13.36 for <linux-amarula@amarulasolutions.com> (Google Transport Security); Sun, 13 Nov 2022 10:13:36 -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:d608:b0:7ad:934e:d542 with SMTP id wd8-20020a170907d60800b007ad934ed542mr8894284ejc.20.1668363216162; Sun, 13 Nov 2022 10:13:36 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-79-40-103-33.business.telecomitalia.it. [79.40.103.33]) by smtp.gmail.com with ESMTPSA id iy6-20020a170907818600b0078de26f66b9sm3225487ejc.114.2022.11.13.10.13.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 13 Nov 2022 10:13:35 -0800 (PST) From: Dario Binacchi <dario.binacchi@amarulasolutions.com> To: linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>, Marc Kleine-Budde <mkl@pengutronix.de>, Rob Herring <robh@kernel.org>, Amarula patchwork <linux-amarula@amarulasolutions.com>, michael@amarulasolutions.com, Vincent Mailhol <mailhol.vincent@wanadoo.fr>, 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: [RESEND RFC PATCH v5 4/5] ARM: dts: stm32: add pin map for CAN controller on stm32f4 Date: Sun, 13 Nov 2022 19:13:21 +0100 Message-Id: <20221113181322.1627084-5-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20221113181322.1627084-1-dario.binacchi@amarulasolutions.com> References: <20221113181322.1627084-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=BkL5YgTw; 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(+)