Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp4600356pxv; Tue, 20 Jul 2021 07:29:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxGh3hVyxC5QrQ1uWe6gKxyxZWLMws5AyrFP9BQJF0pHnSuWZMqiBgH+bd/rPE0kFyD9tNr X-Received: by 2002:a17:906:4784:: with SMTP id cw4mr32430154ejc.160.1626791367047; Tue, 20 Jul 2021 07:29:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626791367; cv=none; d=google.com; s=arc-20160816; b=rqEp1eX1t7yaOeOJmhqdDB8WU2AGFCV9xBiuLq2qbzgcNDwvOYs7771+vraeJfUxW4 H5BE2H4P54K0eB6G7gTAt7ZxP9ahrwp+XwO8+BcGYZ25jB4o7xEAG6OVVD6wFPbZSSnx 4NEaKQL0yUQscFxWrUoBUBe+WlkvaHj0rwt/P0G7rwjBDaI1DWq9Gt7v8iuvRQe9s7Zu 6hhAOxQRS0eNZbJnxVpdLICYhbhS8ljRZHB0e4mZEOttotZKGAFtIQy4AQjwWMlITUVh pR2kE23uNcOAgtqqJyYrfc1MTUI+fcbkUTKKg+s0HUJWtcVaDckb+X5g4Z0XOZjUl/Lr qLCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:mime-version:references:in-reply-to :message-id:date:subject:cc:from:dkim-signature; bh=n05cGgv/AOcWo8DpoOoOPFiHgCgSTId0YfYwRblfozI=; b=aM8Om26FPb5Po6yxX9kEHY+qsdfScAgIruoyc96aJLC+4kLG1CLLxvlUOYIWOZrs9D 9n+uho6FHUg3TDev5etUh9aYbnXL1/7PviOEWJ1qG1ez50u47ZOTdCmBtZcPyNRF4JoG v2Im4xuDdfSvE5JEZshhCDKgmy4ZF6LArT6jkPA8W6/Mr4YcjBfHuTyhGpwPcUZQbYC5 fZqeykYQPpiZWLl1AfgEwI+fpFdx1OlrGJ9GOEAXl0zrDnmAqhP8lJSCLIGzlii+7bnR AmYbSJ88j8Cunr1Klm6HY7VZ3eVrRrko49q0lE53aZmbiz3HLH6OhJ3njpY+nT/yAHv2 K9Ag== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@ti.com header.s=ti-com-17Q1 header.b=HDuI4Y9V; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r25si24525754edp.437.2021.07.20.07.28.54; Tue, 20 Jul 2021 07:29:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@ti.com header.s=ti-com-17Q1 header.b=HDuI4Y9V; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238669AbhGTNpN (ORCPT + 99 others); Tue, 20 Jul 2021 09:45:13 -0400 Received: from fllv0015.ext.ti.com ([198.47.19.141]:56276 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231919AbhGTNhE (ORCPT ); Tue, 20 Jul 2021 09:37:04 -0400 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 16KEGptS090784; Tue, 20 Jul 2021 09:16:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1626790611; bh=n05cGgv/AOcWo8DpoOoOPFiHgCgSTId0YfYwRblfozI=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=HDuI4Y9VUbaJeGKaqSdtciypT+o9dC8JsPzudyTpHr0keo0jgddamfCIkLRgXzAeI gfJ1bVG1J9s34sELYy7CsyuTrm0npcIGVygK5MLYjC96O6j/y0hP9yzoqqGAIT/iDb 9eKNhRw4cZPZh4JYg0iW52wsk1hh0TBOrKba+k/c= Received: from DFLE105.ent.ti.com (dfle105.ent.ti.com [10.64.6.26]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 16KEGpmf101646 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 20 Jul 2021 09:16:51 -0500 Received: from DFLE113.ent.ti.com (10.64.6.34) by DFLE105.ent.ti.com (10.64.6.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Tue, 20 Jul 2021 09:16:51 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE113.ent.ti.com (10.64.6.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2 via Frontend Transport; Tue, 20 Jul 2021 09:16:51 -0500 Received: from gsaswath-HP-ProBook-640-G5.dal.design.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 16KEGh4o044909; Tue, 20 Jul 2021 09:16:47 -0500 From: Aswath Govindraju CC: , , , Nishanth Menon , Tero Kristo , Rob Herring , Marc Kleine-Budde , Lokesh Vutla , Aswath Govindraju Subject: [PATCH 1/6] arm64: dts: ti: k3-am65-mcu: Add Support for MCAN Date: Tue, 20 Jul 2021 19:46:37 +0530 Message-ID: <20210720141642.24999-2-a-govindraju@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210720141642.24999-1-a-govindraju@ti.com> References: <20210720141642.24999-1-a-govindraju@ti.com> MIME-Version: 1.0 Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Faiz Abbas Add Support for two MCAN controllers present on the am65x SOC. Both support classic CAN messages as well as CAN-FD. Signed-off-by: Faiz Abbas Signed-off-by: Aswath Govindraju --- arch/arm64/boot/dts/ti/k3-am65-mcu.dtsi | 30 +++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am65-mcu.dtsi b/arch/arm64/boot/dts/ti/k3-am65-mcu.dtsi index c93ff1520a0e..f8fff0a5b127 100644 --- a/arch/arm64/boot/dts/ti/k3-am65-mcu.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am65-mcu.dtsi @@ -159,6 +159,36 @@ }; }; + m_can0: mcan@40528000 { + compatible = "bosch,m_can"; + reg = <0x0 0x40528000 0x0 0x400>, + <0x0 0x40500000 0x0 0x4400>; + reg-names = "m_can", "message_ram"; + power-domains = <&k3_pds 102 TI_SCI_PD_EXCLUSIVE>; + clocks = <&k3_clks 102 0>, <&k3_clks 102 5>; + clock-names = "cclk", "hclk"; + interrupt-parent = <&gic500>; + interrupts = , + ; + interrupt-names = "int0", "int1"; + bosch,mram-cfg = <0x0 0 0 32 0 0 1 1>; + }; + + m_can1: mcan@40568000 { + compatible = "bosch,m_can"; + reg = <0x0 0x40568000 0x0 0x400>, + <0x0 0x40540000 0x0 0x4400>; + reg-names = "m_can", "message_ram"; + power-domains = <&k3_pds 103 TI_SCI_PD_EXCLUSIVE>; + clocks = <&k3_clks 103 0>, <&k3_clks 103 5>; + clock-names = "cclk", "hclk"; + interrupt-parent = <&gic500>; + interrupts = , + ; + interrupt-names = "int0", "int1"; + bosch,mram-cfg = <0x0 0 0 32 0 0 1 1>; + }; + fss: fss@47000000 { compatible = "simple-bus"; #address-cells = <2>; -- 2.17.1