Message ID | 20230116175152.2839455-5-dario.binacchi@amarulasolutions.com |
---|---|
State | New |
Headers | show
Return-Path: <linux-amarula+bncBCQ4XFG47UFRBTE5S2PAMGQE7TSTPVI@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 24B503F1F4 for <linux-amarula@patchwork.amarulasolutions.com>; Mon, 16 Jan 2023 18:52:13 +0100 (CET) Received: by mail-ed1-f71.google.com with SMTP id m9-20020a056402430900b0049ca14dc2aasf5971769edc.16 for <linux-amarula@patchwork.amarulasolutions.com>; Mon, 16 Jan 2023 09:52:13 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1673891533; cv=pass; d=google.com; s=arc-20160816; b=0nJAwdvzRqQQ9iYCMfMdyd8jVD/LcCWXJ1PnNzzJbTCF/2ISbnY9yihXz/M1519bv5 RXJTFltAq8wXhlfW2c2jhM/LR/JMEdnVhUPKTC9/EfFgi2dAB5D2YWngFR4KnQMjZu1x y2u7I+4T87DvCCakvT16U92rjxMRITk3UsPOjSUnDUDLdqhd1vDgeMjxJrOuvkFYeB57 yhyx2X9LCyqqNVzfM5YuYv6aKQmSJMpHdBNEBVQ7BgU3GCAuGscUjLhMaSKp0WEv78qv t4duQMkEc5oBolzBq4Hh0kdqZM/9DZZe7pCn6G9jx1ArY9EAaIHP5Ox1zcjMjTTyEQ1x tjmg== 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=Qpyc7qZIQMzHIXR8clISyuE3kPcuk6uL0Sd9sUNK/cTJSwAqN32OqzuRete+clg1vH UlUWMu53fQQ1VRoIyp/fQCaCTEABHjFYhwlWOEcVNhUvqGeui2Nd7ewEqxKxL2v+O5jy uClOfligXZBa6L4TUU+twigmMDxvcEPKS2hPokUO85CHOjgQP9KrnTWUcRAimA8qtw05 /B3uigxXwU03b5m6pzbs6AGsKjbm1hS2lGEvRdm78X3hokwzdVbKJLofFGvp4QGzsceG NdY0LthErd6sxYAy9kcOYEg3Oms6KhlQxe4pgI9Xa/wyqFpBhickKZURkcj6NmA0iO43 no2A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=CiZDRrup; 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=QCayXRyWSqekHWJYcRCTCa4s7WhEBRRA6Re/qVBJZN89yRD8SfHMz35tmwYVHIK2G1 kpAuMZ4crHLx61RZWDKW16zrezbBs8hD6zzdTFr401QAbZccVQVYr0+pLTidQeYXTOn8 nlBTV05+8QVO3b4JCnIjs6phf+XjIiGa/HwJE= 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=xqlTlMvpuFhoVhmD2gf5XcAUIxdZPDSfyillD+pZ8BPKJY+RnMLmH2qDyL+EiBUuk3 YHcfRm6O2/yU0D1HBCy5Sp2F32GKmhLMyEXr8xxrT1j6gJ7XH8TgM+ZNTI5EmqOu//aN KSn9Rg4E9t4KnKySXw1RgFK2aO3VbKz0AEIMnQw4cyhRdBsrf+vnFQ3fwbr+RaRqfUHM Wq69Y7ZzaJqIcdHU6UV0sHLWMQj+rFM62feUXn2XkhBrf9KndTMgxv8RSnIBc0C41eLC 9fO8vyiBy/2C+UUF/vQShy/aTcL8QkH8jK2RDcY1r026cHJfIZ98dBWYvZGTjtvQePsd iBpQ== X-Gm-Message-State: AFqh2krqBZr8R6Dw6s9RcE7utOfni8P/W85yoCcFWA/uAYdSrqVC8QVL R1oACUYPeoADS//X7K+UtOtECrVM X-Google-Smtp-Source: AMrXdXvPCbVfK1M0thQ7GdCaXicGry1j/Nup4ul3sYmp57rKpYeCYOTa15vxIyzljF6B6jPrL3vnHA== X-Received: by 2002:a17:906:a446:b0:86f:7ec7:8e7d with SMTP id cb6-20020a170906a44600b0086f7ec78e7dmr490318ejb.378.1673891532976; Mon, 16 Jan 2023 09:52:12 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:26cd:b0:45c:bfd9:fb45 with SMTP id x13-20020a05640226cd00b0045cbfd9fb45ls1114924edd.3.-pod-prod-gmail; Mon, 16 Jan 2023 09:52:11 -0800 (PST) X-Received: by 2002:a05:6402:4025:b0:49b:67c3:39ae with SMTP id d37-20020a056402402500b0049b67c339aemr75641eda.33.1673891531649; Mon, 16 Jan 2023 09:52:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673891531; cv=none; d=google.com; s=arc-20160816; b=N2GQBJMvgeEZWG2nCUiJ8qBttvQxGOoNzxToBJhB+7Y5LRmhDzUEQZorslJ6Alnby7 fyW2amD+PtR0Q93oLUYFjwgAqHuw8v1+8vesMLRm+K7I1W5qRO9Xu2A+MBgV0wxNVSqk 2Lt2TRfeONAuS94JgwvW9Tbt5z4ehZrg6Hn3p05dPyWLZcn+lNGPw25bKQ8H56Mekuri /VhkMoj2wiPgXmhcuxCkcC8HSWDNPykU/WjJM3DL9YGR41OxKqmmqRtGcR5WWgJIBmLC wyoLROdiFpw9i2jD4b1LD6PxgEPkFRlPg2WH3YBSvYqB3hak9l0CJ17/d/Ny7+BRv0oq Zb0w== 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=1EGero++fFteFXZDo5jXuxm1AH8gbFEnSn+Grn5uZc2QoBUT6o+MtaJ2NfloKh6Eu5 h2XzKwsGcwppja7mrftv/X2NIJ6RRjAZcsTGzkTHpwZDiMvtjR8jjKYuA6rECNCHwl9j e9MxtUGhigj/Qx0Gbs2kh8/YDD/wFzHGmN0vlU2QmevdqK3BxOMLdIpe0WyVH+pji7P8 K/GSSfh/TfN4+ICiz+9fKrjwrc7eo0C5Ls5KoBSFtin9AVI8qWOKfSoJhrH+Pyi8dB3a JHRahrlaX2paCZz0xYzCrLeworc8BGH2kp8viUs17s02W4fDrX2K8QBj/Tv3Zlnp4MUv 23xg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=CiZDRrup; 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 b4-20020a170906708400b0084d1b7432b8sor13788522ejk.96.2023.01.16.09.52.11 for <linux-amarula@amarulasolutions.com> (Google Transport Security); Mon, 16 Jan 2023 09:52:11 -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:906:1dcd:b0:84c:c121:dc53 with SMTP id v13-20020a1709061dcd00b0084cc121dc53mr46331606ejh.34.1673891531473; Mon, 16 Jan 2023 09:52:11 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.. (mob-5-90-75-145.net.vodafone.it. [5.90.75.145]) by smtp.gmail.com with ESMTPSA id fd7-20020a056402388700b00483dd234ac6sm11490723edb.96.2023.01.16.09.52.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Jan 2023 09:52:11 -0800 (PST) From: Dario Binacchi <dario.binacchi@amarulasolutions.com> To: linux-kernel@vger.kernel.org Cc: Vincent Mailhol <mailhol.vincent@wanadoo.fr>, Amarula patchwork <linux-amarula@amarulasolutions.com>, Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>, michael@amarulasolutions.com, Rob Herring <robh@kernel.org>, Alexandre Torgue <alexandre.torgue@foss.st.com>, 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: [PATCH v7 4/5] ARM: dts: stm32: add pin map for CAN controller on stm32f4 Date: Mon, 16 Jan 2023 18:51:51 +0100 Message-Id: <20230116175152.2839455-5-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20230116175152.2839455-1-dario.binacchi@amarulasolutions.com> References: <20230116175152.2839455-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=CiZDRrup; 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(+)