From patchwork Wed Aug 17 14:35:28 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 2301 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ej1-f72.google.com (mail-ej1-f72.google.com [209.85.218.72]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id A20943F03E for ; Wed, 17 Aug 2022 16:36:46 +0200 (CEST) Received: by mail-ej1-f72.google.com with SMTP id sc31-20020a1709078a1f00b0073096c2b4e1sf3085454ejc.22 for ; Wed, 17 Aug 2022 07:36:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1660747006; cv=pass; d=google.com; s=arc-20160816; b=WK8pxu8WohP62GllvN3RTGdgxXqjdMSyZlQFZoXvvdwDjQ4TY+3f4kImtVxwx0Dc+e nTUHNztG/zuNpKFIvibGEEWYE1W1sthgZrjYlSd5u2i6/BLvR/WUJdNB48vvr6WQbZoO lrMm9pOMyb1TSt3M0FjvX9SbufFebS/uXe+pnmu2N8SALO/jTI0Om5jVBTtdaWX5T3OY 8yFD50CkR91mW0H5PiIJRVSlzlzMrXF9m+5ELWPHLJc2oC/IKPKpo2TZUNYvJX8wcYFi Bs+V7iAImVnBVnPy6qtI+TVt7murQSKnZhuHVdJz/lY33YKF87pcDGXOwta1G39q8Blv OEfw== 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=hg/3tGe1gOzdtNw3sFAxJf+/WMG14fGM4bCbEHynxmA=; b=z9WynlallWZhCjf8+WLkjW24c+5nmf/uuVfWt05JHbJ8NrW/K/BbyjxIGluJwvPc1h WXvFjbm3k99sIZptM4Xl3XZeOkRA6BzaZ6NFTv6T0zsbraBkL+P7mkNi+AqJJZhGtuhW Y9yO/liLp9cgA4fDhsC+LdFdyXBLaERxny9pGBzawK8DX9SNF/9AxTfTYyAdsqAVMUXp xSybY1KQkx4K8MMVGVtDcvgHU0l74NWL4SGOJHQodj5lUw9Qjpxe050gZn3Bk/QPPZ/y VM6A7YYwdhRvSslN1sTW0C7N0+6W+icWhbLp9icniihzHqG1AiF97abUzNYaqP0AW5s/ gpRw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="LkqmS/nu"; 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; bh=hg/3tGe1gOzdtNw3sFAxJf+/WMG14fGM4bCbEHynxmA=; b=Q14/L/h9vSEtCGDgfZbLBA0bEsXf8fdyUuP3GsI6DRwRTe6/FT5vl8CmHnjCW/TYAh GraO7Yxi2IZ0d8UhAgTr/owgbZHji4c3lluolW5x7JOTsVFTaQkZ+nkz6kiLlPn9WpfU 9m2JOGsC4u2mTcMJ7ZQuEIvXoDo4crERBE7BU= 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; bh=hg/3tGe1gOzdtNw3sFAxJf+/WMG14fGM4bCbEHynxmA=; b=BcxkKrDuutolKbm6a90WDJgdAMF5160hoHcaW64ikywODSmBjhlR3O2Uhwn/XA4+iZ bTb7zqxrxDwpd/WyEkiUiJaZbf+sYLQi8Qta56K/5BzPH0+2jShNuvMEFh/5Up5HcbvC RnGGgJoWafev1tY15AIIucG5ZgChju5WLVWn9+Y5mDpq2C7yUu1TPEYaZvVa4MYevPaf Dh08W7RaNgTIJOx1qjvWZlbumnzNQNz5LCvHMYV63nCPYaGP2c/8Ki0QarUJ7P4w/cLN XjUYVxrLZ2GFyhMCqjt/Kj+d4fz8Gglt/w6znHh97PjIzUQzaONFEHZ2G6bOh5j0ntuh ENLw== X-Gm-Message-State: ACgBeo2aAJfr6VAwceyepnScr0QeHp35vlZkB4J3fIa5bEdMtsxwg+NO Y92IjqoO6tOUefxMwWlbzdJAcZOi X-Google-Smtp-Source: AA6agR7vWf6sLOkjqMfJ8rZl95Z6SEmZDs8dELwGatJpehZu/6ASOZBD/mtotEwloP+uVzcIIsZUcw== X-Received: by 2002:a17:907:72d1:b0:730:a0c4:2aaa with SMTP id du17-20020a17090772d100b00730a0c42aaamr16532642ejc.560.1660747006326; Wed, 17 Aug 2022 07:36:46 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:906:612:b0:6fe:b664:4b5f with SMTP id s18-20020a170906061200b006feb6644b5fls6074521ejb.2.-pod-prod-gmail; Wed, 17 Aug 2022 07:36:45 -0700 (PDT) X-Received: by 2002:a17:907:3f2a:b0:730:ec00:1b19 with SMTP id hq42-20020a1709073f2a00b00730ec001b19mr17416696ejc.722.1660747005117; Wed, 17 Aug 2022 07:36:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660747005; cv=none; d=google.com; s=arc-20160816; b=CYy0h2j3+Qif63mmjyY78bL/NlH0pdAtP+ofmOZgX0sTUTPlFy+nowreFq82sNPaoa m03/CgAGnWRMQEkrQ7+C4QhStB2rlgoUhIqh1zqOSebFjMqenOA2LoEVpddvoIzUU/FZ CqNZCGpRGdKMWpqaZnva4ClV10e3j4MuktlQDa+rmCFeTSCMpPTi+lm/Ye8Z7CggrFKs EN2cI1JVY4+NIIo02tPcyd8QDQDnHplbSXPuHRUDPUMGdecvq5LLDIKIkLIgOtjRwMuX jxJwVkoqxcLGOt2THltFvNJzs6r+p5sVQh85iZoFZZxhCOCqH1uVEmdt8NleRP49aoOo E+ug== 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=Y2S6KTpUrSCMwTgBob27SzJraLan/JemfvDuj7xYqWU=; b=OI2FenWaPdPG7IiIDKXhIjodicznySv7y/OFwMQcGTeo8pdTPUUc5FNL5R8oTSiApj BSqfsjR6DTPWv/fmeCk0AwkXFhTW/ST61Df/94c1d5YI+Agrjfui4viHMdqNXVrrZ1Ml y0oTgOYgv6cmRO2XS0/OMgh0qPx2I05X2eQNVh7tOFL6tWUocRxerhnbzwCFV50IvlMt ZtDVfH46Gr+cCM5xIWCgyLFtsghmuz4p4jIFNR4Y2b23sXBrB5mOlBvtvJspB4ucdqyb IZtzC3K2N1DYWjKM7MpBeqD1J1kdfw/IrA8eBVdnhtfrfK4+L3u4Dp6BiMf3A0mH9SF6 7EJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="LkqmS/nu"; 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 o5-20020a170906774500b007388c28074fsor2163783ejn.61.2022.08.17.07.36.45 for (Google Transport Security); Wed, 17 Aug 2022 07:36:45 -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:2e0b:b0:730:8aee:d674 with SMTP id ig11-20020a1709072e0b00b007308aeed674mr17258033ejc.104.1660747004949; Wed, 17 Aug 2022 07:36:44 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-79-31-31-9.retail.telecomitalia.it. [79.31.31.9]) by smtp.gmail.com with ESMTPSA id o9-20020aa7c7c9000000b0043cab10f702sm10711982eds.90.2022.08.17.07.36.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Aug 2022 07:36:44 -0700 (PDT) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: Alexandre Torgue , Amarula patchwork , michael@amarulasolutions.com, Marc Kleine-Budde , Dario Binacchi , 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: [RFC PATCH 3/4] ARM: dts: stm32: add pin map for CAN controller on stm32f4 Date: Wed, 17 Aug 2022 16:35:28 +0200 Message-Id: <20220817143529.257908-4-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220817143529.257908-1-dario.binacchi@amarulasolutions.com> References: <20220817143529.257908-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="LkqmS/nu"; 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 Signed-off-by: Dario Binacchi --- arch/arm/boot/dts/stm32f4-pinctrl.dtsi | 32 ++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/arch/arm/boot/dts/stm32f4-pinctrl.dtsi b/arch/arm/boot/dts/stm32f4-pinctrl.dtsi index 500bcc302d42..a8709363898a 100644 --- a/arch/arm/boot/dts/stm32f4-pinctrl.dtsi +++ b/arch/arm/boot/dts/stm32f4-pinctrl.dtsi @@ -448,6 +448,38 @@ 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; + }; + }; + }; }; };