From patchwork Mon Sep 18 11:28:33 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 9956549 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 6F06C601E9 for ; Mon, 18 Sep 2017 11:38:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5E19328BFA for ; Mon, 18 Sep 2017 11:38:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 52F4328C32; Mon, 18 Sep 2017 11:38:32 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, DKIM_VALID, FREEMAIL_FROM, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id BF95728BFA for ; Mon, 18 Sep 2017 11:38:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=7SMrFzVRi6W6y+Ty8LuPJ0Cu0b9bATittYq+SK2jrH4=; b=jENYEov0zBekPGykgJHQWxwps4 njESSGtFQLfFjb/pGNZ1AaNTGAutKkyJDzisKSe87wUlxl0jliFn8o2ytmCuFCRp8mFkrirUONCrR TSIwplKewD8hMmOrgpdALYJVbVNYLXT+zZFgE8Tx80k8l3dCHj/qIE1rzybF68bXPVrJQzfdVdPTc /9FJuFeeJ12oeLIN7nhOQNsYEANA7tkgea3Z7WiPrgVsc43xP5jgOe9J5Ue2WBDf+lYo96kOCA8pr S7sscNYSMXMrRkyTcNK/wxsiusEcY/jjYYfA7xVphxNuOnYVA4BTprZ+rMzw0vrHk0vWhmT2mFI8i 7jeiXDeQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dtuNe-00083G-Fr; Mon, 18 Sep 2017 11:38:26 +0000 Received: from mail-pf0-x244.google.com ([2607:f8b0:400e:c00::244]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dtuM4-0006fc-21 for linux-arm-kernel@lists.infradead.org; Mon, 18 Sep 2017 11:36:55 +0000 Received: by mail-pf0-x244.google.com with SMTP id h4so81943pfk.0 for ; Mon, 18 Sep 2017 04:36:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=H8ezakiOtwqcZdhYatYQaMNAUlMYGinV9wXoEub54Z8=; b=blmArQImMDWVXeBOAYxf76LK+Wcnjk1HWQePRYlGlkqpzs7aMxSxpOJzaFv4ooDE5K dSc8/WlevKrsV5GcyLTPEPxTv2aBK5s5zg9eAbcCfJ9Vvd5LxSj0LrM2DoADo/8r+DGR Y3TFYOUhqNv9C/9Pemq1pJkK22yziH5ozNG0SBLeAa8KS1GbrwRfK8CKRZhlk1jT5gZb eGw7BE2S7O3VVmZi998vQYOU5r9k1dCuNlRMctEUXst82m79RGpg+UrExeMLxsyv54Tn 6x7rOI5cGJkuWW2fFT4QRVfqqcmzdBVS1aNOkUG+/V8PtDpSs4cOvPulOqMYd8WMVi5F QZqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=H8ezakiOtwqcZdhYatYQaMNAUlMYGinV9wXoEub54Z8=; b=i7vnvkeYv+Z51+XUqYUDZaZa39ka46x0nKesezi9/nBumeJQh3f2FmQfS0VrmtRb6+ JuZl/R/YUQhVL95RuyZS5sp/DpTE+ZMR52q6RhPx4otoIv6ON/vmLPZ+UXV/EDZ57bqw vOZDb/XwsjYO2CyZIjj4GHdZazXIEih3nINPBMWrTnqh8IusbXC7wdXAHSLyFNnT5sHZ 4WZCFPtlwui7DSMd0ZN9RP/i3Lg/ASseGBK5ZUe6K3OQ1y31fvqs4IMTdUqb2fX1vDea nD+zQinvVJySPAnqHDbQ5fLVlXfpwp83os5AtHs6JxeiKIHQPDhKv7ZtVc7fqGkUhAcJ mZhQ== X-Gm-Message-State: AHPjjUg2lQ7dKT5ieiUtqkBqTlgF5kRrnuuF5kp5u+vi2OK/mXR+1PxR UQcebZlQa1ut/QCG X-Google-Smtp-Source: ADKCNb7TbaOjcuCPaTaAHLflD3hh8SFPiTpMUfVjUr6jeKnG2h3KD2RX0UHn2pTWjbWM1LnT/yp8BQ== X-Received: by 10.101.91.2 with SMTP id y2mr26739442pgq.65.1505734584042; Mon, 18 Sep 2017 04:36:24 -0700 (PDT) Received: from localhost.localdomain ([115.97.191.18]) by smtp.gmail.com with ESMTPSA id z22sm13517562pfi.166.2017.09.18.04.36.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 18 Sep 2017 04:36:22 -0700 (PDT) From: Jagan Teki X-Google-Original-From: Jagan Teki To: Shawn Guo Subject: [PATCH v5 5/5] ARM: dts: imx6qdl-icore-rqs: Add CAN nodes Date: Mon, 18 Sep 2017 16:58:33 +0530 Message-Id: <1505734113-9708-5-git-send-email-jteki@openedev.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1505734113-9708-1-git-send-email-jteki@openedev.com> References: <1505734113-9708-1-git-send-email-jteki@openedev.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170918_043648_993164_EA745755 X-CRM114-Status: UNSURE ( 9.48 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Matteo Lisi , linux-kernel@vger.kernel.org, Jagan Teki , Sascha Hauer , Fabio Estevam , Michael Trimarchi , 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-Virus-Scanned: ClamAV using ClamSMTP From: Jagan Teki Add support for can1 and can2 nodes on Engicam i.CoreM6 RQS QDL module boards. Cc: Shawn Guo Cc: Matteo Lisi Cc: Michael Trimarchi Signed-off-by: Jagan Teki --- Changes for v5: - none Changes for v4: - Moved can nodes from dts to dtsi Changes for v3: - none Changes for v2: - s/flexcan/can arch/arm/boot/dts/imx6qdl-icore-rqs.dtsi | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl-icore-rqs.dtsi b/arch/arm/boot/dts/imx6qdl-icore-rqs.dtsi index e97002b..b6220d6 100644 --- a/arch/arm/boot/dts/imx6qdl-icore-rqs.dtsi +++ b/arch/arm/boot/dts/imx6qdl-icore-rqs.dtsi @@ -173,6 +173,20 @@ }; }; +&can1 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_can1>; + xceiver-supply = <®_3p3v>; + status = "okay"; +}; + +&can2 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_can2>; + xceiver-supply = <®_3p3v>; + status = "okay"; +}; + &clks { assigned-clocks = <&clks IMX6QDL_CLK_LVDS2_SEL>; assigned-clock-parents = <&clks IMX6QDL_CLK_OSC>; @@ -328,6 +342,20 @@ >; }; + pinctrl_can1: can1grp { + fsl,pins = < + MX6QDL_PAD_KEY_ROW2__FLEXCAN1_RX 0x1b020 + MX6QDL_PAD_KEY_COL2__FLEXCAN1_TX 0x1b020 + >; + }; + + pinctrl_can2: can2grp { + fsl,pins = < + MX6QDL_PAD_KEY_COL4__FLEXCAN2_TX 0x1b020 + MX6QDL_PAD_KEY_ROW4__FLEXCAN2_RX 0x1b020 + >; + }; + pinctrl_i2c1: i2c1grp { fsl,pins = < MX6QDL_PAD_EIM_D21__I2C1_SCL 0x4001b8b1