Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp5121127rwl; Sun, 8 Jan 2023 08:57:27 -0800 (PST) X-Google-Smtp-Source: AMrXdXtrcl3X5SM4JagT3zEqRHDtDla1RSnq7oY5LbSR5aiSCymyfjUjLbHRHlEsaEGaY5TN8UD1 X-Received: by 2002:a17:902:6f09:b0:193:8c7:8924 with SMTP id w9-20020a1709026f0900b0019308c78924mr10200961plk.7.1673197047645; Sun, 08 Jan 2023 08:57:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673197047; cv=none; d=google.com; s=arc-20160816; b=frkUeTlXHtrq6TpvWu0areNplKtqK/6jXenROli+nBC5ywMxYS1T1zYCwSBmALBuNS y+ES84JKL8z5gJ6cD+wzYfpOofhwYDlwpMmrRM0o6xj8EIV/fLPr754jPpFJFemJd8VG VeAeD8eceaR3u32XeF1s23Hqd7on//VponAmAyc+UTJg5hZA4cYaVYimPSuzqvgenj6W Nokq4jKjNBrMB3Mmi8h8ly86E3X5TQyLfr5J98rzRWPgydDAuNLnV458WcoDvTUmqXz5 z1+jq5jNTTtv9AG1VO8lC7TSwYFXI7kVwXqJHnf1Jbhz005ZyFgQBdZ3+Pcq6FL6v1AO UHjQ== 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=WxbxAVfRngaMqrMXJVa+Q5xp8zclP28KgRTggiK/utLPJzC6pwvEE9QCLiTsX5VyGb 4ddZ2whxX7yk7mshoynyjM8ruQW9lrIP3qxUx3h0OpmDBPfQrNiW5j0LOFBnU1cM5ol4 7+V2AbjpTHdV/Oo21uhpYs5nlL4CdtlSHCCFtOrg7urD7gOVNkdH6F10g5J6bbcsQUnq fUE4VmXmrZbNL/XvElLxoIcZNwcTy/br8h6/KCmu2jsIRRoZnL97gxC+e65Bxcxyf6Ax EUuMEK+JbmQ1noD/92AHcFEIshJ4c+EKbcBlLB5kDcdNK8OTu2388xSm5RVLKFgWN6vr Y3qQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=YSC3OP4T; 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 e11-20020a170902cf4b00b00192e61bce58si7121900plg.415.2023.01.08.08.57.21; Sun, 08 Jan 2023 08:57:27 -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=YSC3OP4T; 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 S234500AbjAHQ0Z (ORCPT + 51 others); Sun, 8 Jan 2023 11:26:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60416 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233435AbjAHQ0G (ORCPT ); Sun, 8 Jan 2023 11:26:06 -0500 Received: from mail-ed1-x534.google.com (mail-ed1-x534.google.com [IPv6:2a00:1450:4864:20::534]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1385A9FE0 for ; Sun, 8 Jan 2023 08:26:06 -0800 (PST) Received: by mail-ed1-x534.google.com with SMTP id c34so9284822edf.0 for ; Sun, 08 Jan 2023 08:26:05 -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=YSC3OP4TGn1VPvfygj0by5L4sf/6V9LnPq9OUQ8JOfL5ruwSYj3wXY1+xejQnk5f+j Hx7h0Jc9hPrOGPjrvaBVujgJZVLD/rargrN3b9zZvQcjjPHrj2HQ8PccN78orzy2TffZ gr23AF/OflooX70a36NEie4LyAUBvKqSlpBD0= 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=g/jgEEq3U9zGPkf3ug9e8STuFlfnzgZXyPxLebU1dUA7wU5miRfZcivT2jwcgtwMYJ OoI7cPaWUiis8PQW2lljPUl8XhOD0UUvEVpzVNn4/6VILxAd/47k0vfqX0wwUzHRoFuN Lf/7Kf+CqSJYnjrUhVX4cn7psInZaJfIf09cI4bG4LEI9NzYKIHM/YFUsmiPNAqQ8flF HJ98di6rjz8dkB6aO8cRlC6JOY9rhbi1ScLxn6iwQE8ygemIR1TMzW+ULQjaKE0Y+R5R 5GblZvVnTtwgSFIMfax7nffcCG1yaHRFQGdBql8fgKmvOIeQM4OJ6RTL6Q1PIfBdyFrg knjQ== X-Gm-Message-State: AFqh2koxJOcgrqfclqtgCkMN8HYRqwe94z+jDFo+uK7hfPdbJHWO+luE bgDZFkP0AP8U8bvgP/QR5pDQejRlUD/UKvGmaFI= X-Received: by 2002:a05:6402:5296:b0:461:dd11:c688 with SMTP id en22-20020a056402529600b00461dd11c688mr57289681edb.9.1673195164404; Sun, 08 Jan 2023 08:26:04 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-80-180-23-57.pool80180.interbusiness.it. [80.180.23.57]) by smtp.gmail.com with ESMTPSA id n3-20020aa7c443000000b00486074b4ce4sm2659614edr.68.2023.01.08.08.26.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 Jan 2023 08:26:04 -0800 (PST) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: Vincent Mailhol , Amarula patchwork , Alexandre Torgue , Marc Kleine-Budde , Krzysztof Kozlowski , Rob Herring , michael@amarulasolutions.com, 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: [RESEND RFC PATCH v5 4/5] ARM: dts: stm32: add pin map for CAN controller on stm32f4 Date: Sun, 8 Jan 2023 17:25:53 +0100 Message-Id: <20230108162554.8375-5-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20230108162554.8375-1-dario.binacchi@amarulasolutions.com> References: <20230108162554.8375-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