From patchwork Sun Feb 21 11:18:03 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Nazzareno Trimarchi X-Patchwork-Id: 8368321 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id A47959F2F0 for ; Sun, 21 Feb 2016 11:20:43 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id BDDC52040F for ; Sun, 21 Feb 2016 11:20:42 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B0B66203F7 for ; Sun, 21 Feb 2016 11:20:41 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1aXS26-0005Hp-0I; Sun, 21 Feb 2016 11:18:34 +0000 Received: from mail-wm0-x234.google.com ([2a00:1450:400c:c09::234]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aXS22-0004zY-Sm for linux-arm-kernel@lists.infradead.org; Sun, 21 Feb 2016 11:18:32 +0000 Received: by mail-wm0-x234.google.com with SMTP id g62so122358300wme.0 for ; Sun, 21 Feb 2016 03:18:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=TM2JycepoeyrmRJGE0rNmYLMloRn5RQ80OgWYnI8NUc=; b=hKCsdexU+aWwyG9n3Y71zS3ZT//veYMdZspcoc05Iv2EiGsswjxHqeemcvZYmYv69S tkYnuppnI0hgfvovlTSRf9zVRXD72zg8Uw/WZpbZP9bY67BBnxPHQB3q1fNX8JcJGNeo OfQt+0xsFEOF5tUWpQ5yb8NdJGObkXmtmZXUsLVHpIMvamSUmgw1NbxNmqajbZzGlSe+ 7w+DjCuc2yUyTTVhIz0pYynKkeE1/rEX9KWo+KnsM+Wbm8FQSdCi/sos1e5UGQhe66lS w4lVqNv1zemHltXD+iHbBam8+kRCqVEnzfaaXliC5F4PF2xynAld00ToaDJkON22vyWw iy8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=TM2JycepoeyrmRJGE0rNmYLMloRn5RQ80OgWYnI8NUc=; b=NehCsPbMKzynusGOGSsXTjpAqLI7FAHc1gwxc76uf0hFOJWACmh11nIJbsF9YTP6oK qtjgZFiHTyF95Ph8tyVyWDc7YNWQKPG6F6S+W8gdOYpoLbkPxyNTTjlkgURFiR6wIkpI wyvt8wGTJ4/TyZdTVQWNhmriwksFpen9oY+qL2NZqnt1+wYZ8ej768lsjB4LFTKIh/Uk E1bbnpT7Fz9UGgBXd0zq0LY5axdbTO6imbV2uQdX+2COl3+kwQURf/7oAmOT4iTrLjgq LErnP0kxk/KPU3Q07ox55AP6SWe9SFm0fhElYPlx15npkKjvbVn6EJPKE/Nn5bQ+oq2b Lb6w== X-Gm-Message-State: AG10YOSTGiKeUfG1ZAX06XBN9FlW1vLCboXSa+5nqycXQedrvLcA254VVeFUkz+ddBompFsh X-Received: by 10.194.189.71 with SMTP id gg7mr22474688wjc.127.1456053487723; Sun, 21 Feb 2016 03:18:07 -0800 (PST) Received: from panicking (bo-18-152-163.service.infuturo.it. [151.18.152.163]) by smtp.gmail.com with ESMTPSA id s8sm19604524wje.35.2016.02.21.03.18.06 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Sun, 21 Feb 2016 03:18:07 -0800 (PST) Date: Sun, 21 Feb 2016 12:18:03 +0100 From: Michael Trimarchi To: Fabio Estevam Subject: [PATCH V2 1/4] ARM: dts: imx6ul: Add flexcan1 and flexcan2 support Message-ID: <20160221111759.GA5387@panicking> References: <1455963652-24618-1-git-send-email-michael@amarulasolutions.com> <1455963652-24618-2-git-send-email-michael@amarulasolutions.com> <20160220171816.GA24064@panicking> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160221_031831_204901_0E390866 X-CRM114-Status: GOOD ( 11.72 ) X-Spam-Score: -2.6 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fabio Estevam , "devicetree@vger.kernel.org" , Sascha Hauer , Brian Norris , Shawn Guo , "linux-arm-kernel@lists.infradead.org" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add support for FLEXCAN1 and FLEXCAN2. Signed-off-by: Michael Trimarchi --- Changes in V2: - remove stop-mode property because is not handle in mainline arch/arm/boot/dts/imx6ul.dtsi | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm/boot/dts/imx6ul.dtsi b/arch/arm/boot/dts/imx6ul.dtsi index 99b6465..f7b852e 100644 --- a/arch/arm/boot/dts/imx6ul.dtsi +++ b/arch/arm/boot/dts/imx6ul.dtsi @@ -14,6 +14,8 @@ / { aliases { + can0 = &flexcan1; + can1 = &flexcan2; ethernet0 = &fec1; ethernet1 = &fec2; gpio0 = &gpio1; @@ -234,6 +236,26 @@ clock-names = "ipg", "per"; status = "disabled"; }; + + flexcan1: can@02090000 { + compatible = "fsl,imx6ul-flexcan", "fsl,imx6q-flexcan"; + reg = <0x02090000 0x4000>; + interrupts = ; + clocks = <&clks IMX6UL_CLK_CAN1_IPG>, + <&clks IMX6UL_CLK_CAN1_SERIAL>; + clock-names = "ipg", "per"; + status = "disabled"; + }; + + flexcan2: can@02094000 { + compatible = "fsl,imx6ul-flexcan", "fsl,imx6q-flexcan"; + reg = <0x02094000 0x4000>; + interrupts = ; + clocks = <&clks IMX6UL_CLK_CAN2_IPG>, + <&clks IMX6UL_CLK_CAN2_SERIAL>; + clock-names = "ipg", "per"; + status = "disabled"; + }; }; gpt1: gpt@02098000 {