From patchwork Sun Jan 8 16:25:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 2618 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ej1-f71.google.com (mail-ej1-f71.google.com [209.85.218.71]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id B591B3F0CC for ; Sun, 8 Jan 2023 17:26:05 +0100 (CET) Received: by mail-ej1-f71.google.com with SMTP id hd17-20020a170907969100b007c117851c81sf4003440ejc.10 for ; Sun, 08 Jan 2023 08:26:05 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1673195165; cv=pass; d=google.com; s=arc-20160816; b=Q0Dq1g/2BHPdC3cGITZSFGD/CobVoyii2naGiwPykctTqR6BEHjqECePrVjbycHD3l YQYWAP276E4x0R9e9x5k3lqP8wLI/cM7iZ7tsanvIB3BHvLnyCWGrjspcaEMfgPAAzwI a4IPQHneNYXyQVl7lWxUkQpIwaKpwygH/2Sqk0gDjDNg+wjI5+1Q28QPyxWG/0N8AgzG kZK9Xs4w+8qyoVQ+OavelelBuPn62kxnnmLfKN+5YCiyL1qjak1tOdKWiTnRriHF/MTf tDG8phFoKjCn2uGDsMaSN0cfO/wrW/77Sv6WPcE7SUsXIVwt3FN+GxTrycENBjGT+aUg Vq2A== 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=WPZFPC0LIg+Ui+XDjcph7phwAslDEQjxg+3LEBtUn+g=; b=P3P5bv2sE31Z4FcHoWYT1DJzqvvR+su6XeNjxYrOz73MDnY0roExX1VbZzs0o8DimS /0H0niCuF3VRmmbEzQ20bB6hBDI2WudDWzvSmuVWARE++88RrRZrmUtf1aa84lv8rK5m EkAsy4d/3D5I+vgupc/Fq78GPgZ8Tul7WUUsEhCRYuX8PpMVlZJD+gTUQkFjCAJtH6MQ +w3mHmMcFcw62QrHXiKPVxXfOiei9NhjBXknpgUYTE/7ddepiZnsR86Isxc5CExaUM/o 86FSDDDFNsAviGLy0GEF/H4ZmOls8/f0jE/hAbhV6xEgkKKkrNAX722DhfOP/77gAWC5 kgow== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=YSC3OP4T; 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:subject:date:message-id:reply-to; bh=WPZFPC0LIg+Ui+XDjcph7phwAslDEQjxg+3LEBtUn+g=; b=H7uZGL+Vj5iUDImy3xHMy1ku/JVPO0TfYVnHlDIgGP5Ekrf7jJYvW5VOQYAjSpLT4d PzT4Yuzabe90C9XFrJRoe2W0/pI88/YJ7qgdMWxUolc+slqVa4WjLSnwLTytrDqx86Zj QzZMzwqybYyZYGciycbQhAcud6WAksP2TPLXA= 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:subject:date:message-id:reply-to; bh=WPZFPC0LIg+Ui+XDjcph7phwAslDEQjxg+3LEBtUn+g=; b=h1B5Azq+g3pZ7nX/Ae5qGTlrOPKBqSPjE4nKGv1eAY0w90UoeMxfe0Jg0IjC0boVY1 8OhgHUqu+fKXWHq3iuP5pcSXoQ2Ds4i5b3dyjj2PAs6Tv9Ol85p0VSHRrbu9oB00a3RA V/0jVlUMKlgLRUfhlDVsdqFnIN9pVm9OJEikrakVGrs3hpBCIg97ZbZg8WjF8x8FC7DV ZdqHL77wu+ZtaqUjHRmZPnJREcwZ/ou4BRrM4KdMZikuj7Ei3FOr2/x4d4YM+cufGZpW +JDxm3ek72SQO1ibe/7I19BcHFkw8mCU3Kkab19LIxie3UuGOFsEAskYogcVvGLnye66 NYLA== X-Gm-Message-State: AFqh2koq7mqRITLfyD3RJi+VIL9To0IJ7pFbRSM7xHHC+y0pZxhPtGMM 5uQRaP24a3IlkLrpg1pUfdUCHTRx X-Google-Smtp-Source: AMrXdXtDJfijve2iuxW9DHcpVnm/1Da2Udj9VFRLb/DpSWErrT47OdCoHhCtB24lnoAr4gktPmM+Rw== X-Received: by 2002:a05:6402:401e:b0:48e:afc8:2c02 with SMTP id d30-20020a056402401e00b0048eafc82c02mr1829422eda.396.1673195165538; Sun, 08 Jan 2023 08:26:05 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:5213:b0:43d:b3c4:cd21 with SMTP id s19-20020a056402521300b0043db3c4cd21ls2237347edd.2.-pod-prod-gmail; Sun, 08 Jan 2023 08:26:04 -0800 (PST) X-Received: by 2002:a05:6402:3985:b0:467:9976:2e38 with SMTP id fk5-20020a056402398500b0046799762e38mr57707218edb.18.1673195164575; Sun, 08 Jan 2023 08:26:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673195164; cv=none; d=google.com; s=arc-20160816; b=OBhVWBSyaP4QLJvd0bQdw7GX/7NmCluilssqry9L/gTEDZF9bZfqF09I3Gf+TZBVu3 1K6uELQnGru+f6Y7rSgacBa/9JmprLuJXpK/Vi9h0dzOc2qCVbBUIecXd9jftcYunbnC /oXCDyqGdTm2NJYX44RSXTTj0vEyDwC9YSfcJBoXYZGAXfxv8UT/NrmZ0AlrIC0GMc2Y 6onDbkvhOJmb89o1I7w8B+wBdyZ6ieuBfGQsP7aI7C+tu7Bj1NhJO0K6Pu6UG6dM2lz2 WW/qa8DHrV+BebinZK9g+gKgWxPQ+dPBJr58S+fKfigbeXD8gjjD13gEjXVAgtyIFvrS pb6w== 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=jfErmyZAWFClEhl0ayKENaiIcOOkglWFws7K0nbLI8s=; b=gEGKNkORjRFQAnffytY75NlxCbFUniVLLe+BR2/46Qkq73jyCp8pC9pqtkaCs1YWKk VVAmLDuWGFxGc2fPcg0uP4QCSaCDL4ZI9r7H8tp348C2UxWtklmtuS40pLAn3cbN42ye 2AAsZjLko8KdKzypryZWq+I/OyhSHBqoA3Fn79nfCKenVOLIvS5yIhblsDaDVwaFttMZ zQ8HsOnRI4s8+8NYyO2DgASjnGoiGdulGhCZ3940p6BYiYqFcG2ubcPmoAkHr3DETfyF F286iAS5rAx+t7QDokl7os1KUFumlddAqg4lhrBA9qYB2YSrybQKgfQp9srykOOz3/2x QtDg== 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 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 f19-20020a50d553000000b0048edac53e16sor3035483edj.21.2023.01.08.08.26.04 for (Google Transport Security); Sun, 08 Jan 2023 08:26:04 -0800 (PST) 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: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 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=YSC3OP4T; 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 --- (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; + }; + }; }; }; };