From patchwork Mon Jun 27 11:05:52 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kavyasree Kotagiri X-Patchwork-Id: 12896514 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 79469C433EF for ; Mon, 27 Jun 2022 11:07:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=RNAbANt5wEogIMahNr4U5eANOgV+tQ292KJt4blVhyw=; b=zybBX7JGOANjPn dk+jiNQN7yVWMJX6Cet2tbIDHYG0a8GXqLFsIpmLOUdXRA7WfsczWZEdcEEZbEEzZS9qxhNgjU5j2 ImgpU3xG4/9hRNkPSxZkudpfSnhkjRmRKjIuRIloIiMPMWk58JpCi7S+SpWCK8Ti6jkMefIjlRJre es6/58SzEeu4b0SLj2EUHygqNIMmksOIrHqxkNPNH8rohFjwynrW77Q2Cd9FhaQcICPifRp9IPAZM fyiS65jqd8M3E26LmYi2y0tqGViXcpPkbkCwKj9xX/5rF2oldQw7ZKtzRINwV929jn+1bmi89AEz+ b/tvbg6zMe5hbcVygtqA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o5mZC-000No2-Dc; Mon, 27 Jun 2022 11:06:06 +0000 Received: from esa.microchip.iphmx.com ([68.232.154.123]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o5mZ9-000Nmp-LU for linux-arm-kernel@lists.infradead.org; Mon, 27 Jun 2022 11:06:04 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1656327963; x=1687863963; h=from:to:cc:subject:date:message-id:mime-version; bh=OoPFRHqikt/yBEHB9HcY/GvSuduX5hDNnHB8YUjJssg=; b=FWH/C6CZHHv/wRyapK82KYvrx24BHAR2NOrLvXPrZifNPl3XJdziaxAJ Zd3Kfn+mWZGah7Lp31u3OvwURC63PBJYxkWP9PlTn55SqVEotvpLdjVWk Yw1FUMEzizOoBPh4eV1S4jwgiVnU0uRzgwaoXwqbxw6JzBDsx4RDMl1sG E7oWPmi/kBpjVwv4+XcgAPewvWd2ysO1tzaizNGV6aYdv0CXGSx84w4XS v3xBvpleNjfM3RZyR70ZSVci8BfRAmlH+8Q9+D2c0K5RwQUl6Ygf5EI7M jEMYm8v2Oj+G9RGQt8OAWJcqaY9x6vGXfqyaxMl9jhV4CecqH/nL07CUj g==; X-IronPort-AV: E=Sophos;i="5.92,226,1650956400"; d="scan'208";a="101875529" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa6.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 27 Jun 2022 04:06:02 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.17; Mon, 27 Jun 2022 04:05:58 -0700 Received: from kavya-HP-Compaq-6000-Pro-SFF-PC.microchip.com (10.10.115.15) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.2375.17 via Frontend Transport; Mon, 27 Jun 2022 04:05:54 -0700 From: Kavyasree Kotagiri To: , , , CC: , , , , , , Subject: [PATCH] ARM: dts: lan966x: Add mcan1 node. Date: Mon, 27 Jun 2022 16:35:52 +0530 Message-ID: <20220627110552.26315-1-kavyasree.kotagiri@microchip.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220627_040603_782511_D00208D3 X-CRM114-Status: UNSURE ( 7.96 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add the mcan1 node. By default, keep it disabled. Signed-off-by: Kavyasree Kotagiri Acked-by: Nicolas Ferre --- arch/arm/boot/dts/lan966x.dtsi | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/boot/dts/lan966x.dtsi b/arch/arm/boot/dts/lan966x.dtsi index 3cb02fffe716..25cfa89dde7b 100644 --- a/arch/arm/boot/dts/lan966x.dtsi +++ b/arch/arm/boot/dts/lan966x.dtsi @@ -473,6 +473,21 @@ status = "disabled"; }; + can1: can@e0820000 { + compatible = "bosch,m_can"; + reg = <0xe0820000 0xfc>, <0x00100000 0x8000>; + reg-names = "m_can", "message_ram"; + interrupts = , + ; + interrupt-names = "int0", "int1"; + clocks = <&clks GCK_ID_MCAN1>, <&clks GCK_ID_MCAN1>; + clock-names = "hclk", "cclk"; + assigned-clocks = <&clks GCK_ID_MCAN1>; + assigned-clock-rates = <40000000>; + bosch,mram-cfg = <0x4000 0 0 64 0 0 32 32>; + status = "disabled"; + }; + reset: reset-controller@e200400c { compatible = "microchip,lan966x-switch-reset"; reg = <0xe200400c 0x4>;