Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp3614203rwb; Mon, 16 Jan 2023 10:16:59 -0800 (PST) X-Google-Smtp-Source: AMrXdXt+QPxch+/aioFqen0O5MFH3RlTuyUS6KlQGwufUalW2LNPsKOKFT7PgfPXvt9VA+DaYLS6 X-Received: by 2002:aa7:c994:0:b0:499:bf81:be6 with SMTP id c20-20020aa7c994000000b00499bf810be6mr136426edt.37.1673893018954; Mon, 16 Jan 2023 10:16:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673893018; cv=none; d=google.com; s=arc-20160816; b=xSjdvwdztCxo6Tl/21as/DdUV9PEjkLFLx7ewQuvGIZpAP4sZixoAbAGHr32u7E3Ti 5XSO8eGl75h1K2tW1ZjMt4bfaaw52WmycT8+1IsBQvhKmHp+NU7xEI1tZAWH7wTNtIeG 3PuhLEj5lErCzOITFL14xpoXwyTbZlSnf/zOfXIJOiMM4+q4bCq1ozMUcP+DW9VIH2Qj IBNL6DwCVegZszVew5w0TOJNEBvwt0MsBs+SdsBEptOFm9zUNwRJhS0zNQZXNTTkrVaY W6Xohlm0UW90m/nrBXIr1eb5LhWVhpTowBjZFQ2FYchBFyf1XJcI5RYQX3WufGHhDc2q Lw0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=jfErmyZAWFClEhl0ayKENaiIcOOkglWFws7K0nbLI8s=; b=r+ziDffAZIaEAeD7cQ1lQKD3EKglkQHbF0bu4BXIfT9ZlMF998DwHmgawZaTviv21v oSyqLPgycJKOOsbNOHdM6Bix+jptM/tdUoX3flRawZsH/AscQSLxUltmsD30rvYvYrv8 5Gnqpw1TvfwvWKLI6RN8Nus5Xqfx4DW487vb2rsdELLPxiwyA2u6uknTHGQer2HW8nXi OMzyfYORRUip+CQkg1S/uagKa8dCaCSMyzm2ZIzsCwEzOVq3gKWSv2jFUVw4Gk9Kppmx klsfMl9VTyVEUAHCMEW4Ziwrzgdbq04eTIhulfbG+wtAHiPZdZ1D7nPhWJ41JcX3zyUo zjqQ== 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 linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dk11-20020a0564021d8b00b00461acb2deebsi10008115edb.198.2023.01.16.10.16.46; Mon, 16 Jan 2023 10:16:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=CiZDRrup; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233048AbjAPSGD (ORCPT + 52 others); Mon, 16 Jan 2023 13:06:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47118 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232838AbjAPSFX (ORCPT ); Mon, 16 Jan 2023 13:05:23 -0500 Received: from mail-ej1-x62c.google.com (mail-ej1-x62c.google.com [IPv6:2a00:1450:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F3F072E0EF for ; Mon, 16 Jan 2023 09:52:12 -0800 (PST) Received: by mail-ej1-x62c.google.com with SMTP id bk15so12328609ejb.9 for ; Mon, 16 Jan 2023 09:52:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=jfErmyZAWFClEhl0ayKENaiIcOOkglWFws7K0nbLI8s=; b=CiZDRrup74sgUxRVU6m1gLeEbwHwbulx2ngc8VyZ9sGs5XEKXQbDgMycQM7zOa3nBU TxmnS1YBlX44zfqBABDkM4kQBhkFaKjSNGH0XDKCt0ob4HEhX0IS/+yi6DT10yJkk32T Oauww02NGbHbMvSiZpCcZsbGRMP1ICMU1VlKc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding: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=jfErmyZAWFClEhl0ayKENaiIcOOkglWFws7K0nbLI8s=; b=ToqDPZ8BtUWE/GY6zQAwLDj1zRh4BGhANJSzYj5wXHRhVF2YNDnqHkg2MmFNRKXV57 r2qsFoqv5m/KxV9ZvX02NMcTsX4634HWAfMyuqllC76L/yYmgl5XmoxonX6wJweQ/v80 0nCtbcBxT6maUoIDuj5CfibyFDEUKvRhNGZo2x/A04w7ImU6gB1Mh7/qcWxZv7l3OXn4 RPkPW8Lld5mMu03BnjQrp9EsQg8AeZQ3uGzHVkJxEc+zm0NmBpYJ6sI+6WZkAf16bojq Ovz1cERtbhjT/O7jKX6xtc6k2/PU/HJkbm8psz6nFfB/WIv+H/tEHSA33n+S7T/47EcQ Lyww== X-Gm-Message-State: AFqh2ko95ODnq0p8gdCOsOTab37pYsOxlrEouU4wT9dTU0tNnL2YcYE7 KloqBPOBDUHChWwvpy8spsMyt854Lv6mSjdf 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 To: linux-kernel@vger.kernel.org Cc: Vincent Mailhol , Amarula patchwork , Krzysztof Kozlowski , michael@amarulasolutions.com, Rob Herring , Alexandre Torgue , Marc Kleine-Budde , 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 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 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 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 = ; /* 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; + }; + }; }; }; }; -- 2.32.0