From patchwork Sat Feb 20 10:20:49 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: 8366001 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 22459C0553 for ; Sat, 20 Feb 2016 10:24:05 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A8E6320546 for ; Sat, 20 Feb 2016 10:24:01 +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 D8F862052D for ; Sat, 20 Feb 2016 10:24:00 +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 1aX4fS-0003oh-61; Sat, 20 Feb 2016 10:21:38 +0000 Received: from mail-wm0-x233.google.com ([2a00:1450:400c:c09::233]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aX4fD-0003kq-1p for linux-arm-kernel@lists.infradead.org; Sat, 20 Feb 2016 10:21:23 +0000 Received: by mail-wm0-x233.google.com with SMTP id c200so108365192wme.0 for ; Sat, 20 Feb 2016 02:21:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=p7zqZxWjwgtaSjYL+lgHhKcc/GqLvCCDlt2DW5z5C4M=; b=S4anYOui4H9Ja5Tqk+E8msy4ZH80UItEhTyN11dzPKFpQJjsK57mFdv6Pb9J4ngZym XkefAF2fq7xnUkDJnkv8HW3w1lRWOE0nsBxvVAt4YpCGIO1d/21ENZbGO/JmByuJg+9k FgAeKALoy3sfWI9LChMCBnXslGhzIfTEURfd5l2Rjzgsf/wHTwbq6YHgmu5NHgaiFykw W6LkRPUFX4VxZ0mwfgrPsXWKNSZGm+ZLTO0v0R3J1hHVXHhDeQgaw5FaRyMZITsxb5Vs vMVRMabkLqmWIN0ulye0G8teEpK5N2cmhsYaCQ/bZuRWEUD8KbxvGlaR+LJoshfRmfj/ BViQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=p7zqZxWjwgtaSjYL+lgHhKcc/GqLvCCDlt2DW5z5C4M=; b=cwjsJNXvm6+xOL1PVKkDW7iwP56l4+UJ4r7XzYj9hWeZqFlALAZp72t8H8xx7KbvmN s+JHUkfWcpLxTP0Xd50z7hmwW547yBQGZUqdCE0MgG484OnE9+fFuLiEMMx+pg0xQiqL qr+Yu5YZQJdsb53TsZMqcK8XPiKFjsYnlVUiOE7/qIu+0wKTSfq2xewRiSh27zPRDoRp Xjx7kGStgoGu2feuxP5GlC4CgjeWVdWbaSkDC9DD8oQt4Ty7AKJIdvZSQQobEfHt/P1n scDxXBtuXBUoG03/eo4tgEXs9CqhNSHTndUhkxjPSzX9FVd446zgLSqHm/RhtUPzkC4e ACaQ== X-Gm-Message-State: AG10YOQGyn2alCUqj4WzvVE+VejoZersV9/mdYOVNS0JqsBZK4Ifa51y45Qad1M7uTGxI7lA X-Received: by 10.194.23.37 with SMTP id j5mr17017656wjf.171.1455963661472; Sat, 20 Feb 2016 02:21:01 -0800 (PST) Received: from localhost.localdomain (rm-19-3-118.service.infuturo.it. [151.19.3.118]) by smtp.gmail.com with ESMTPSA id k4sm11500660wmc.12.2016.02.20.02.20.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 20 Feb 2016 02:21:00 -0800 (PST) From: Michael Trimarchi To: shawnguo@kernel.org, kernel@pengutronix.de Subject: [PATCH 1/4] ARM: dts: imx6ul: Add flexcan1 and flexcan2 support Date: Sat, 20 Feb 2016 11:20:49 +0100 Message-Id: <1455963652-24618-2-git-send-email-michael@amarulasolutions.com> X-Mailer: git-send-email 2.7.0 In-Reply-To: <1455963652-24618-1-git-send-email-michael@amarulasolutions.com> References: <1455963652-24618-1-git-send-email-michael@amarulasolutions.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160220_022123_236745_06DFF75B X-CRM114-Status: UNSURE ( 9.36 ) X-CRM114-Notice: Please train this message. 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@freescale.com, devicetree@vger.kernel.org, computersforpeace@gmail.com, michael@amarulasolutions.com, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 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 --- arch/arm/boot/dts/imx6ul.dtsi | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/arch/arm/boot/dts/imx6ul.dtsi b/arch/arm/boot/dts/imx6ul.dtsi index 99b6465..cd32d1d 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,28 @@ 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"; + stop-mode = <&gpr 0x10 1 0x10 17>; + 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"; + stop-mode = <&gpr 0x10 2 0x10 18>; + status = "disabled"; + }; }; gpt1: gpt@02098000 {