From patchwork Mon Mar 27 20:16:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 2813 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-il1-f197.google.com (mail-il1-f197.google.com [209.85.166.197]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 439524147B for ; Mon, 27 Mar 2023 22:17:02 +0200 (CEST) Received: by mail-il1-f197.google.com with SMTP id d3-20020a056e02050300b00317999dcfb1sf6656787ils.4 for ; Mon, 27 Mar 2023 13:17:02 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1679948222; cv=pass; d=google.com; s=arc-20160816; b=YwXDnoTe9UA5yBlUOPi/8CyGZOIBMxevbkELPEBpQoSQyw/LfqOAugJcpYLI5GO0Z0 zFeGnqLhWOWObv3pSglu/VwcN/Tosn2irLKQkoa3CXOtzDW/3vVu4/+I+Vf7Cx7SdsNy qQPqUh2aNwQGYLxM036B7XOSuLIKj/ifJusxfdLTC5oEaujki0Luo4WkzoQUI3WY+Aub xeguznq23rH6okw88WulVnA5kuPCYK62HXXMQUNVk04z3gFPr1gSVv6K/1pa92Jp558U wGZxkGQOX17ei0+31fIkhjKGPWxAlrLXjC7NdEgkGX4V7k4NOgA/YuJvfRgoFCx1Ve/k 2q1w== 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=wkRsn5Rh3Qcd6kBHY1r0Cml/FHorqDA//FcIlAkdhLTuYJnMSiVFeCH3lg3XTg6kiE g2CEfINimg2q9YD+J+MR+AMSJDWoIs9SWgGV8/U/i9TXVexYZAoJ7dMltLlZ1VQ2Vbkj MX7OnibSAZ2gVoa787dwxTF6clWoionzG1aGEzzXTckLt8jL4wiGboRr4YFTW87nfrpy cz2NxUxbHL1SLbOAs5Wzlpk5RsvEknVY15LjZFlbKSIqifTU3XY9RDQmNvmZ1jAT3oJf kHDL0carRz+l2xveBjEYncqVogW3F8Yu4ywRcu+IANidR2qpMWNDRf8TNWonSrMJ+QC/ jSQA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=frMVCmup; 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=1679948222; 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=Vdes/XAzUixqEX28ATIKLrZdOK6jb2kcjm3o7k4nEhiOzkJLoPWe7gPmUQOkyp5Q2/ hkfss5tmniH6mV9AryY9UvuSEk2WvkmHCEUdxMvlnfFqX/O6yNDVql6w21ekF67czV0Q Ik1hrjj7h+xIrZZ6HB4bRTXrjZhDIBu5gQrjs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679948222; 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=pP9IgozeZhBEqIg2/hM6SE9lATymSpubWZqJO+KLY15/YYLhFK2jLUR8/RPZJUV/2J LasYCcJ4UWIUqhI//jVOEmwax5JsnGsHC5vSPyRJnoH8JQkCD/4dUPCzVl43ecjctJwr jc3r9yNBNXsuTfP72XF0zeqtim08nbPoNEU2RLM72lSse8ONcgaLCSc0lMVdIBY6xG9n r/ax9zfQ/1CX0rsSia5hLiWczcUJkZZQeGFqdMBv35o19IzPTngQNqKXJSUZkkw6yV/K ZV/Sg8jlct3PWoQ15YiHHb6gM3AUuAdBH0CKZF/DTHZ8Uui2gQq4mP8IJpiL6Vjl4wL3 Vc4w== X-Gm-Message-State: AAQBX9dFMnsvh3Z8CtKn7EPi7Ay53qJkZhKV5hcj85r4jV5qEzhSOdeb NxRkoZ6VaLd7RNc46cI9YdLJMP71 X-Google-Smtp-Source: AKy350aYatd2QiC/Fa82ThFS/zXycg9rpNd/qApC1GE7ZMrGSVBfESWLKQDd6gnrcX9pNiNEqqowlg== X-Received: by 2002:a05:6e02:20e3:b0:322:f178:a74 with SMTP id q3-20020a056e0220e300b00322f1780a74mr6117377ilv.6.1679948221868; Mon, 27 Mar 2023 13:17:01 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6602:2e8f:b0:759:695d:4baf with SMTP id m15-20020a0566022e8f00b00759695d4bafls1563993iow.5.-pod-prod-gmail; Mon, 27 Mar 2023 13:17:01 -0700 (PDT) X-Received: by 2002:a05:6602:3405:b0:759:410c:99b6 with SMTP id n5-20020a056602340500b00759410c99b6mr11406178ioz.2.1679948221236; Mon, 27 Mar 2023 13:17:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679948221; cv=none; d=google.com; s=arc-20160816; b=ECEExYwyWIS+/OnG3mESkXkpWa93BM0H2IdlYWiCp2pqhBbFErA4c/eUczQ1jSF5Gg S5vbHLEpMEzh6OFDoZo8rgp+oBb3X9fRxI9a7U8P7uGrSVH481YihOlOsYgkaLQNRsVA fadGChaIY+4tUTINpGmDH5kW+gLo1iUzTXrA+1qx/dTwpvOtVtHihuBNbGI+BwKydOcu AWOSutD+SO7hrOa3+TSpDUzWRE/kZb7gLAGLQKAJ2GAbGJ2t59PgMPUrsty9xZqies05 SFmyfS7Hih9kfuIDE7bdHOU40HY67bApcK6komoCCDskkQgCIuFPkaGh3nY6sNfO89HO 7kJQ== 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=0chFFEg5rsUHGlNIqscYVak2JgsAUKkxH6FEJiovmDZltpHnFchSzysdcxWzVzUIba cxcRrivm7RStBIurncdeSgq1wI8Y2DONtO8YvZQAqkpvS2tsG3c0GQ/Shf9wjUmOiZKb v05PD5UnHcBCKOlKi++i6a/3QgPcFNxNl56lv/M10AI2lbWJHak5pUrjpvKLVo3Bs3uI i2bRKZaPR/Gl4v3G1+0ur/Cs8MbUg3WSHPK9xsMt4uOYnzhBfnLq1P/hOG87YAWvHotL YkDUCkcADKmGaIaApjchllBmwJm8J7uHFP61AFRM2gm/3/CqWB2v2IQ9yOMh+GKVdXn+ c06w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=frMVCmup; 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 i11-20020a5e850b000000b00752e2876b75sor3400047ioj.8.2023.03.27.13.17.01 for (Google Transport Security); Mon, 27 Mar 2023 13:17:01 -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:a6b:c90d:0:b0:75c:90f1:4622 with SMTP id z13-20020a6bc90d000000b0075c90f14622mr195013iof.0.1679948220980; Mon, 27 Mar 2023 13:17:00 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.pdxnet.pdxeng.ch (host-87-0-102-254.retail.telecomitalia.it. [87.0.102.254]) by smtp.gmail.com with ESMTPSA id u26-20020a02b1da000000b003a958f51423sm5594759jah.167.2023.03.27.13.16.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Mar 2023 13:17:00 -0700 (PDT) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: Marc Kleine-Budde , Alexandre Torgue , Rob Herring , Amarula patchwork , Vincent Mailhol , michael@amarulasolutions.com, Krzysztof Kozlowski , Dario Binacchi , Krzysztof Kozlowski , Maxime Coquelin , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com Subject: [PATCH v9 4/5] ARM: dts: stm32: add pin map for CAN controller on stm32f4 Date: Mon, 27 Mar 2023 22:16:29 +0200 Message-Id: <20230327201630.3874028-5-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20230327201630.3874028-1-dario.binacchi@amarulasolutions.com> References: <20230327201630.3874028-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=frMVCmup; 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: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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 --- (no changes since v3) Changes in v3: - Remove 'Dario Binacchi ' 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(+) 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 = ; /* CAN1_TX */ + }; + pins2 { + pinmux = ; /* CAN1_RX */ + bias-pull-up; + }; + }; + + can2_pins_a: can2-0 { + pins1 { + pinmux = ; /* CAN2_TX */ + }; + pins2 { + pinmux = ; /* CAN2_RX */ + bias-pull-up; + }; + }; + + can2_pins_b: can2-1 { + pins1 { + pinmux = ; /* CAN2_TX */ + }; + pins2 { + pinmux = ; /* CAN2_RX */ + bias-pull-up; + }; + }; }; }; };