From patchwork Tue May 15 12:23:58 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Erwan Le Ray X-Patchwork-Id: 135874 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp945258lji; Tue, 15 May 2018 05:24:51 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrUjuHa7N7VUjXHCrKux35sOs4X/oO3EZPNEOM3SKIQ0O1gioBMcBe7q+A2U6G4SfGSmnmc X-Received: by 2002:a62:cf43:: with SMTP id b64-v6mr14818904pfg.248.1526387091497; Tue, 15 May 2018 05:24:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526387091; cv=none; d=google.com; s=arc-20160816; b=f1dbHdu0Lp+Abhppm/n6fYS30bMHOTv4+88i5bxfekXIRLj+EnuXyL/96PqU2XHSPC fEPcOh+PRy04ZQHLHLsf/7Mw3rFhUrgrl3egrE30/13ETu2BCyCy3encqQ90zij3QYiV zKlL9ALC+SXASC738nCzKE6KZCbaGd10xPKddA2xd5dwvgzkWnAGNVIn46j4tVXKu0RI xHCzKMzn2LP28HQedLfUCwMI1B0EdUwFGLIWdxPQRP3hrcBwKs2DR6TkMpTR/nVNDXAU u0WlFAsu7ATm59sb7oa0Fuh28UlN6XWhv5lOL1YgQzbdyddSM3wlBimPXTMGJZX2uDg4 49ew== 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:arc-authentication-results; bh=CkICZ+2HpL3Z7S1mFeTogAf6rznCXonF95u9VtA2xiw=; b=h1MrKEJ7YqQ8lTQHxMb3eLQW8ixfMaAel8vKNMEdTplO1H9nRUWYu/+EwGxDj+vw6L lFkLx46R5N3+VakfVP+8XnYs2qB2actfLgSbSv0691sw8va57FPHxefu35GyqUwuhbML SQm1ihH77HreYGo5wsNS60OJLIq6D4CXwstbAMViVIg1/08f5NLgg2rNH3zKiljMCibO vThmg3QW4xZpAnYZqowqEK06yYafPNAqFjdz4FhwfgP//UBXfxOG8V6O6/DUJ+Y9uh/6 t+r3URp9L8/xIoEwikGomXROWi2X+xyIxDLY6mW4bxyuILy3jd4eIoqx3wK/2DJKU8EA A2dA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c7-v6si11286190plr.145.2018.05.15.05.24.51; Tue, 15 May 2018 05:24:51 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753169AbeEOMYq (ORCPT + 5 others); Tue, 15 May 2018 08:24:46 -0400 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:4398 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753322AbeEOMYo (ORCPT ); Tue, 15 May 2018 08:24:44 -0400 Received: from pps.filterd (m0046660.ppops.net [127.0.0.1]) by mx08-.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id w4FCOKhN021029; Tue, 15 May 2018 14:24:20 +0200 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-00178001.pphosted.com with ESMTP id 2hys0qa5j9-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 15 May 2018 14:24:20 +0200 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 0153B31; Tue, 15 May 2018 12:24:16 +0000 (GMT) Received: from Webmail-eu.st.com (Safex1hubcas23.st.com [10.75.90.46]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id D89442CC1; Tue, 15 May 2018 12:24:16 +0000 (GMT) Received: from SAFEX1HUBCAS21.st.com (10.75.90.44) by SAFEX1HUBCAS23.st.com (10.75.90.46) with Microsoft SMTP Server (TLS) id 14.3.361.1; Tue, 15 May 2018 14:24:16 +0200 Received: from localhost (10.48.1.164) by Webmail-ga.st.com (10.75.90.48) with Microsoft SMTP Server (TLS) id 14.3.361.1; Tue, 15 May 2018 14:24:16 +0200 From: Erwan Le Ray To: Maxime Coquelin , , , , CC: , , Alexandre Torgue , , Subject: [PATCH 1/2] ARM: dts: stm32: m_can support to stm32mp157c Date: Tue, 15 May 2018 14:23:58 +0200 Message-ID: <1526387039-14813-2-git-send-email-erwan.leray@st.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1526387039-14813-1-git-send-email-erwan.leray@st.com> References: <1526387039-14813-1-git-send-email-erwan.leray@st.com> MIME-Version: 1.0 X-Originating-IP: [10.48.1.164] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2018-05-15_03:, , signatures=0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add support for the Controller Area Network m_can to STM32MP157C SoC. Signed-off-by: Bich Hemon Signed-off-by: Erwan Le Ray -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm/boot/dts/stm32mp157c.dtsi b/arch/arm/boot/dts/stm32mp157c.dtsi index b66f673..12ac73f 100644 --- a/arch/arm/boot/dts/stm32mp157c.dtsi +++ b/arch/arm/boot/dts/stm32mp157c.dtsi @@ -556,6 +556,32 @@ }; }; + m_can1: can@4400e000 { + compatible = "bosch,m_can"; + reg = <0x4400e000 0x400>, <0x44011000 0x2800>; + reg-names = "m_can", "message_ram"; + interrupts = , + ; + interrupt-names = "int0", "int1"; + clocks = <&rcc CK_HSE>, <&rcc FDCAN_K>; + clock-names = "hclk", "cclk"; + bosch,mram-cfg = <0x0 0 0 32 0 0 2 2>; + status = "disabled"; + }; + + m_can2: can@4400f000 { + compatible = "bosch,m_can"; + reg = <0x4400f000 0x400>, <0x44011000 0x2800>; + reg-names = "m_can", "message_ram"; + interrupts = , + ; + interrupt-names = "int0", "int1"; + clocks = <&rcc CK_HSE>, <&rcc FDCAN_K>; + clock-names = "hclk", "cclk"; + bosch,mram-cfg = <0x0 0 0 32 0 0 2 2>; + status = "disabled"; + }; + dma1: dma@48000000 { compatible = "st,stm32-dma"; reg = <0x48000000 0x400>;