From patchwork Thu Apr 6 18:02:14 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 9668009 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 E0B1F6021C for ; Thu, 6 Apr 2017 18:05:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1188D285BC for ; Thu, 6 Apr 2017 18:05:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 06073285BF; Thu, 6 Apr 2017 18:05:09 +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=-1.4 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_SORBS_SPAM autolearn=no 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 8E5AD285BC for ; Thu, 6 Apr 2017 18:05:08 +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=ezk2hGSdqoyG/P+9Dqynem0M1h5yJuZoPKDikQ+jCUo=; b=h3tP8AR0qym9E+LhlFNFmcNS7P nQAEiAYPOewcChSO337iLtm0mNTKxGXRg3ARz5Lf39dZdiAsbFWzS5v3tnQbLpZdY5am01L8feiDY 6NsGsQTjsghg6/avBuCZCw118ftFTgHrGKblbDSjwZV3Nv9m8ViwIluN/9k2aT8oLgbrOkNpVqC4A rkfBr56QHkd+A0qBZ9YOCkyOidmkKAm98pYOuZBOModV1vKFWZIIxtggWaKuZPT6LB4tQDo28nR8Z K/0QyLd229P0lcm8eWB2RUY+3wNP3Ywn0FmZd9x9VKv6Ic3QTmFMx6uekI12gquJ5VM2fTvwV+ZtK pvzcBNYw==; 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 1cwBmM-00071S-TU; Thu, 06 Apr 2017 18:05:06 +0000 Received: from mail-pg0-f65.google.com ([74.125.83.65]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cwBlF-00057c-2Q for linux-arm-kernel@lists.infradead.org; Thu, 06 Apr 2017 18:04:01 +0000 Received: by mail-pg0-f65.google.com with SMTP id o123so9918158pga.1 for ; Thu, 06 Apr 2017 11:03:41 -0700 (PDT) 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=wHqyw3I/Y8uTvcMEhygbhw1kH5DrMjAzqGLAXFZXuwU=; b=HeGxJ4x8rATyrioAEqEYgsGW55Rti16TpcZxjmMXI+7QORpNwimzFpIq5TWaWPLALx ED2aMv0WmQRcpYpIY6HcuYlIgHvEU08wvdCqOJkR+E/9n9XPqpogGPE21uQDiSZjWBwe xvJABvL2QpCvmtqgntOddfp9GU6zTfqG0725ZqS2DnxUqFkjXfS//Ybga58faXQZF62m hKupjiAu5L2wMscSGD9OeGTD6LBDd2pgNYxmAOZEng0TSx+08UuCGVgZt2YiIyGkHKPm YxIie01H9fNmYjhPLoZGuE/Ziu4vb69DCowFkRvbaKLFabPiKvd8C2ASVTkrLkH855/J sNgw== X-Gm-Message-State: AFeK/H1vUlbJpe1dQOYdJbOG455zT1H7+w/E56CfZ4Sl6zvmPKTY4nLl2optoTSSqgYGog== X-Received: by 10.99.94.195 with SMTP id s186mr37794117pgb.197.1491501820607; Thu, 06 Apr 2017 11:03:40 -0700 (PDT) Received: from localhost.localdomain ([117.254.77.17]) by smtp.gmail.com with ESMTPSA id i124sm5022719pgd.66.2017.04.06.11.03.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 06 Apr 2017 11:03:39 -0700 (PDT) From: Jagan Teki To: Shawn Guo Subject: [PATCH v3 8/9] ARM: dts: imx6qdl-icore-rqs: Add CAN nodes Date: Thu, 6 Apr 2017 23:32:14 +0530 Message-Id: <1491501735-1649-9-git-send-email-jagan@openedev.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1491501735-1649-1-git-send-email-jagan@openedev.com> References: <1491501735-1649-1-git-send-email-jagan@openedev.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170406_110357_881824_921D2ED2 X-CRM114-Status: GOOD ( 10.59 ) 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 v3: - none Changes for v2: - s/flexcan/can - s/pinctrl_flexcan/pinctrl_can arch/arm/boot/dts/imx6dl-icore-rqs.dts | 8 ++++++++ arch/arm/boot/dts/imx6q-icore-rqs.dts | 8 ++++++++ arch/arm/boot/dts/imx6qdl-icore-rqs.dtsi | 26 ++++++++++++++++++++++++++ 3 files changed, 42 insertions(+) diff --git a/arch/arm/boot/dts/imx6dl-icore-rqs.dts b/arch/arm/boot/dts/imx6dl-icore-rqs.dts index 053e7cb..74335c4 100644 --- a/arch/arm/boot/dts/imx6dl-icore-rqs.dts +++ b/arch/arm/boot/dts/imx6dl-icore-rqs.dts @@ -60,3 +60,11 @@ VDDD-supply = <®_1p8v>; }; }; + +&can1 { + status = "okay"; +}; + +&can2 { + status = "okay"; +}; diff --git a/arch/arm/boot/dts/imx6q-icore-rqs.dts b/arch/arm/boot/dts/imx6q-icore-rqs.dts index d45e4f5..2d4539a 100644 --- a/arch/arm/boot/dts/imx6q-icore-rqs.dts +++ b/arch/arm/boot/dts/imx6q-icore-rqs.dts @@ -49,6 +49,14 @@ compatible = "engicam,imx6-icore-rqs", "fsl,imx6q"; }; +&can1 { + status = "okay"; +}; + +&can2 { + status = "okay"; +}; + &i2c3 { sgtl5000: codec@a { compatible = "fsl,sgtl5000"; diff --git a/arch/arm/boot/dts/imx6qdl-icore-rqs.dtsi b/arch/arm/boot/dts/imx6qdl-icore-rqs.dtsi index 0e79a5b..998fa77 100644 --- a/arch/arm/boot/dts/imx6qdl-icore-rqs.dtsi +++ b/arch/arm/boot/dts/imx6qdl-icore-rqs.dtsi @@ -145,6 +145,18 @@ }; }; +&can1 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_can1>; + xceiver-supply = <®_3p3v>; +}; + +&can2 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_can2>; + xceiver-supply = <®_3p3v>; +}; + &clks { assigned-clocks = <&clks IMX6QDL_CLK_LVDS2_SEL>; assigned-clock-parents = <&clks IMX6QDL_CLK_OSC>; @@ -296,6 +308,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