Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp3987849rwl; Tue, 28 Mar 2023 00:35:13 -0700 (PDT) X-Google-Smtp-Source: AKy350aov9lioJVpwI1KRbBh8u0KuhFa1kmT2vo6cS/TBCbyVeeOF11zqc1w8M8lu0NtDeEHQbxR X-Received: by 2002:a17:902:f292:b0:19a:945d:e31 with SMTP id k18-20020a170902f29200b0019a945d0e31mr13525175plc.13.1679988912796; Tue, 28 Mar 2023 00:35:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679988912; cv=none; d=google.com; s=arc-20160816; b=NFb9XmTiz1u8bwsfwOVrcx2eU1Ak7ro62EjqxpeuMe2byYYvAhQXvJKXkjX9s6LZ+C FE9N+GDDqSXveY+q+fteWfZGDTScKronSCWsbc7/7+HhF6PfW4NKzdaSKr2LvIECwD29 SkIRC1tLHMzfvHoiHyF98hzp4PBjC7973ZWMHh1HuxGRR92kWWhBt+Ta96GnnElldGYE qCNndybiNh/wPAx6nkUWjqQG6wwP6r4PygeZcqBV0kkkinv06FynHng3hUI6zJSlvAKQ 81I0rmnLruhs+T4G8BnJzFvtbjy4KJ4+2RjG2KaFIf3dt8E+9qJZJy39iOtWboZwsGpP 9IhQ== 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=QV3iGa8KiUlr1LClhXl1D1BGw0maVF3hcUmABXx2qKM=; b=ZASyq0fJe+p6YUI9oDEGrO7BQyl8gIXa+L9rSYx5vdgUjdFapDcK9jDIas/f9qCRIo kCrndMXr8Rz6HclzvPTPE4DRG1iG0o/9Cy2e33QxOuDdXlEQsF09478SnFLSAzkE8ulv bTlGsWgqROSWr9qG+Lt/GULDAiTQjWzI3hNdNeWdTjd01lZDxm55ygHVmxOC9cBADnwM IQOi57l9PvAo2fpQAFzMEU8xx9dvVxqTeHuHSjvUVnrFRifK05zqSh/UStpWBwwM0h7Q Wl6ln27ad59Q/lAzusxNrsgyPK+CAkz6yLBclLBxvinwIGQV+746t0Cn/9PCJEUHwP9Z VFVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="fInw/jj9"; 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 jb10-20020a170903258a00b0019e8456b5f2si28034584plb.619.2023.03.28.00.35.00; Tue, 28 Mar 2023 00:35:12 -0700 (PDT) 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="fInw/jj9"; 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 S232190AbjC1HeS (ORCPT + 99 others); Tue, 28 Mar 2023 03:34:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43298 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231927AbjC1HeB (ORCPT ); Tue, 28 Mar 2023 03:34:01 -0400 Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4D2753C20 for ; Tue, 28 Mar 2023 00:33:50 -0700 (PDT) Received: by mail-ed1-x529.google.com with SMTP id y4so45878077edo.2 for ; Tue, 28 Mar 2023 00:33:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1679988829; 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=QV3iGa8KiUlr1LClhXl1D1BGw0maVF3hcUmABXx2qKM=; b=fInw/jj9PBtFRJxZSJU9mdDm8tBLrvz2djTwCMJCrmyHKb0pKW94UF4kdEPu6LAEUJ 9GNtSNMWzDhBA7Cj8ZfWzJT0WLyRYME9zHcvyOiIQlDDe3s8IqQw80toZOXrIN/t9lyn XfHj88tV6ORsmV+l+2hfshDFuk48ix4B4eP2g= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679988829; 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=QV3iGa8KiUlr1LClhXl1D1BGw0maVF3hcUmABXx2qKM=; b=AuVKTzR0zygT52wdDK+eGqCRT5jbf1oszEbCIqZm9Sk7GxT7vhu2gi9gor2MpAfXdL 9EUQb4QpWjmETXGgao/FPX8jDmbbs1LNV0Ew87TYDf9gKnR8g/cBLu2PEeKyZVpCE5sj mAAeep0AOfJDnjI8T8IEJOBtgq4pQsBImNyMT65nk1pijqwmSIK0rAawJEj9Oy7qrhNK z9YKOlve6vw/Lkd5/n7QO652ejHRyZ7tOO+GybYe7N2re7G61Qnbc5tlB7/R+5kQDIlO 1JGUAiwywwZaYOTuWysrefkYat2EASHoCYk471Cs//THWYBJxsQWUHdruPhiqyYYbbVv Ux+A== X-Gm-Message-State: AAQBX9dgsyUZJI+jRZ4KNxsP2Q4KX0gwuhOCbz+2GPXNuOnP6iEoNwk+ 0sWEz9OkXs70ZTgLnIDcAWVdB1ssnW1eBQY2FKEyOQ== X-Received: by 2002:aa7:db92:0:b0:4fd:2346:7225 with SMTP id u18-20020aa7db92000000b004fd23467225mr15202535edt.34.1679988829563; Tue, 28 Mar 2023 00:33:49 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-87-0-102-254.retail.telecomitalia.it. [87.0.102.254]) by smtp.gmail.com with ESMTPSA id 15-20020a508e4f000000b004fa99a22c3bsm15478850edx.61.2023.03.28.00.33.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Mar 2023 00:33:49 -0700 (PDT) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: Vincent Mailhol , Rob Herring , Amarula patchwork , michael@amarulasolutions.com, Marc Kleine-Budde , Alexandre Torgue , Krzysztof Kozlowski , 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 v10 4/5] ARM: dts: stm32: add pin map for CAN controller on stm32f4 Date: Tue, 28 Mar 2023 09:33:27 +0200 Message-Id: <20230328073328.3949796-5-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20230328073328.3949796-1-dario.binacchi@amarulasolutions.com> References: <20230328073328.3949796-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.2 required=5.0 tests=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 4523c63475e4..3bb812d6399e 100644 --- a/arch/arm/boot/dts/stm32f4-pinctrl.dtsi +++ b/arch/arm/boot/dts/stm32f4-pinctrl.dtsi @@ -447,6 +447,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