From patchwork Sun Sep 3 20:48:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 2968 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-lj1-f199.google.com (mail-lj1-f199.google.com [209.85.208.199]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 6BECA3F07F for ; Sun, 3 Sep 2023 22:48:58 +0200 (CEST) Received: by mail-lj1-f199.google.com with SMTP id 38308e7fff4ca-2bcff05089csf6185591fa.3 for ; Sun, 03 Sep 2023 13:48:58 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1693774138; cv=pass; d=google.com; s=arc-20160816; b=fa4MrrQSp6eKqmrjl2QfRmH8wXVRj5Z+b6os9yE7ONdijR7djIJFhKgY2rY5pCWv1b mXlr7r6Memgrj9Pt4XvqY3JPHYXeRzu8aiIbeBGm+AegkXLd32055m+n1mMAYtTBf8uZ SVxGEyDoux4xPEH2QVaMeuBoG9w6yeHUWM1++4/njFbAC8gfWvu/V240njzxMVTjOIXR dzI0yjE1CtXKqUsRxzxps2D3yN0gwAln3hq1Zi1H0NF/BJ16WlGb9Xv8H2VBt7A7wnVD IEgQ5jD4iO3NCRowlcOyOlcdY/YB+3QwNXYX1fdcn6ZK1mAaV2UCF5avj2N6KaEKz/hN bH1Q== 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=jxDSXlX9mxNaf+NJSjTK/KI8J+iBMhd1nhY/o29+R9Y=; fh=K160ze5zLMsICenqp3u1vI/J8CthABrjPAr/pgPLkE8=; b=LwK7R4Pxeb3c3jp/RFK2+yhJdp3QLdp/1Ndeg4Rxf61Fq2u2FTlbeUu9Y7mtr4Mjg8 UvM7NIiRPZ/rnjv2V5lqHykPX5KS2O1oVB1yeQt8koesepndxe1ZwOCwYs0CYzD05mJr TX6MOlIVbjFH3Vosy55iX1fvRXQy4Ed3CqAmyIjyEWlSxNqu2crdvsQyIKnmqIGEsmYS xLL9Eb27WRnhtFKAOL9RPrl14geMccc7bUuz0HiFuHFvoi7w42lfymVB7shqNad+zz1T lb/HpndK7PEL566EKxhmuF9flJdosFnh9hKJkcxMCu9WaPSIZ5tJMcukmbKlvn8R5EUX ym7g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=NZzAAPZV; 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=1693774138; x=1694378938; darn=patchwork.amarulasolutions.com; 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=jxDSXlX9mxNaf+NJSjTK/KI8J+iBMhd1nhY/o29+R9Y=; b=c1kxE1ULVoj3E7Vt4R0pi8CLncXHSzacrZXd0MSsPp+DhnAPcSVMtgBdIRvTs1V3wr H7wMXYvIAxE0QwxrF7GjjVTP+l8BhjIXH+91blYHzxpj99u88wIMMHUzezTfH/vFmoXd JT7+7kmJ5MwtTG0LfH27MCBR/8pQFa5ftdsLQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693774138; x=1694378938; 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-beenthere:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=jxDSXlX9mxNaf+NJSjTK/KI8J+iBMhd1nhY/o29+R9Y=; b=daUnkMHoB6IqJ1KR7z97yQL2z+iqVTv0seK5cSX3Liki5f3HHyOhTzGvCrSbbj9+aB ptljbsK7zbV5NDuzis/AWizkE3QQEJlX6DkP18o6t0yaV5Y47puqtrHbtQYASetfHlWa b+tEZRZpn97G4sk9JKB8cR15AToI1GC8MbLW6sn6dx6AiW6XFnzIfc2WKGKndNUxG2ta /BdknHks3C5QtSv6tktETmyWmh4QBIwN1r+SpUYvinIh/5OzKnWpvjsOhVuVggpwj4/L ktN0ZcnlyzNSbNeIqEgHqp3mxyo6U2kcnqDWRKbCVbpGakRC1lGo2TviL/jYbHiVquMO Ke8A== X-Gm-Message-State: AOJu0YyF1X+xoE/xG3Mzqbcm0XEZ6g9DuK8XEvh2bopIEPiqFBhh1ATR 6sh5iGBGvFOWorGcaOcrEDViRm1L X-Google-Smtp-Source: AGHT+IGb2gLg3XVo4X2aHJgVrUCqKmDf2YkqCj5pXGkFxwpwriw+s15JjygdbYLxTJFmWbxpKe5qtA== X-Received: by 2002:ac2:5b03:0:b0:4f9:6842:afc with SMTP id v3-20020ac25b03000000b004f968420afcmr4966530lfn.64.1693774137778; Sun, 03 Sep 2023 13:48:57 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a19:2d5d:0:b0:4fe:1d79:caf0 with SMTP id t29-20020a192d5d000000b004fe1d79caf0ls1410066lft.1.-pod-prod-07-eu; Sun, 03 Sep 2023 13:48:56 -0700 (PDT) X-Received: by 2002:a05:6512:2522:b0:4f7:6966:36fb with SMTP id be34-20020a056512252200b004f7696636fbmr5407931lfb.12.1693774135946; Sun, 03 Sep 2023 13:48:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693774135; cv=none; d=google.com; s=arc-20160816; b=k8BrEFS61Ia0rM2p9gVf5MH/lIbMIguWsk5bJ7qdYAanTLE80CgtZwwYazTxY599WD 6Fymx6Sw7K7vRe8L++MGiuXCwBHB7mVOwC3ux/K8o+2H+6ARklciCbeXy87yrkpiRV4B OsmR7o4nuj3tZl3IQjVm/YVkTHnO/2IsyFb+ZgzWcfMdGeeTvxL05Flp13e/UQpnzjMQ gmj7UG82Pw2WcIvwCme1HcxUI0+edbzUU2wsLaCSr2vD6sgWcMRztTSZAA5pVj/bNTji RI05Fp71wrKhcBPs8SMHDYs2pg3tO8GI++FVhCB9HBA2Bau6VokmA/QS1ivd8jgn/fAi 1kqg== 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=bSfjxtQCmq0VaRg1MRMvJGczP51v56zG9MGuctvIOOo=; fh=K160ze5zLMsICenqp3u1vI/J8CthABrjPAr/pgPLkE8=; b=S0Z+Bj2wL9DC/BTl1czRdlr53U93G5FYQ/tS4s63RzcbGT5MWcDX+zK7GJ51LG5sPS f0s8eeAmCE9thPwZfRV4AlQnSoLIAMdsKFVFPPM4QKIp/h6pE8dmC1UHbuHc6kmZ58Up MrknigQyZdehJg3rpGIvNH98Vjk1zEchIfRtmFkI2xHhOMnKf5arkzdATYAzMrBR4for x4y4pL4Pl0N3ygj1Po/0sZB0WPzwmP9PoNpXZbhpBoEPauxtJrcXhgrGyfcsx93VJYeJ 3HJOuY7bwcVQj+Jr76Ka3qDYGtuoPff1wDKLGt8m7nQv3qcVsBbE322SNuv9w5LgskHs m+iw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=NZzAAPZV; 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 x21-20020a056512047500b00500a012d7c4sor2383721lfd.6.2023.09.03.13.48.55 for (Google Transport Security); Sun, 03 Sep 2023 13:48:55 -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:a05:6512:3a8f:b0:500:ba39:f0c1 with SMTP id q15-20020a0565123a8f00b00500ba39f0c1mr6458180lfu.20.1693774135345; Sun, 03 Sep 2023 13:48:55 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-79-54-71-141.retail.telecomitalia.it. [79.54.71.141]) by smtp.gmail.com with ESMTPSA id w22-20020a170906131600b0099d9b50d786sm5182466ejb.199.2023.09.03.13.48.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 Sep 2023 13:48:54 -0700 (PDT) From: Dario Binacchi To: u-boot@lists.denx.de Cc: linux-amarula@amarulasolutions.com, Dario Binacchi , Marc Kleine-Budde , Alexandre Torgue , Patrice Chotard , Patrick Delaunay , =?utf-8?q?Rapha=C3=ABl_Gallais-Pou?= , Tom Rini , uboot-stm32@st-md-mailman.stormreply.com Subject: [PATCH 02/10] ARM: dts: stm32: add pin map for CAN controller on stm32f7 Date: Sun, 3 Sep 2023 22:48:41 +0200 Message-Id: <20230903204849.660722-3-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230903204849.660722-1-dario.binacchi@amarulasolutions.com> References: <20230903204849.660722-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=NZzAAPZV; 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: , commit 011644249686f2675e142519cd59e81e04cfc231 Linux upstream. Add pin configurations for using CAN controller on stm32f7. Signed-off-by: Dario Binacchi Link: https://lore.kernel.org/all/20230427204540.3126234-4-dario.binacchi@amarulasolutions.com Signed-off-by: Marc Kleine-Budde Reviewed-by: Patrice Chotard --- arch/arm/dts/stm32f7-pinctrl.dtsi | 82 +++++++++++++++++++++++++++++++ 1 file changed, 82 insertions(+) diff --git a/arch/arm/dts/stm32f7-pinctrl.dtsi b/arch/arm/dts/stm32f7-pinctrl.dtsi index 8f37aefa7315..000278ec2c58 100644 --- a/arch/arm/dts/stm32f7-pinctrl.dtsi +++ b/arch/arm/dts/stm32f7-pinctrl.dtsi @@ -284,6 +284,88 @@ slew-rate = <2>; }; }; + + can1_pins_a: can1-0 { + pins1 { + pinmux = ; /* CAN1_TX */ + }; + pins2 { + pinmux = ; /* CAN1_RX */ + bias-pull-up; + }; + }; + + can1_pins_b: can1-1 { + pins1 { + pinmux = ; /* CAN1_TX */ + }; + pins2 { + pinmux = ; /* CAN1_RX */ + bias-pull-up; + }; + }; + + can1_pins_c: can1-2 { + pins1 { + pinmux = ; /* CAN1_TX */ + }; + pins2 { + pinmux = ; /* CAN1_RX */ + bias-pull-up; + + }; + }; + + can1_pins_d: can1-3 { + 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; + }; + }; + + can3_pins_a: can3-0 { + pins1 { + pinmux = ; /* CAN3_TX */ + }; + pins2 { + pinmux = ; /* CAN3_RX */ + bias-pull-up; + }; + }; + + can3_pins_b: can3-1 { + pins1 { + pinmux = ; /* CAN3_TX */ + }; + pins2 { + pinmux = ; /* CAN3_RX */ + bias-pull-up; + }; + }; }; }; };