From patchwork Sun Feb 4 17:49:31 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 10199429 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 9E75460318 for ; Sun, 4 Feb 2018 17:57:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 98F3D2843C for ; Sun, 4 Feb 2018 17:57:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8DD8C2859F; Sun, 4 Feb 2018 17:57:02 +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=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 2FD152843C for ; Sun, 4 Feb 2018 17:57:02 +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=84r1bxRwrbv86cHGLpqH43s3gexsh5o7qZCabG/XwtI=; b=d4/FK3Q/2vI0UUjYskuTQOVhNx lkigAwLm1yfOxn+TFWW2X1Qb+LxEaosmMegtHEtTcGojyzjTeqHDdoZ2c7Gm72HvkBw882smK7JIe u6BAn43FDRHnaHnt14oZ0/+mR8CqDCdYMveIqV27dfZ7p00nT7C/1ltE9WF/yvHdUL/iHDdWzqPnq gc08C+MiSHF9U5TB7WZHB/30LxbnAXxWvEyiGRUX8DicP2SYTN/FJV4aeq7qV2qsppEeOf5JFkQyw ekam7NymRb6LcWlkt+bRTc+jUG01zZ66sXAbqV5XEj7WpDkhtZfY/Ua5IlGwerDHxH+4XvqXBA42q s1VGUUcg==; 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 1eiOXD-00042h-WC; Sun, 04 Feb 2018 17:57:00 +0000 Received: from mail-pf0-x241.google.com ([2607:f8b0:400e:c00::241]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1eiOVk-0002FV-OU for linux-arm-kernel@lists.infradead.org; Sun, 04 Feb 2018 17:55:33 +0000 Received: by mail-pf0-x241.google.com with SMTP id 68so2038398pfj.8 for ; Sun, 04 Feb 2018 09:55:17 -0800 (PST) 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=rVsf1uSAOGXPA8Tn2bnIzHlLGMWWGEC8nT/z85FwKSQ=; b=tSbU0IamX4fWsg5hIZf6o4YaL1HCeeIlfhrnlB9lX1/H8i9e1bKV3ezG0QilWo2c4l YUkKuEcB3RN7UIWkkKnC+HRkAZgrqrDc4Q3qYag60m/mhoNxuaB8B6L2hDQvPiVsS6j0 ZN5Lq1e7zz04cTZGUfNv2r4e9Q2Au25hLmcWj2tIjhWm1a0/hQlCpyAnqQUdu235VTFx ZdaUFTdYDiDCy343Ryjxtb7VCfF6/L3rs2yDMgwtHItv2iRmVaELTdlLdBLlBhQGWzVE E15LdXMgMW3TKM4CHl2NF9azpFhOrequ94vGxx9qJq9ncaG/KJzG+6tibRdeRcTcXPYW ao7A== 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=rVsf1uSAOGXPA8Tn2bnIzHlLGMWWGEC8nT/z85FwKSQ=; b=a/qf7UTPCPWuzgCcX0+8ZtnNx2i4z/bCSNhTa5WRHdTupotqpIYxZFCGSyKhbLS6TI HsamvKyTqJyy6mTF4YQN2lEiFBpmpNLuYoVD/D0NAKg4c58wG/gv2Jdqq+7p5CDtO9qv hfMoy2IVr7OANnzGG/FaEHidUsCI4UvHAWHvzI2XFwF6E0ubX19WFIu3OrRtUxwLycAC 3MQz3Sbz//VcFa6XlBbQW5drBeGNViNKSzyE1Ukpf8qaRxyWOWoLbLRqHy69UyLq3DNc 86GpBX8NtdI4LZAH8GbzeWQqEsHQh5W1NWsrRLR2VvjAW14YVoQb1rcHkB2EewwyO3RX pIfA== X-Gm-Message-State: AKwxytcH4GVfRgYrlY5c0ikfVFys3b14d035gTOsKveRgmAdHLdW47WH 1OrMaoT+QVk/qjuLjrkeck4= X-Google-Smtp-Source: AH8x227K1k8A/LQxknvFpsanBc/Zp/QaNeVYRF7r7yCtaRF7c5GVp+RJ/LJCso2028QMlO4IQ7apZA== X-Received: by 10.98.23.23 with SMTP id 23mr46977401pfx.179.1517766916825; Sun, 04 Feb 2018 09:55:16 -0800 (PST) Received: from localhost.localdomain ([115.97.187.51]) by smtp.gmail.com with ESMTPSA id u86sm13113279pfa.102.2018.02.04.09.55.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 04 Feb 2018 09:55:16 -0800 (PST) From: Jagan Teki X-Google-Original-From: Jagan Teki To: Shawn Guo Subject: [PATCH v3 7/7] ARM: dts: imx6q: Add Engicam i.CoreM6 1.5 Quad/Dual MIPI starter kit support Date: Sun, 4 Feb 2018 23:19:31 +0530 Message-Id: <1517766571-409-8-git-send-email-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1517766571-409-1-git-send-email-jagan@amarulasolutions.com> References: <1517766571-409-1-git-send-email-jagan@amarulasolutions.com> 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 , David Airlie , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Thierry Reding , 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 v3: - none 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 aa60320..a0e46f3 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -456,6 +456,7 @@ dtb-$(CONFIG_SOC_IMX6Q) += \ imx6q-hummingboard2-emmc-som-v15.dtb \ imx6q-hummingboard2-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 + >; + }; };