From patchwork Mon Aug 3 07:26:00 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 4791 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 7E9CE3F983 for ; Mon, 3 Aug 2026 09:42:50 +0200 (CEST) Received: by mail-wm1-f70.google.com with SMTP id 5b1f17b1804b1-49561facb1dsf11754445e9.3 for ; Mon, 03 Aug 2026 00:42:50 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1785742970; cv=pass; d=google.com; s=arc-20260327; b=T3wWwcsqUi6+2O4pFzcZ0okngyfzivOYaMqTwEF7km9bSCrIoFslpIht74YEAhLCAM GUTPIuuVJSWSTDkFKGmXKYkLsMzJi8Sw2SPerg5mFg2ycHWe92ySru+s8mNGvPk0KZad cB6Z+hHdLt+iHFF7Hy/40tVlpPFqZs+3GYd44+SH86JWyIk1MbgVN1260oa1NPUNVuZ0 2I0yqoa2HQAxbirzkJLOVHKwLR9Aya79n2UoRb/KIYYsYhkV7G0eEAhW1KKhS9FxKjOW X10oqQT1tpkMF731jxXmnKO3Xfu8Y9FHsxTEV0GbwE6BBYxOETYZLyeWmIvQZLdi/brd GY8w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327; 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=iDUnAA1V8258DZX5h+6MMs5VvqkGdyG27BDiBjPh9qw=; fh=fCnR/4VW4sA1JheoxXy3+uSDW2SL7KGirQBoeq2bt88=; b=E9ONog1qxELrxuvr0o89N3Tf/aKFX2DcdWdBYCAsRXNKQbqlXfN/wuwpcc1WgZfnn6 qPTlnrzFz2s07KpNnCZ+di90zu8ACkORE0XPEvwm7CggMgBZ2VgD1TK4nhhUDCXN3a2U j4XJRsXm+/tkxutLz/wBaEULGOrJpjNhS2dva15EOclEem1rkGALIstBw/B4PGZm1++9 rrRXlz0tqXK7rij0R5jFNqsV7vBddn4D067eH7GxrnUHMhG9pPuIahsPFXrzyi+tz1DS oLctdM+RjsmQIIU+EbdypMToAHl6m2yDgrhg6NfMxJlkNxcLfcU1RGPdsHnfvQEHc8tO COzA==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=jTu6d4Uw; 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; dara=neutral header.i=@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1785742970; x=1786347770; darn=patchwork.amarulasolutions.com; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:content-type :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:content-type; bh=iDUnAA1V8258DZX5h+6MMs5VvqkGdyG27BDiBjPh9qw=; b=mozWJrDb5xScf6FGKakOhELUUjD4jg5q5SS97koUnTNUJKnSY/HD39zI84e96c3Rtp xkrg9K85spzbMoB/vhoGXckaHfQjTER41eML7WvsZHSbZBk+SQb4SpmoGikPyYsGT3wH GCsuThSQxcww4T1yM7vjxLPdClVB1DSiHowZI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1785742970; x=1786347770; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :content-type:x-original-authentication-results:x-original-sender :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:x-gm-gg:x-beenthere:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=iDUnAA1V8258DZX5h+6MMs5VvqkGdyG27BDiBjPh9qw=; b=HesTvyuWXZlMgtummcsxKDiIq/sWaBum4HndCC9iJ/0r/Bkzc3GE649u476ZCu8vmO 9gGLYPukC3P65a8foFaOwK3TZJBiizVl0b+8Ki71htvk+XAzcqPDnOAp1MloCsZZtvbz HfBbX8hLdSF4QXPW/ymT4yN5wkKsadGiUTVnBWZ36+AlM9MGD6TdQs4Bj6E9flAWr3J6 iz4XdjPFogKyCEmSZz+as0dG1uk4u1YvjbRWIgUHhYZC+BcX+yymD/N9q0O4/2BZySdh l7w3lc5rruswmBv+TIZxBFWfUD7Iuy+SYF5V7fjKJJRwMeC2MB9mzQici6KVs4ok+7go Qj4A== X-Forwarded-Encrypted: i=2; AHgh+RpqQDfpn6y45hrH/FXeQr2LFP5RjQDO5ur13xgV9jsYzebWJDBwbYf/uZVQsKkQiA5T9jJu07bB90yq1c7l@patchwork.amarulasolutions.com X-Gm-Message-State: AOJu0YxP7W4GZLllWC/C0i9Q/jeTcKMfFHNdzeiTxXL/AiV6HPWIcqY1 yoZ0wReYW8mShvKBzhInbZM9mJcrGTpGpkGo7ARIptFb+hld3XooNMFfpllkzZ5DWxLtEEeQ1oI JLg== X-Received: by 2002:a05:600c:1504:b0:498:273:3271 with SMTP id 5b1f17b1804b1-4980c66d9e0mr101247875e9.1.1785742970194; Mon, 03 Aug 2026 00:42:50 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com; h="Aa7YSPQLJN+LaJfQatG3p/+3aJEjh/xUOY/ov8v3TkEDA6QpGA==" Received: by 2002:a05:600c:19d1:b0:495:abbb:e313 with SMTP id 5b1f17b1804b1-497fffa3f89ls31452985e9.2.-pod-prod-01-eu; Mon, 03 Aug 2026 00:42:48 -0700 (PDT) X-Forwarded-Encrypted: i=2; AHgh+RpexqXUPaVPLyJmDUxVEA/1O5ZNXzIjOFZ5izWUh31oU2uc58/Nlx3GLYwOUFdycl9d61n4mOAAQVE8strZ@amarulasolutions.com X-Received: by 2002:a05:600c:8b14:b0:493:e983:806e with SMTP id 5b1f17b1804b1-4980c66d8e5mr198039015e9.3.1785742968528; Mon, 03 Aug 2026 00:42:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1785742968; cv=none; d=google.com; s=arc-20260327; b=BY+5bZkaD5Z3rws7Hf7+UioZu8c+CE14eoqtigdaN6Jw0nCkGePUROSDz/2id7COmQ szaqP8zLG+SUepxkDTCZjBsowZktQlIO7fLkcuPK8CBOOAixVW0MJrfYnWNgiCxnOVeD E35RTSVT5/dKKwWPKpeCEu9x0SLiRiZzH+BOn253C4oFkZvJzyUAtISt6eSHEoxUw5uJ mkDhWIKwfw5q79XgcouS9VWtBXwY/1sio3LGrR/p+SJFBnix13c9RFfe5iEeTpzQUFjO K8govb38HunH9fCGt3QP690a6xFWFU8fu/r6IrshNT1Hvsx21OWZJBw3ggS4qfzsNday A0HQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=O50jeHT7n6IfAQOe8+U4Hub9w56VMIy6Werwz+99kvc=; fh=5+NSq6njlLR7lTOhSoqXc1PPmgPUu2WCyFVwUcSu+Pg=; b=q8wVJ16k7JSFu2ptOb6WwQ/9w2qSY3smhEZyugaBuqhWZGfPDdCHQU8o5CzOXi9PA/ QrmJJu/g0hVKCMdPb0Sdl3xc0/gDqrVfR4c6XfO+9+4QXduQ8AkJrUDo65NWkJO1cQAi K3/cN0JO5qnHqAEmt7FugM0rBJAROxSzvuOOQkSUIz0ak9bt3eYALalVG3lXvCYgM8OT upSySlFMDVfe3GiRO3N9j/UDWPPf0PACLg1x2+z1G+NJKq2qUP7nB/or1+jbyQTbxbbQ i7AT8bfv/06JbHCGYWCDuGqdxRsWTgfFIqeTe7pFPdFDvssj4hLZwGG7djGKdyHwFrqn koDw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=jTu6d4Uw; 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; dara=neutral header.i=@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 ffacd0b85a97d-47fd45d8007sor987483f8f.17.2026.08.03.00.42.48 for (Google Transport Security); Mon, 03 Aug 2026 00:42:48 -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-Forwarded-Encrypted: i=1; AHgh+Rrf0by1vgPvUG/Lr4FFA4pjnh0rrIaTCOiYdqx6WaCPOKfu4NAnoiS5XConYLRBDmSBBWz1teEG+hIh4RaY@amarulasolutions.com X-Gm-Gg: AR+sD12piVcw5RSzxN1CWkMYNcBtuH/8XckMcuoRJRrvsI1MWlL+Qmlk5TyvJJQ0QkP vDtcFnKIkefYJ3AY7lxvhNJbTNyhvzox1J68oSA7YJ42dBTMZIoO8S/Kmk9+1vLXu35m5uwOuIR XJSCM2lPDVZ8ptvznI9LboInM8XrlAFtkhxLJl+iw5NWFlYRqTyoaN74yBnUVBH4EWKgsbYCloH 6ZgXGVteTLA4SHwys9L14vM7cJPlzNkBbJe3J8nFHu1rfPKSCds5J1t5HMg17oUpNiPDkuhlHEJ UNNa+YCv5NkH6b6AdQBOs79SAvytKn8ssBm/ohZ1hf+8SVw6t/HVW98bnoBi3xDjCTY/tlmLkYw 5QDHfC86m/Mo9zSG4gap4I39xYpZPg8Vse4fJP347nBRFzArrQhZnpbwZL2A9Vgnlqa/UFz43J5 oc8Ki8DU1hvJCgEpYoOgqSbiJCMDgPg2IRoOAJ9iUKZlreBDeNIRDEL3uWb1d2F2qanyntZX8qB PbCkPPC9Umwiz6MkaEv3Q93vB7YMq7ZcuE1p4aY0FyQ6om/jQ9twrVgdZgNPfN6ljqbYfi8T6C+ bVR8K5jFqU/zlQUGIiUYHR0aiQMA5L24ZDGrogfG2VcW6vquSsajdbCwAWvvg0nK X-Received: by 2002:a05:6000:25fa:b0:47f:8f8f:e493 with SMTP id ffacd0b85a97d-47fd72ba69cmr21247856f8f.3.1785742968144; Mon, 03 Aug 2026 00:42:48 -0700 (PDT) Received: from dario-ThinkPad-P14s-Gen-5.homenet.telecomitalia.it (host-79-17-119-233.retail.telecomitalia.it. [79.17.119.233]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-47fd41d1a58sm30370503f8f.7.2026.08.03.00.42.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Aug 2026 00:42:47 -0700 (PDT) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: domenico.acri@engicam.com, linux-amarula@amarulasolutions.com, michael@amarulasolutions.com, francesco.utel@engicam.com, Dario Binacchi , Alexandre Torgue , Conor Dooley , 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 PATCH v7 05/16] arm64: dts: st: add CAN1 support on stm32mp25 Date: Mon, 3 Aug 2026 09:26:00 +0200 Message-ID: <20260803074224.3821911-6-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260803074224.3821911-1-dario.binacchi@amarulasolutions.com> References: <20260803074224.3821911-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=jTu6d4Uw; 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; dara=neutral header.i=@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: , The controller is compliant with ISO 11898-1: 2015 (CAN protocol specification version 2.0 part A, B) and CAN FD protocol specification version 1.0. Signed-off-by: Dario Binacchi --- (no changes since v2) Changes in v2: - Add resets property to dts CAN node. Suggested by Sashiko. arch/arm64/boot/dts/st/stm32mp253.dtsi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/arm64/boot/dts/st/stm32mp253.dtsi b/arch/arm64/boot/dts/st/stm32mp253.dtsi index eeceb086252b..7e82f01fdc10 100644 --- a/arch/arm64/boot/dts/st/stm32mp253.dtsi +++ b/arch/arm64/boot/dts/st/stm32mp253.dtsi @@ -43,6 +43,22 @@ &optee { }; &rifsc { + m_can1: can@402d0000 { + compatible = "bosch,m_can"; + reg = <0x402d0000 0x400>, <0x40310000 0xd50>; + reg-names = "m_can", "message_ram"; + interrupts = , + ; + interrupt-names = "int0", "int1"; + clocks = <&rcc CK_BUS_FDCAN>, <&rcc CK_KER_FDCAN>; + clock-names = "hclk", "cclk"; + resets = <&rcc FDCAN_R>; + bosch,mram-cfg = <0x0 0 0 32 0 0 2 2>; + access-controllers = <&rifsc 56>; + power-domains = <&CLUSTER_PD>; + status = "disabled"; + }; + ethernet2: ethernet@482d0000 { compatible = "st,stm32mp25-dwmac", "snps,dwmac-5.20"; reg = <0x482d0000 0x4000>;