Message ID | 20221017164231.4192699-5-dario.binacchi@amarulasolutions.com |
---|---|
State | New |
Headers | show
Return-Path: <linux-amarula+bncBCQ4XFG47UFRBGEMW2NAMGQECY5MMMQ@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 96A404147A for <linux-amarula@patchwork.amarulasolutions.com>; Mon, 17 Oct 2022 18:43:04 +0200 (CEST) Received: by mail-ed1-f71.google.com with SMTP id y14-20020a056402440e00b0044301c7ccd9sf9836754eda.19 for <linux-amarula@patchwork.amarulasolutions.com>; Mon, 17 Oct 2022 09:43:04 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1666024984; cv=pass; d=google.com; s=arc-20160816; b=WEir2j0cmnn1z66LUidy3BpK/d/5oBP4F4eSXJ34aCS48bi6jvRBSi15OsRe8oAmSP VIMRxiTOToUxIXSU0a9FdubcEQR/J+MMC673LeLE3QUmOOZrBPlRR1j5wDEKuR06cRZ5 95D9vDH5CtMOlVvWEh0lfNgsD0irNgynnPYSZpUe53+50wAFO58DcbmCn0Cc1qmwz4em SEP24xmEElCHejtuN3dhufC0kSHnYpHQkP3MTBKYoqT9tPyJ9G5t4pIB51dufevfOGBD OWrb93pECCLa40oSJqHRQchngvUfax8eU54bbcBaibj4xMlj7f85MqLvbi6OFUkPqH0f qK0Q== 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=R241sWd+SnDKrysA2N/kR1+Jlof0LEFN97x4LTLNt421KsseSFgQ23F0yaQctc+F1F t/MC/VEheEia4FKO6acwqZpfWY5DW/iMwjWRImUcVBawcao4frdM2Rt3rrm0N6r7i0wF htTYk9Jq/panPidh9+E1kDAOsOnhpIWL8XlW7JXcJeSj+d/kHLUGIlsnMYY9lGdhxM8a xX+47ptW1IO573IdFOvD9P726ijdCqLrRH8ROjp/y3M2YZQ07JeawBLTGTUVez2TdOnC HlAg9/Zs9YpGYrbYF8hyDorxU92TxDkhvG5Wlz52Jme2LLgIQUfjOb0A7jmD3mkBuyQX oFkQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=YuN4qQfo; 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=FDLHYyQQnam2EtLTEMTCZOKEGl9y0g6memAUd/RW7xjqtNJ8UDFGxEPbmpYUw93wc6 mOU/+37mDC9OHmRngj8eX04X0LaKX/kz+hWKf5hoAsgYDCm2br6mDVBlkHbZGrBGdTbb YhGTCerHYaEVzg/Fq2J4JqggMT8ZOysx1CpVY= 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=vObOdu5j30zfXguBRnEijaO5IOFLzmklCDwwH61mBremqC3VKQ2FTWBEgqnFf+EJm8 ssrepgg4OKf8pI9VJtWA4CHujUp0SerJ8zU4O6R6JXvVtOZjbZSTgc3LBwjP5rjRjXwZ Zar+HiljN1CHvvi3wwPYAypgyA+YWbVtz1llAnFLtjcjrKx/TjTdlAYr46siVxmELAXy b8Qzs2cDZKqIi07+IszAx3QWt/Vqz7XwooEB/OIrWFvjCt4Xshij6M7uGlSfA5TqmTDg IB1bh7/d7l8Xavr+jtGEnWQ8IFC7hSJVcxqWkzZycfLOvgs0VS4kWYx0VWprE/5enYva eZbA== X-Gm-Message-State: ACrzQf0eeta6kGYLG+WGByH8GBQV43KkWGxopa9RylzUjK9YGk3pqY7n EZZdoecgRE3xEdiGC6Dy61la5YZY X-Google-Smtp-Source: AMsMyM4h316B8kiCLvSKiKMl7f2T2+jxAcDVKk0DQKWgdKrKuSqzjs5u3QjFvnOHJGJYdv7a7GTJjg== X-Received: by 2002:a17:907:3e85:b0:73d:60cc:5d06 with SMTP id hs5-20020a1709073e8500b0073d60cc5d06mr9610633ejc.722.1666024984200; Mon, 17 Oct 2022 09:43:04 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:906:a050:b0:791:9801:e4e4 with SMTP id bg16-20020a170906a05000b007919801e4e4ls850637ejb.3.-pod-prod-gmail; Mon, 17 Oct 2022 09:43:03 -0700 (PDT) X-Received: by 2002:a17:907:868c:b0:78d:f741:7fa7 with SMTP id qa12-20020a170907868c00b0078df7417fa7mr9368798ejc.648.1666024983022; Mon, 17 Oct 2022 09:43:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666024983; cv=none; d=google.com; s=arc-20160816; b=aMD3YKKkW9coNVoTxXrTY6aAzmpjinln6/+EMY6LpDdqaf9k6s95LY7Ri78mxNl9/x BAUaxD+2Fp0s7bVT0LsAU2Vav+tz74LeboVRzj9xDFCEKUXBjNiSbtKeDBuPrwL6+tZg a45ITGas4bix8XAD8lwZaAKcO6adWBjgXEXIH836PDfoHFrn2mErPjXHYSTXCjof42/Q zBkH7ZgaFJMwK3Z4JcnZHnvzp6oF3ZtVUyOxsNC4XqIk+MjkvZGUCfPHD5bMkg3lEq/A 5Lx01D/EOBcuSzp4PEFKgyK+GgZQsEFvCkdGZ2SFtRgCH3Li5bW+FiBFVEK1g5Q8vq4/ JuOw== 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=rC265nphWu4Vbj2n2xpy56poQfk8rcRGjFFTuJjV6LMsH2lxtO9wIxflnkG5MqECyl BvV+W3mAUQ7inM7lo1SV9CgdrD7dsyLJXInRT7ixEA49Hu2bLlT55SmVxOo6zel6+AAY AyLoKXQlbR+CI6xpq3pwIgqJk0yJl50pGQYjFHL72Lku10OzNiYb/RXuJto2cYQhCvsC 4yiQtAzAkwPIsLmK+AUpFF75ulj5m67xn6y5qPY5oSSHZxN9VDmRf9ZUPZcFkIkKzAP3 9pnz5OzMT0czYL/3VRMCgcMKjV1EeGmoolySsmlAB+tlZ8MeFuDG+QPZx6nKP40z3kt0 C8yA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=YuN4qQfo; 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 lz4-20020a170906fb0400b00787f92c20a0sor3956537ejb.107.2022.10.17.09.43.02 for <linux-amarula@amarulasolutions.com> (Google Transport Security); Mon, 17 Oct 2022 09:43:03 -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:906:9bd8:b0:78d:85f9:36ae with SMTP id de24-20020a1709069bd800b0078d85f936aemr9452638ejc.342.1666024982791; Mon, 17 Oct 2022 09:43:02 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-95-244-101-110.retail.telecomitalia.it. [95.244.101.110]) by smtp.gmail.com with ESMTPSA id a24-20020a1709063a5800b0078128c89439sm6437388ejf.6.2022.10.17.09.43.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Oct 2022 09:43:02 -0700 (PDT) From: Dario Binacchi <dario.binacchi@amarulasolutions.com> To: linux-kernel@vger.kernel.org Cc: michael@amarulasolutions.com, Vincent Mailhol <mailhol.vincent@wanadoo.fr>, Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>, Rob Herring <robh@kernel.org>, Marc Kleine-Budde <mkl@pengutronix.de>, 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 v5 4/5] ARM: dts: stm32: add pin map for CAN controller on stm32f4 Date: Mon, 17 Oct 2022 18:42:30 +0200 Message-Id: <20221017164231.4192699-5-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20221017164231.4192699-1-dario.binacchi@amarulasolutions.com> References: <20221017164231.4192699-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=YuN4qQfo; 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(+)