From patchwork Thu Jan 4 06:12:25 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 10143931 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 025476034B for ; Thu, 4 Jan 2018 06:17:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E9B8D283FE for ; Thu, 4 Jan 2018 06:17:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DE81228420; Thu, 4 Jan 2018 06:17:11 +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_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=unavailable 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 6E550283FE for ; Thu, 4 Jan 2018 06:17:11 +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=RQganQwTYJ5UAZzyzGDrv6n6PIC/3IzQa4/+NjCknrw=; b=mMl/xX1JqCKD6+hG1jbWnkxhZF 6bhNwhg5LW0wIUGF0eDf06pvTM6KE2JNfLS4vAL/b0lit6fup7xnPBVLakTr+gqQz6dNTEOYTmy/Y UNIGIxgcZ6Vnx99P8SC+AvZr+27YM8kS+Qt7VMQQ73/fj/C/BaG914soslBkogHrOspt4Sd89bmn3 uMUvteLOBmHFunYrCfVATK4jZZR1+/IHhzY1yNW9g+d71rcfSyXUcRHyLq0oHn1jn5gLOyoqx3BOE dopX/o8epxAFFJnLx5xAt/bN8T4dpsuZGj/XEZi2xqfNKjNX/ki/bdokU+KUL0lAo+BhxXi5F2PPW M7/dqOWA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1eWypv-0004Nr-AR; Thu, 04 Jan 2018 06:17:07 +0000 Received: from mail-pf0-x243.google.com ([2607:f8b0:400e:c00::243]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1eWyo6-0002B0-6e for linux-arm-kernel@lists.infradead.org; Thu, 04 Jan 2018 06:15:31 +0000 Received: by mail-pf0-x243.google.com with SMTP id j124so385119pfc.2 for ; Wed, 03 Jan 2018 22:15:03 -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=YWJqat46KyoM62quyjVyeFgVuVlSC2gKFhuLPS8gmSs=; b=0nmkPbaEP3h+PGrHKPoTFTce3WQdAN6cvpgjk6JHVDZ6E6g0QR/FB6BLAhAStaAYIJ 0CNnmayplXRmx4sLV7jYXCxsdOita+ODmMHKv/Xyf24BgYg2ciwZd+0g9ElOt77rtEaW vgiweiE5ltaRv5xlWltWeyYLZO/EfvxLda7xkCGKLQHsZkBZEkDDVLV/PvBmUE9i8gHp /CbmjE/oUjziHjG/5p0Hf46PV96HBx1BkwtdzbAmgnBB+t4Qg6jO04IxpzqWJmxonP8h bUtj3g1vD8ATYuW3eg3urbvAI6hxx7g0lSC5INZMPu14vCDjemQADiyHkgRlEKMi3nXW BfBw== 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=YWJqat46KyoM62quyjVyeFgVuVlSC2gKFhuLPS8gmSs=; b=T1O2Pokkj59Q2JV5O6S83UoxkM/ONJmhEht1ZLhGkdnE373J3iScKOmtvHC/CkAwy2 hbdlM9lMLBERq2Mu6TTzR3ApXLpXvZP52k8+5K20st1UV5tqcpsnYjFw7+UurtPm0Jer cl1iIGrWZiQ8XhXpxewIa+cLCA/Cren+NVXu50XaTvgXOUrtW9A7b7malurMSpYg305r lKomiuvXKAofBpLD/Gg3BWzvEJmH+LCU+b8tVf/HbO3Dkx0EbQK2s/MRYyoXngE2UGeM GJrtezg8Y2Vskeg2bxSI/mrr43CsR3a7jFVeeI1OCW2cQbQyhAqhgMjEaJuMNtk9xfr1 2IHg== X-Gm-Message-State: AKGB3mK8IarvbPTkazmrX3H3wq9IO8Q6sxxnnd18BF+obqriS5nKjZuR bKI/Gr9NMG9jei3WdXqYBcoRxA== X-Google-Smtp-Source: ACJfBosyOKlAUch8fAp5XbAV88PUaVllWlO6frJPmqVS1M1q6mdfr3KwDZ3waq+M91q0OyZAb18KzQ== X-Received: by 10.99.125.66 with SMTP id m2mr3152736pgn.54.1515046502869; Wed, 03 Jan 2018 22:15:02 -0800 (PST) Received: from localhost.localdomain ([115.97.180.212]) by smtp.gmail.com with ESMTPSA id y5sm5921514pfa.128.2018.01.03.22.14.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 03 Jan 2018 22:15:02 -0800 (PST) From: Jagan Teki To: Shawn Guo Subject: [PATCH v2 7/7] ARM: dts: imx6q: Add Engicam i.CoreM6 1.5 Quad/Dual MIPI starter kit support Date: Thu, 4 Jan 2018 11:42:25 +0530 Message-Id: <1515046345-15881-8-git-send-email-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1515046345-15881-1-git-send-email-jagan@amarulasolutions.com> References: <1515046345-15881-1-git-send-email-jagan@amarulasolutions.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180103_221515_504547_05ED91DA X-CRM114-Status: GOOD ( 14.53 ) 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 i.CoreM6 1.5 is an another i.CoreM6 QDL cpu modules which can be connected to EDIMM starter kit design with eMMC and MIPI-CSI interfaces suitable for Android and video capture application. notable features: CPU NXP i.MX6 S/DL/D/Q, Up to 4 x Cortex-A9@800MHz Memory Up to 2 GB DDR3-1066 Video Interfaces Up to 1 Parallel Up to 2 LVDS HDMI 1.4 port 8 bit CSI INPUT MIPI-CSI INPUT 1 x 10/100 Ethernet interface, 2 x USB, 1 x PCIe, 1 x I2S etc Signed-off-by: Jagan Teki --- Changes for v2: - new patch arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/imx6q-icore-mipi.dts | 25 +++++++++++++++++++++++++ arch/arm/boot/dts/imx6qdl-icore.dtsi | 23 +++++++++++++++++++++++ 3 files changed, 49 insertions(+) create mode 100644 arch/arm/boot/dts/imx6q-icore-mipi.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index 11d0544..9b6a5ef 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -449,6 +449,7 @@ dtb-$(CONFIG_SOC_IMX6Q) += \ imx6q-hummingboard-emmc-som-v15.dtb \ imx6q-hummingboard-som-v15.dtb \ imx6q-icore.dtb \ + imx6q-icore-mipi.dtb \ imx6q-icore-ofcap10.dtb \ imx6q-icore-ofcap12.dtb \ imx6q-icore-ofcap7.dtb \ diff --git a/arch/arm/boot/dts/imx6q-icore-mipi.dts b/arch/arm/boot/dts/imx6q-icore-mipi.dts new file mode 100644 index 0000000..acd3d33 --- /dev/null +++ b/arch/arm/boot/dts/imx6q-icore-mipi.dts @@ -0,0 +1,25 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (C) 2017 Engicam S.r.l. + * Copyright (C) 2017 Amarula Solutions B.V. + * Author: Jagan Teki + */ + +/dts-v1/; + +#include "imx6q.dtsi" +#include "imx6qdl-icore.dtsi" + +/ { + model = "Engicam i.CoreM6 Quad/Dual MIPI Starter Kit"; + compatible = "engicam,imx6-icore", "fsl,imx6q"; +}; + +&hdmi { + ddc-i2c-bus = <&i2c2>; + status = "okay"; +}; + +&usdhc3 { + status = "okay"; +}; diff --git a/arch/arm/boot/dts/imx6qdl-icore.dtsi b/arch/arm/boot/dts/imx6qdl-icore.dtsi index 5fd9e00..d696447 100644 --- a/arch/arm/boot/dts/imx6qdl-icore.dtsi +++ b/arch/arm/boot/dts/imx6qdl-icore.dtsi @@ -265,6 +265,14 @@ status = "okay"; }; +&usdhc3 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usdhc3>; + no-1-8-v; + non-removable; + status = "disabled"; +}; + &iomuxc { pinctrl_audmux: audmux { fsl,pins = < @@ -378,4 +386,19 @@ MX6QDL_PAD_SD1_DAT3__SD1_DATA3 0x17070 >; }; + + pinctrl_usdhc3: usdhc3grp { + fsl,pins = < + MX6QDL_PAD_SD3_CMD__SD3_CMD 0x17059 + MX6QDL_PAD_SD3_CLK__SD3_CLK 0x10059 + MX6QDL_PAD_SD3_DAT0__SD3_DATA0 0x17059 + MX6QDL_PAD_SD3_DAT1__SD3_DATA1 0x17059 + MX6QDL_PAD_SD3_DAT2__SD3_DATA2 0x17059 + MX6QDL_PAD_SD3_DAT3__SD3_DATA3 0x17059 + MX6QDL_PAD_SD3_DAT4__SD3_DATA4 0x17059 + MX6QDL_PAD_SD3_DAT5__SD3_DATA5 0x17059 + MX6QDL_PAD_SD3_DAT6__SD3_DATA6 0x17059 + MX6QDL_PAD_SD3_DAT7__SD3_DATA7 0x17059 + >; + }; };