Message ID | 20230207112926.664773-5-dario.binacchi@amarulasolutions.com |
---|---|
State | New |
Headers | show
Return-Path: <linux-amarula+bncBCQ4XFG47UFRBOXMRCPQMGQECPYZVYI@amarulasolutions.com> X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 73A8040CCE for <linux-amarula@patchwork.amarulasolutions.com>; Tue, 7 Feb 2023 12:30:02 +0100 (CET) Received: by mail-wm1-f72.google.com with SMTP id fl9-20020a05600c0b8900b003dfe4bae099sf6768557wmb.0 for <linux-amarula@patchwork.amarulasolutions.com>; Tue, 07 Feb 2023 03:30:02 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1675769402; cv=pass; d=google.com; s=arc-20160816; b=tBJna8CwPvt5L8d0LfPix3UCbxTrSoXf9RwKTArdTM0np9+mYcsJmF4wARr8O7/wuN 2qBTTQR5wr+dze0E7BWR1pn63ezbwZI4yDBGcFc9zEv+LjvCmN2kfgmwGvAjzxSUefAa SBSBU5Fsz02qNZ8wvYI2L7XGcnvyfDTOJ5T5ZWKpGApgrCAwzryV9kGAa8pdBRC5JHgT KRZTtQABSVKxt+efiWTRzFPizQz/80McWV5+rDytDiuUbDbwHcnbUly8EU7c9tJrYaee 9RKespnUcN5qUM4wVBDdVICQ79v6p0CxpOLmwZSbES3SZbucsond5+bLGJg9YOsWiIPD bjHw== 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=Dlr7H4omR0GuqR+ZM4gUsMLGBYF4+IZnfFF9pnx/fgyQxTGlIKhD7jRtJ3QBCvlTeE VZ2tA1JM6dt+/8H4/S/Z04QQ5Mv/OF6M4QL9sjAutPytYcOHKChKFzlnIf7O7nQss61l 1SnPBZ5oiVvd3Qex2E+nNEYjOPIaYD5oDTMZ3VVXR8ZC+mwliuF9C1iZNGr7psQDZpOh Rg9fn/v9lXsUAjjUiRHIipee2SLDyGg9DUAgr5nCrpK8o6BZQkWCgq/amw71AF2XwiHo QbYQ34oCH1JxMEjGJA4iy7EOaPb1MSl/HKhw7gwI73dHcURD2Mq9tUiM9ybMWiosoVCD BUwg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=PmQjSqc2; 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=Ys4oxYlqrrKbt4WozvgiwcT5nPWs9HaDhnLZWbOWsmTeOgigaVLC1oTXvRJM9sKvuF +nKhpvsuNx6Kxz0+4fD23EDfGlwSOZSe8w0s19dpcGxS589C5LK5qKIe64hme0Mwd1xl dQXxfgByf7LP5wVGEQqIP8zJ7ob116lcOgzSc= 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=D1DP+45OMQLL8S+bhxex6kSREcpOUr2HI9lp2cMBH/N18ncOUjEOCXla6w/wDzunzH oq/bJCUS1SNdsApVaRtCsqPX9YbwTnywWI1/P92qEmainqgrfg5/Rmc6jIG9xUf9Ta9i DWuXk2t1JOYAN1CLbyuSswZUesotUKBP5zbKxVONSZ2dZ7J4oicoiWkmSnP0rbN5n4iG VJG2WaUy9Wv0gcxXPkjiTvuK03iwVodose67p1vObdw2y8AstN+NlaOaAnDMu75YZHlN aB5SfXk0pxJpLmpXWKhGhXZ7KnFrHMeKPJlgOt5xXywZeV3FNBqEZw/qIerE+TulESgy AWHA== X-Gm-Message-State: AO0yUKXSZaaOqxlAZtCjOtv2PoxY/jUuOoxpB8V2XrKUvU2N2S/07AqN 9ajsxkmsZqHihTJ87ERJGdOrSqkvem31FQ== X-Google-Smtp-Source: AK7set/7nGNG1aelj0EGor+4WH1pr2hkfRWLt2LKPWMYLoxipElsoEg1ekjtfGFHzHWUWfF9At+31A== X-Received: by 2002:a1c:f613:0:b0:3df:f6cd:8bae with SMTP id w19-20020a1cf613000000b003dff6cd8baemr252209wmc.31.1675769402187; Tue, 07 Feb 2023 03:30:02 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:600c:1c17:b0:3dc:5300:3d83 with SMTP id j23-20020a05600c1c1700b003dc53003d83ls8108116wms.0.-pod-control-gmail; Tue, 07 Feb 2023 03:30:01 -0800 (PST) X-Received: by 2002:a05:600c:1894:b0:3de:1d31:1048 with SMTP id x20-20020a05600c189400b003de1d311048mr2815688wmp.29.1675769400755; Tue, 07 Feb 2023 03:30:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675769400; cv=none; d=google.com; s=arc-20160816; b=RwGmcDT4NFDzDz8vlH1yoAdc1t5ru2TI+0p2CEbARbdddoWM8fgZZs6A3Axk+XLzgf w781jUqdKiqNSlwWnXi8ZLTnkp8O6jl4SkuxCxiyOWWFQPEy+HxyUN4RyWUzUqz9QFO2 R7yFtLQ3injwUBqGx2mMqjGPQ72wPucx+I/L3lCtqfDPtmYlBI3bi1T1vytKyR1AfwY5 Fcy6MQBs8m5wlDNgMOUyKC3WcoZiE3bs7rJFvSuSPs66lXj1WBQzR8jERYaWuV+690Da aV3O1+Vd9qWs8iS3/1vGMRvJQwFUYli6VL0MMahNYZYXV+v/IvHMb5oMwQr0x90Kh1bL 9pRw== 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=Z4GtcrXbmor4+nIpbkEr/lYmudFdN373H4xDylk+Goh2mLqQEVM2X0y9C2wIQytVgw hXIspe+ms4iIUHHs0cjV2+cXxlprEFzkZ2k6kwQTpg7Pw1HYT8Dpt8mPpFbzrW8KiTLV x77Ky2L8D6aNYuGFWrWEFNuryKrfVnoVHQYmBtYfsFVGyUEwwDTR0swo7yqRIiVoMdse ++hWpkMnvsUFpVZkmRi+VJD1wZWSC6xAcz474yE8HfNi1By9pnvOscFYgCiPvQsfP0Vt Ag94x2UX8lry/VFIS6HZVarfR+YngtFhroI1lfOLD7k4EEu3zJcpjxYgJlV0AFP3MxRf /vgw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=PmQjSqc2; 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 y7-20020a7bcd87000000b003dff71b3f97sor2847441wmj.37.2023.02.07.03.30.00 for <linux-amarula@amarulasolutions.com> (Google Transport Security); Tue, 07 Feb 2023 03:30:00 -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:600c:4485:b0:3db:887:8c8c with SMTP id e5-20020a05600c448500b003db08878c8cmr2882940wmo.27.1675769400595; Tue, 07 Feb 2023 03:30:00 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.amarulasolutions.com (mob-5-90-193-20.net.vodafone.it. [5.90.193.20]) by smtp.gmail.com with ESMTPSA id bi5-20020a05600c3d8500b003db012d49b7sm2020827wmb.2.2023.02.07.03.29.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Feb 2023 03:30:00 -0800 (PST) From: Dario Binacchi <dario.binacchi@amarulasolutions.com> To: linux-kernel@vger.kernel.org Cc: Marc Kleine-Budde <mkl@pengutronix.de>, Alexandre Torgue <alexandre.torgue@foss.st.com>, michael@amarulasolutions.com, Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>, Vincent Mailhol <mailhol.vincent@wanadoo.fr>, Rob Herring <robh@kernel.org>, Amarula patchwork <linux-amarula@amarulasolutions.com>, Dario Binacchi <dario.binacchi@amarulasolutions.com>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Maxime Coquelin <mcoquelin.stm32@gmail.com>, Rob Herring <robh+dt@kernel.org>, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com Subject: [RESEND PATCH v7 4/5] ARM: dts: stm32: add pin map for CAN controller on stm32f4 Date: Tue, 7 Feb 2023 12:29:25 +0100 Message-Id: <20230207112926.664773-5-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20230207112926.664773-1-dario.binacchi@amarulasolutions.com> References: <20230207112926.664773-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=PmQjSqc2; 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: <linux-amarula.amarulasolutions.com> X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/post>, <mailto:linux-amarula@amarulasolutions.com> List-Help: <https://support.google.com/a/amarulasolutions.com/bin/topic.py?topic=25838>, <mailto:linux-amarula+help@amarulasolutions.com> List-Archive: <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/> List-Unsubscribe: <mailto:googlegroups-manage+476853432473+unsubscribe@googlegroups.com>, <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/subscribe> |
Series |
|
Related |
show
|
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 = <STM32_PINMUX('B', 9, AF9)>; /* CAN1_TX */ + }; + pins2 { + pinmux = <STM32_PINMUX('B', 8, AF9)>; /* CAN1_RX */ + bias-pull-up; + }; + }; + + can2_pins_a: can2-0 { + pins1 { + pinmux = <STM32_PINMUX('B', 13, AF9)>; /* CAN2_TX */ + }; + pins2 { + pinmux = <STM32_PINMUX('B', 5, AF9)>; /* CAN2_RX */ + bias-pull-up; + }; + }; + + can2_pins_b: can2-1 { + pins1 { + pinmux = <STM32_PINMUX('B', 13, AF9)>; /* CAN2_TX */ + }; + pins2 { + pinmux = <STM32_PINMUX('B', 12, AF9)>; /* CAN2_RX */ + bias-pull-up; + }; + }; }; }; };
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 <dario.binacchi@amarulasolutions.com> --- (no changes since v3) Changes in v3: - Remove 'Dario Binacchi <dariobin@libero.it>' 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(+)