Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp6654064rwl; Mon, 9 Jan 2023 11:06:37 -0800 (PST) X-Google-Smtp-Source: AMrXdXu/4DgTmiKTu2763ogRrBLf6gtiE0sjnMofA6jvyHzFywQuRuzA4w5Vdaj+jcxrCdKVpB2C X-Received: by 2002:a17:906:3993:b0:844:de87:8684 with SMTP id h19-20020a170906399300b00844de878684mr65052088eje.46.1673291196818; Mon, 09 Jan 2023 11:06:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673291196; cv=none; d=google.com; s=arc-20160816; b=brI+YCsYlZ9lS1Hqs+xgoAOM04qxZT27Kj+1aDRVXphdsHZr5+9aCbuX2M1hhqR9CD 0it/ZcBcyFsO7H2xivSzfZx1TPwn0Uar+XYTIvD2UEmeb4b7+O6TZAiKnhSfRm7xgRzc ddH5JtCgYJuq5v541mQih1602H3H6AhU/h6WKeIRNbxzww5XhxESPUkuwdWJ9yLTtNwL EOnP/i159+SMi9nN1PN7hCBzsocLY2lE8ADmeFE9VsRgPF/il6g2k3K5tJf3tDamjyMD dMKdtsMIKTi2dHndC5XEunkrP/WF/reyQ9wZty+vIupe9DHZ0StrSGUOaeh36uYTEHi4 hN8A== 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=0rs4/RsOq9pWCsRzVHNoESp+BTbLpFbSfTXfeGio2ea24a45jMRkhk3ohs9jvNtpY6 iGEgNOad0XNDH8SX0sjs3wpltJVb+4e69K0XTu7CZFXcc1BTQE/UejnhmFh9Ny4qqblS RkXWV78lAtMxOZjwJI8f1bzrr3umQG6R1+NfdbbnkA4Kl8T5B1cT8eTfnkpu2/F3ha+i XF+33CG+deOAfiYW0H4KOwIS7lbbzxRk0QHJqa5jtNB+yIZvX2NIuWUIb79gIYblVZPV TPdL0CtLNAj9GQti3/HvLZ4WcefZTMfNQEQxsT5YjFEltfE0MZnjgq0rWumFqFomEzDM mXfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=keYgJ2y3; 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 ww2-20020a170907084200b007c0db556798si9923049ejb.994.2023.01.09.11.06.22; Mon, 09 Jan 2023 11:06:36 -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=keYgJ2y3; 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 S237668AbjAIS1U (ORCPT + 53 others); Mon, 9 Jan 2023 13:27:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44528 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237459AbjAIS0e (ORCPT ); Mon, 9 Jan 2023 13:26:34 -0500 Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 34BA017E21 for ; Mon, 9 Jan 2023 10:24:08 -0800 (PST) Received: by mail-ej1-x633.google.com with SMTP id hw16so10457806ejc.10 for ; Mon, 09 Jan 2023 10:24:08 -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=keYgJ2y3nl5URethgnUoaSGHv3Qr1qCaZizWzyh3ecUHLBUFAOR+b0RCOE0XQ/QD0X dhlXZZ4fBWTRdK5q3Ef7VW5Cs9igbU9BkjasBP0WiF2ebvrFYvw9xBJe/tyRlKNdendY mN1/SXhIEecvDAHuF1wycidjyRVeJ3uPadn2s= 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=yWYQZOinLZZN81jzT31UTxOHYO+dmiQepm8WaWKeVVfKUns/lnkbzGGifnML3Zeupl VDtYhjUgKz65chgCax0W8EQnvmDhSkZ7Vt8SrPUU9UmKCWffOwyJj4LZjKzizRrB+Ntb izReI1Zsl54f2Btn5F6x/7ZSx1ScbnS3rDEzc/hBJ/hTTdqF0uYeD7iYe0YkVvbyO5gg 3I7NSS5v9TvwPowZuCJMABP+f+lSIhZCREPDVn9GyTO/9T47VxWCcKxDQcsPaYlmpKn2 i7IWaNPzMGdDEpdnaLp4CKzk787DSDsD+xkx6zyQa3Os9t9psFkjweims5XwW0mB7P+v iHag== X-Gm-Message-State: AFqh2krzC9gOBvhfH+UpASrV3eQCa1mThsIyyqqdAAqDLmm37Ow6lzxV mVESjefCe1+IibXMzFEm0Q1ceEXAfow+CTf0bOU= X-Received: by 2002:a17:907:2113:b0:84d:4b39:1448 with SMTP id qn19-20020a170907211300b0084d4b391448mr3081519ejb.67.1673288647150; Mon, 09 Jan 2023 10:24:07 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.pdxnet.pdxeng.ch (host-80-180-23-57.retail.telecomitalia.it. [80.180.23.57]) by smtp.gmail.com with ESMTPSA id kz22-20020a17090777d600b007c1633cea13sm4093653ejc.12.2023.01.09.10.24.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Jan 2023 10:24:06 -0800 (PST) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: Vincent Mailhol , Amarula patchwork , Marc Kleine-Budde , Alexandre Torgue , michael@amarulasolutions.com, Krzysztof Kozlowski , Rob Herring , 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 v6 4/5] ARM: dts: stm32: add pin map for CAN controller on stm32f4 Date: Mon, 9 Jan 2023 19:23:54 +0100 Message-Id: <20230109182356.141849-5-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20230109182356.141849-1-dario.binacchi@amarulasolutions.com> References: <20230109182356.141849-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=ham 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