From patchwork Sun Mar 26 16:03:24 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 2807 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ed1-f71.google.com (mail-ed1-f71.google.com [209.85.208.71]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 1E71F3F25A for ; Sun, 26 Mar 2023 18:03:38 +0200 (CEST) Received: by mail-ed1-f71.google.com with SMTP id i42-20020a0564020f2a00b004fd23c238besf9142197eda.0 for ; Sun, 26 Mar 2023 09:03:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1679846618; cv=pass; d=google.com; s=arc-20160816; b=mQBYcXZS2JgyBh+viZoWTaWUEiiA5lHYePYIFpgSP/a2Y/KB4svz8TqAwqyXVvZgbZ BrB8iVnY1OXJIX3hNPpqbf1AAlDsRMKsZD4pulPGoeZGbd4JW2lqIPBtztxYVOWmjLRh EcUmTeUvtdNY6pFIysMdi7v8Y8C9d6FAmZL7I32LG937wfF96zECsgwKPS/ZZ/gEmTbP dHW6WLs8aHB7y9ix2tiRZIv6RKw0oAXUbQqAWjczcnqHBRYCqT1oZYctPSt69oRGlSO4 upDV7xPjRxNlDGZV3XnY9IGUFiDK/04Y27Wkdbyh3Vq74XZ28e7J2/tnKpb1gqv4PZBY EbDA== 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=SfdrfT03OSwzGLgYfJRpTJI75xsr8u1PQr9DsxijOMI=; b=HxSXve4yAdhHtoHMKKfmb1xHFFIGSIo+L1xhD05I6IpdAVeqgoj8inD4Y1NFwW7iiR kZPxlQvc70N3I/SGHSIFscPULViA93MgjfrKmkuybsg3p/V/LAMh44gHAKtakHvvnsCR pUM5o5MJNNjo1bVG/cRNbrDTJ9fdwif8L2UxEvFutANqyiuEnJTpAUuT/5SlWd1aBVB7 cIr/YRlRlNTGnHaW7vMQCc4xqHG9dm0fi3IIevl4koSvUzJA5rH5Mnb5BRdaWTO+fhYv AfV8eGgJsFgmAAoubtBWvfGsWwAPwvrOIgAGzpakc7GAxVIkrS2gd1pSR/D2EA+2pu1y RRsg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=rq5dyFnU; 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; t=1679846618; 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=SfdrfT03OSwzGLgYfJRpTJI75xsr8u1PQr9DsxijOMI=; b=UBqMDK2UUPxMWniP5onE2lOUjV2Hmea9AV2KFccglr5wh8tpL8Rco7POVm8q8VPXLq kUA2YWarU1X+TsXO517iyGFQ1i2mGjwcJVuQeMAA6ngAe0A6kuE4kIkA+oAjbLcJgDmz 50L4XbvqR4/ptgd8I2gF6oSbgrscFfM5mrCEQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679846618; 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=SfdrfT03OSwzGLgYfJRpTJI75xsr8u1PQr9DsxijOMI=; b=o+vZ8K+UyR6QROKYXsBJJyd+wcZEZKDQTT6OaOjv1RtxThLXd3n4slEWOjE9+3iMZX m2WP9KDv72A4U+4k9HQc0rNQvsKvG0FISijswN12kR+86phEzp6JGTrMmA3wc6nfDpYT czTVWT4UOetNAaA0gT2XjQ6D776PNZgr9aF80ni4nX84sfoBmRq+FP7ifF1o70W1saSs FB097FINHdhlG7V1a5UvsIPZHxLrHdcgUC08hRKt6Yj3SO9yEEDOuSc+pkKSL6Z7wC0s lEi18IPCLanAbFgf3R9kk9LwyR7pQ0eXi7uHHaydF1xwya0vZvAtpvbhs+aZesf4FmF9 Mk0g== X-Gm-Message-State: AAQBX9dYv62uKY+MbkLFGSUMxiXiT0nTCeeIFjq9jjxRG7OvdN/ivEcZ I1b3levUFrhXOXTCVLVYai0g9CLTb6ULoylT X-Google-Smtp-Source: AKy350ZHWuv8iSvYE2+wEbCsa7oDjjEswF2sUxt1OQBhGv7kc7fPUXKgcwgiqxSdcU9F4RBwUMWiyw== X-Received: by 2002:a50:9f6f:0:b0:4fb:2593:846 with SMTP id b102-20020a509f6f000000b004fb25930846mr4103109edf.3.1679846617910; Sun, 26 Mar 2023 09:03:37 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:4311:b0:4ac:d2bc:e0cb with SMTP id m17-20020a056402431100b004acd2bce0cbls2566874edc.0.-pod-prod-gmail; Sun, 26 Mar 2023 09:03:36 -0700 (PDT) X-Received: by 2002:aa7:d14e:0:b0:500:58cb:3b05 with SMTP id r14-20020aa7d14e000000b0050058cb3b05mr8961708edo.27.1679846616421; Sun, 26 Mar 2023 09:03:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679846616; cv=none; d=google.com; s=arc-20160816; b=IvJ1gnE6+nSB6omPMtyqmOIrEEARcZwbbU2digllV7aJwmLwisT9ay3BO1zIeGpcxV O5yqJ1Z0vEheY+LOS3yWo4Wt13pfkW0953Jk3OX8uWobNXHms0NoEyc1z711xJ1I8wIv PCB+i6W+G67d6Lp6IFIyXK1+P7b+YbFoj1toTJfUUTY9j3Rfn+5mr2s7Ui0snVmOOqqF ueLUnlvD5SafLKyM2QotHSJI5NF8wPEWr+9On0Ortlz9lPBoas0zpvCBbhwnFvr/otR1 n+d/jV/ge/oCP4653F2Z62ui+BDJbm/fnmZEAfspLA5WJVa0BvOFDkDG0yssMuGeUWv9 WbXQ== 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=QV3iGa8KiUlr1LClhXl1D1BGw0maVF3hcUmABXx2qKM=; b=zv/Bgyr6pSGBQ4vGkPEaAt7IkSZgvgccQVXSMJr26NQ1lUkwsCfwqCzUdkbINGacPl T71wk63YfTNwrqHrzQ4gaFUJL+H57LeT41ALMH9pJzHNjv5Vhju+Mx1ADpKN5RJsKPfY /P8a/hQXqFqbsyDfUXIdAb2VNgxoyUcHBcPLa78hXQCz1SwXe5WBymKtb7/5261DxMVJ EjYNqvSz81htmelhFPXSq+ROqTHDSWg77uO3ARKZYZbT+LygxqVUvhTsJ3hxUfMtibT9 20ZbOkqJtTDwGOD5QTuH4U5jK/GawDUcFU47mwqVsZgWiPp+UwdOApF7b/eQrR+5JDDO Hq1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=rq5dyFnU; 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 c9-20020a509f89000000b004ac8e642725sor13010214edf.84.2023.03.26.09.03.36 for (Google Transport Security); Sun, 26 Mar 2023 09:03:36 -0700 (PDT) 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:70a:b0:4fb:9b54:ccb8 with SMTP id w10-20020a056402070a00b004fb9b54ccb8mr9305209edx.21.1679846616252; Sun, 26 Mar 2023 09:03:36 -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 m2-20020a50d7c2000000b00501fc87352fsm6869333edj.13.2023.03.26.09.03.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Mar 2023 09:03:36 -0700 (PDT) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: Amarula patchwork , Rob Herring , Krzysztof Kozlowski , Marc Kleine-Budde , michael@amarulasolutions.com, Vincent Mailhol , Alexandre Torgue , 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 v8 4/5] ARM: dts: stm32: add pin map for CAN controller on stm32f4 Date: Sun, 26 Mar 2023 18:03:24 +0200 Message-Id: <20230326160325.3771891-5-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20230326160325.3771891-1-dario.binacchi@amarulasolutions.com> References: <20230326160325.3771891-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=rq5dyFnU; 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 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; + }; + }; }; }; };