Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp419522imm; Tue, 5 Jun 2018 23:08:53 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLyPCOeLgjadpDPZGIEMQgiRL8fjm0qJVetWoW49Yjxp1RRT1CyzFdcXOHcj16ziBlhilSh X-Received: by 2002:a17:902:5609:: with SMTP id h9-v6mr1937691pli.314.1528265333637; Tue, 05 Jun 2018 23:08:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528265333; cv=none; d=google.com; s=arc-20160816; b=kjL1Fq+WwRGnRbkVTa7BSpwUqFrBEomLQVNP7ew8rIdr8v9u+Ja7X+9ZSR5v9FgZYN yhb3QCuWDqssJFYn9p2nEcAGU1HTXvpUFrc7KJRUAc1IzceWtkPxIPfAclNsQip4wLiJ TeGdXdq4buGms/8GFwRehG4OXNMgbFeTcy9PoSlB7n/d8/0SzFgM6ofzpWKoYw/m8WfU nj1fOx6XPufiTHXWn+/jvWjsBZNvRoFOxevbDVwEw/XtkjGw4Mq1guRUpRcqV07Gpdqr iF0k/1A83dpNpvaT1wxwigPjI3LFsP1q7cTcHWucIO2pmgZ0D5NKzzThupcCbBB8QJi0 an/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=e2vU8IPiakgDIN+nqAh+zdax0yPopTIXy/2b6HNlNc4=; b=yeVKWJb3OpEGzGk6ONmmSWNrdliBnSlvRAAFV1g6xs8RymNz1nA2qYN+0snc5LoasK FVCBlOeNUydJiToI02bUQ0GAK6sD+Qts8MX9S+hT9r8iwTWRH9WcDz5Pe6TnkdGKBlI7 jsJuKvf6pL6+GtdOimkfI/jAQzfb5Nmlzq5njZnpuGR4JPnHq0ZzjK9yeEhFXkV1glb3 hWxhksz7/3OGGEniWqJttvo+4zOD50ji2xMcn7hjkFuK9fjqAXZjYrdduFKY86Lll9NF mzXMHS1ck9WFAYsaUSKjm/NCRW5Wcafz50hRKEogfPHeVsamPlbfCsAoq1k9DKV0EPjE T7IQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=ajNJb/u8; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n10-v6si49700707pfe.70.2018.06.05.23.08.39; Tue, 05 Jun 2018 23:08:53 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=ajNJb/u8; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932223AbeFFGII (ORCPT + 99 others); Wed, 6 Jun 2018 02:08:08 -0400 Received: from lelnx194.ext.ti.com ([198.47.27.80]:42366 "EHLO lelnx194.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932128AbeFFGIG (ORCPT ); Wed, 6 Jun 2018 02:08:06 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by lelnx194.ext.ti.com (8.15.1/8.15.1) with ESMTP id w5667Ogd017493; Wed, 6 Jun 2018 01:07:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1528265244; bh=e2vU8IPiakgDIN+nqAh+zdax0yPopTIXy/2b6HNlNc4=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=ajNJb/u877GKmKujLW14iwyCgtSzTm80iGxGna16qPZk9+W/n7gps/Om0ogA4gNKM Na7W2uHjNr9+ZdRfNi0wvW7vgs+GUo+9l6yjo6ETIARz4bS6xOkPJOY6Oej4KdT5OJ nYhErwMBx1bZsb+ZGoea1ntuKxAlQOoPTviHfp+g= Received: from DLEE114.ent.ti.com (dlee114.ent.ti.com [157.170.170.25]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id w5667OPP025217; Wed, 6 Jun 2018 01:07:24 -0500 Received: from DLEE107.ent.ti.com (157.170.170.37) by DLEE114.ent.ti.com (157.170.170.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Wed, 6 Jun 2018 01:07:24 -0500 Received: from dlep33.itg.ti.com (157.170.170.75) by DLEE107.ent.ti.com (157.170.170.37) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Wed, 6 Jun 2018 01:07:24 -0500 Received: from a0230074-OptiPlex-7010.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id w5666wtZ012358; Wed, 6 Jun 2018 01:07:21 -0500 From: Faiz Abbas To: , , , , CC: , , , , , , Subject: [PATCH v3 6/6] ARM: dts: dra76x: Add MCAN node Date: Wed, 6 Jun 2018 11:38:26 +0530 Message-ID: <20180606060826.14671-7-faiz_abbas@ti.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180606060826.14671-1-faiz_abbas@ti.com> References: <20180606060826.14671-1-faiz_abbas@ti.com> MIME-Version: 1.0 Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Franklin S Cooper Jr Add support for the MCAN peripheral which supports both classic CAN messages along with the new CAN-FD message. Add MCAN node to evm and enable it with a maximum datarate of 5 mbps Signed-off-by: Faiz Abbas --- arch/arm/boot/dts/dra76-evm.dts | 6 ++++++ arch/arm/boot/dts/dra76x.dtsi | 13 +++++++++++++ 2 files changed, 19 insertions(+) diff --git a/arch/arm/boot/dts/dra76-evm.dts b/arch/arm/boot/dts/dra76-evm.dts index 2deb96405d06..b6ac2b6ffc6e 100644 --- a/arch/arm/boot/dts/dra76-evm.dts +++ b/arch/arm/boot/dts/dra76-evm.dts @@ -404,3 +404,9 @@ phys = <&pcie1_phy>, <&pcie2_phy>; phy-names = "pcie-phy0", "pcie-phy1"; }; + +&m_can0 { + can-transceiver { + max-bitrate = <5000000>; + }; +}; diff --git a/arch/arm/boot/dts/dra76x.dtsi b/arch/arm/boot/dts/dra76x.dtsi index 5157cc431574..613e4dc0ed3e 100644 --- a/arch/arm/boot/dts/dra76x.dtsi +++ b/arch/arm/boot/dts/dra76x.dtsi @@ -26,6 +26,19 @@ ti,syss-mask = <1>; clocks = <&wkupaon_clkctrl DRA7_ADC_CLKCTRL 0>; clock-names = "fck"; + + m_can0: mcan@1a00 { + compatible = "bosch,m_can"; + reg = <0x1a00 0x4000>, <0x0 0x18FC>; + reg-names = "m_can", "message_ram"; + interrupt-parent = <&gic>; + interrupts = , + ; + interrupt-names = "int0", "int1"; + clocks = <&mcan_clk>, <&l3_iclk_div>; + clock-names = "cclk", "hclk"; + bosch,mram-cfg = <0x0 0 0 32 0 0 1 1>; + }; }; }; -- 2.17.0