From patchwork Thu Apr 27 20:45:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 2874 Return-Path: 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 1ACD73F334 for ; Thu, 27 Apr 2023 22:45:52 +0200 (CEST) Received: by mail-ed1-f71.google.com with SMTP id 4fb4d7f45d1cf-509f56de80fsf4368414a12.0 for ; Thu, 27 Apr 2023 13:45:52 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1682628351; cv=pass; d=google.com; s=arc-20160816; b=w/14LZ+6bSjXb7egOzxY9vLYY4wpRtig1JhGK0qAP3V+7pYmY32IcCQqEBv2Z8cfy1 6sjy0Fm/n7AJMnd1byt0PewGVRh8662rhOG6Ln12N43BFyfXP8y55/oSuY9q8h78tE/I iW+whDTtQXEUHOsO4Dx8E/qhEOWKbNWNSlHk3GL7H9eJYExdwG6rcEYZ6+CEiyRxw+S1 tQr0xdQ71evtx3XrzgWAVkEG0tO030aNaFyyUbOltoYzTPktBXHbIPRZ9ZhawU8SogR7 3iLj3xcBmA8S5SNcwekzToNGn5NK4+eCL5EW7LsyU1wRg10ptXYViebgn5JtZROUlQPN Ml+w== 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=cuAYSrvpFW8KxzlNtTJH89VDu011JSA8r+0+I6PfDQc=; b=q+uH8IJfncC3llmKVlhv0CJCBAAkHe2HbVjE1vAbIwo/btQqa3SfH51Jl+mLs3xTzA YhgoqmxnZpSlwRInqIIzkA/M0nAspo1P7I8xylaDDrU/Xxuux+OHYpL/CYXMn5g1SgWw jmBEHpjwmd3AMryz33KvNvWeeZ9vgyI/gTJhGX3iCgFPRImCY2qg5ds19aFeXVXff7tp 76RqFFkcCm3gHCiez1uzdGHANnUp80a/PHe9khFAJ88r3EgNZS14I/UL3xch17aS/W/0 5hoEGuVAHGQhw9yw3CxXc5XZuL+V/Q9osm+Ib7yHuziriClLAgdsQTC2t2NNDsUV7HwW xPWg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=C0kEWeMP; 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=1682628351; x=1685220351; 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=cuAYSrvpFW8KxzlNtTJH89VDu011JSA8r+0+I6PfDQc=; b=Zmcz4LSMZp5UK9PFRW+rfpKDl/Y9rDD/UdKR0pl68nXqqbTUJNX5r7vVrC2YwdMaqT amWX3H2Z0pZyZiIWz6yiNLKz5QQyMHtyDliLvhWeIvti/gapH5NYTIGlsYhGrwQ+KLAi yqZwmEW0oOJwFI9FQ/+IJsgnKoojtpKyyrjmM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682628351; x=1685220351; 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=cuAYSrvpFW8KxzlNtTJH89VDu011JSA8r+0+I6PfDQc=; b=VCpJmP6mGNkupVBSzPabNjKi+8qYFRKBiFEDi93OUZX/ifmdQ0DZKu9nqGxchaoH86 LcyseU0b1Y3mBNELHgeeEDkdZoTEf0cRgIqFSfNPVQvPxmAgf9VsJRIbnf3JMnSB/i20 pCQqSFdbJtcHT/QOI7KtuCNW3Bna/e0v7mUbt2ZdSb6sAxwV1LuiSKE0R2qyXK5oVq8D dz79L9EA6OF2+++uiWHBGR79rgWmTd3hE+6/MWw+RxlclOImyFRUZDeK4rMf/4TsgXPe jLTvtQHjBU2sE+4n6OyM8fJ4oMZttt9kK6AROq4UGf6fC5w6AtEKs8rtXA03m4QcKmZ5 YbqA== X-Gm-Message-State: AC+VfDwnr1auYFNhb5TTvAeWYuwEw/QsFkgRaOGffXqEqlafOf/YVc4/ 7E5Dnk8dWa0DoMGWUhfsdiX2s+Lx X-Google-Smtp-Source: ACHHUZ4e1po+h0mioCiv/0Ve+cb1M+8fse/v9AgSpleMKiptqf2gG+fCzz0xEz641P7na2MLkZoPGg== X-Received: by 2002:a17:906:8a67:b0:957:4e19:9903 with SMTP id hy7-20020a1709068a6700b009574e199903mr1137928ejc.12.1682628351567; Thu, 27 Apr 2023 13:45:51 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:907:6e8d:b0:95d:f4c:d5d6 with SMTP id sh13-20020a1709076e8d00b0095d0f4cd5d6ls1418454ejc.9.-pod-prod-gmail; Thu, 27 Apr 2023 13:45:50 -0700 (PDT) X-Received: by 2002:a17:907:31c7:b0:958:e28a:963c with SMTP id xf7-20020a17090731c700b00958e28a963cmr3319982ejb.14.1682628350079; Thu, 27 Apr 2023 13:45:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682628350; cv=none; d=google.com; s=arc-20160816; b=fWbeoiRkdZzfIY5jHg75i4xgjYnaCWppOyC5+w+PMe0siPreFLkKAE82De/snyC0rv LUGfw4jm4Y5ujR+bzpKvpQY39NIoDbDwkDv1pWw0q/Ce/Qd8J4M4jz8ZFtyQ5CLXA1JH UZSqj/qnQkk/NaekQ2jidJmUuRWEnL13PTfHi2VAjugc+DwMx/eFdKBftL/RtTKApJX9 xbHCRMCEHBfpc/+TNWzpHyDShcU7clB+bSvx5Dio7B7L5lt/E2NFJinMHF2peODrhn1P TmD1/0MdhiXx3H1EGcslNNNwyS6rYPvaOZU1czg8UbxcxjP19jgsJQlWHKwBp7cHytu9 NLaQ== 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=8zgyM9/Qsb7y0LcnLSlDess36RbYnrfbiOfx4wd1SRU=; b=1F5kBNBKjsyehMSVmWx4U5eMsT0FzKYoTBTGk6CH+Cy0a9R1r6etRZEkC7VeYKJjo4 bewuzD1F/84r6/kRA+ZFwJHtC2VPkpGG8j6E6IL9BsrSJWKsNh1eTnZsYe1TVibojaW8 xYsatv5ye1rklvG3DkZRyVUG5LD312gjw/RAaGQNrFEA9ySdKR7kct9dNWXdIjG0Oken KX0kF/GpBYQIRTa0xtaqOA9/7xY4kEiXcYf5LwUhbcNmLunV4CFeVR/X/dGumITLo0Gh 0gQOSuctRZ2v7vBoVSuwR1OcAFB1AhOm5U3koa7ER0dI66wOwXkYYj8oUwmFNmyL4Bi8 r0Ug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=C0kEWeMP; 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 bs13-20020a170906d1cd00b0095345ee740esor10848674ejb.102.2023.04.27.13.45.50 for (Google Transport Security); Thu, 27 Apr 2023 13:45:50 -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:907:3e1a:b0:94f:1a11:e07d with SMTP id hp26-20020a1709073e1a00b0094f1a11e07dmr3458979ejc.32.1682628349735; Thu, 27 Apr 2023 13:45:49 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-87-5-99-194.retail.telecomitalia.it. [87.5.99.194]) by smtp.gmail.com with ESMTPSA id s12-20020a170906bc4c00b00947ed087a2csm10171360ejv.154.2023.04.27.13.45.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Apr 2023 13:45:49 -0700 (PDT) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: michael@amarulasolutions.com, Amarula patchwork , Dario Binacchi , Alexandre Torgue , 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 v2 3/5] ARM: dts: stm32: add pin map for CAN controller on stm32f7 Date: Thu, 27 Apr 2023 22:45:38 +0200 Message-Id: <20230427204540.3126234-4-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20230427204540.3126234-1-dario.binacchi@amarulasolutions.com> References: <20230427204540.3126234-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=C0kEWeMP; 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 stm32f7. Signed-off-by: Dario Binacchi --- (no changes since v1) arch/arm/boot/dts/stm32f7-pinctrl.dtsi | 82 ++++++++++++++++++++++++++ 1 file changed, 82 insertions(+) diff --git a/arch/arm/boot/dts/stm32f7-pinctrl.dtsi b/arch/arm/boot/dts/stm32f7-pinctrl.dtsi index c8e6c52fb248..9f65403295ca 100644 --- a/arch/arm/boot/dts/stm32f7-pinctrl.dtsi +++ b/arch/arm/boot/dts/stm32f7-pinctrl.dtsi @@ -283,6 +283,88 @@ pins2 { 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; + }; + }; }; }; };