From patchwork Thu Mar 15 17:07:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 10285411 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 6B6506061F for ; Thu, 15 Mar 2018 17:44:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 583FA28B82 for ; Thu, 15 Mar 2018 17:44:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4CD4028BB5; Thu, 15 Mar 2018 17:44: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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.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 4D13228B82 for ; Thu, 15 Mar 2018 17:44:10 +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=ylkVNogVl+BdbDZxmBv/Cjd1FiA39xJG/xK51CuWk4k=; b=VsL2JKuHQRCEmkQWgQ/hS1m/0U oGOYesQMfY5AHLCNDuuVuqB6tSCl8XYSmX/VEFvP5JtmIRR+t/N2gnCJc7do1F5vhVRUKPUnu2rnr npbngwdfmKPFZD++iQc6OHFf+uP6b4wcAK8M4B8B3lm9cr02KEI7K7AcFc2DYUygaeYRpqsR291fJ k2XMGPzVsBHBPmimEPbuIlwk2GkuMkd+gqdK/czHRFVodb5zl2Zau0QIAWOYHNIlDGD46yvmO6tbt 9DR6y7TjTbx62HBkzg23TfDzEiIr1OiQTCr3dkKd0K0s1UIWSCtoP+uBfV+BVbUFpkgAJcmXBfes6 a06x1wjA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1ewWv8-0001S3-As; Thu, 15 Mar 2018 17:44:06 +0000 Received: from casper.infradead.org ([85.118.1.10]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1ewWcB-0006i8-3N for linux-arm-kernel@bombadil.infradead.org; Thu, 15 Mar 2018 17:24:31 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=N3PdF2kC5y2zYMkSBhvz54IBcn5ZbA9S5UA9A3GFG0c=; b=ZPsmnsqj5o5oNKP1UeSPRC3Zq xORfaPV6n+x4g/FZx4CTduCbaQnv8ajGSi1QCdjpuwTYgHFZ06dKI2qGWwa6mGUop8AZ61bShX4hm 3cicT9ERct/ebaWmewnbHCIdrqR3vdMbvIgnfn5ha7FutF0cKGSmwbJScaOdDcDGFSmhEMJHe9obv zSedb9N1t4ERmNpCKX8NfE3/l8aA1JetFLz6SeoiXFtG8cDiuN8NDiZwL3O+v/aiArkxaeGDeI/vH FfkL1e+nzqYExg31LDjgjHUdCJMW1lBqaxzYC29K9EQDXHxjtFGXQJ32WPG+Zj0/wovYoHCoZeRPq DxALwgTew==; Received: from mail-pf0-x241.google.com ([2607:f8b0:400e:c00::241]) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1ewWM8-0005IB-4s for linux-arm-kernel@lists.infradead.org; Thu, 15 Mar 2018 17:07:57 +0000 Received: by mail-pf0-x241.google.com with SMTP id z10so3049642pfh.13 for ; Thu, 15 Mar 2018 10:07:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=N3PdF2kC5y2zYMkSBhvz54IBcn5ZbA9S5UA9A3GFG0c=; b=Bw4X5DYf3Qi2rwlW7AIiAxO0OmAgIUKSqLc34S1gewu3ifAckO2rVZrE60suh4XHKF DHDHzwhP5Jseyb61iCOoPYgHjh7VkA0idJ8FmVwsIOOpJ81xYVYfCNiaxvLtxmIexYNi D9XMZ39puBrRIQ6r+hkG4TiYjc9e2ng08rLwY= 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=N3PdF2kC5y2zYMkSBhvz54IBcn5ZbA9S5UA9A3GFG0c=; b=lnUIBwGnW+4/VNiNCpGam5Qz5jfckZOqspQPgp9yN8dM6EVqDEpgzZUXVfNjoCXfH/ ZKNoUA3ybODqFZAsukP3vlVP2C3DGqxuQtHTANi9Yw3//lY6MVjmSpD1LI/oa5OHqKve LYM63Qp5yN1OFNYOAOaRqQsS7OrClfYhweBLzOgzSnnvWtQGmjX3RkNM6an8ZGy97Uah /N1tF5GtDPszII2Yc/6yZsaqBgQ+/Nlc+LRqNdqAXklsTYVtqG1IiHLSsIeduJ8pPERV o+ZItpIJq+GzuK5esyxoihEaQ2kiawsziB8daSqdThMMUVruAkncMKcd4X9UYw1RKRoG kdIA== X-Gm-Message-State: AElRT7HMqrJXTcbgTobYL0Voa8IdwaZhXTeB2IHJBp2V2cLELFcA4Xfp Ydj0eesIqY6j01hwprIOmlwbwA== X-Google-Smtp-Source: AG47ELsQOl1lEIXUwMjgPFt85GOzScPV2jg/ZPt8cbsdsxjS9M3C9KE+9r8bSVtCOs4Dh3ZCVwXzVA== X-Received: by 10.99.8.4 with SMTP id 4mr7289684pgi.289.1521133663820; Thu, 15 Mar 2018 10:07:43 -0700 (PDT) Received: from localhost.localdomain ([115.97.185.211]) by smtp.gmail.com with ESMTPSA id y27sm11775661pfi.156.2018.03.15.10.07.37 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 15 Mar 2018 10:07:42 -0700 (PDT) From: Jagan Teki To: Shawn Guo Subject: [PATCH 2/3] ARM: dts: i.MX6: Add BTicino i.MX6DL Mamoj initial support Date: Thu, 15 Mar 2018 22:37:09 +0530 Message-Id: <20180315170710.9551-2-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180315170710.9551-1-jagan@amarulasolutions.com> References: <20180315170710.9551-1-jagan@amarulasolutions.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180315_170756_178984_B2CC0B15 X-CRM114-Status: GOOD ( 20.45 ) 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: Mark Rutland , devicetree@vger.kernel.org, Fabio maggi , linux-kernel@vger.kernel.org, "davide . bonfanti" , Shyam Saini , Rob Herring , Andrea CORTESE , lamiaposta71@gmail.com, Sascha Hauer , Fabio Estevam , Simone CIANNI , Michael Trimarchi , Raffaele RECALCATI , linux-arm-kernel@lists.infradead.org, Jagan Teki 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 This patch adds initial support for BTicino i.MX6DL Mamoj board. Signed-off-by: Jagan Teki Signed-off-by: Simone CIANNI Signed-off-by: Raffaele RECALCATI --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/imx6dl-mamoj.dts | 113 +++++++++++++++++++++++++++++++++++++ 2 files changed, 114 insertions(+) create mode 100644 arch/arm/boot/dts/imx6dl-mamoj.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index 26e2e290ec28..b5dcc55bd157 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -397,6 +397,7 @@ dtb-$(CONFIG_SOC_IMX6Q) += \ imx6dl-hummingboard2-som-v15.dtb \ imx6dl-icore.dtb \ imx6dl-icore-rqs.dtb \ + imx6dl-mamoj.dtb \ imx6dl-nit6xlite.dtb \ imx6dl-nitrogen6x.dtb \ imx6dl-phytec-mira-rdk-nand.dtb \ diff --git a/arch/arm/boot/dts/imx6dl-mamoj.dts b/arch/arm/boot/dts/imx6dl-mamoj.dts new file mode 100644 index 000000000000..53e85c7f06b4 --- /dev/null +++ b/arch/arm/boot/dts/imx6dl-mamoj.dts @@ -0,0 +1,113 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (C) 2018 BTicino + * Copyright (C) 2018 Amarula Solutions B.V. + */ + +/dts-v1/; + +#include "imx6dl.dtsi" + +/ { + model = "BTicino i.MX6DL Mamoj board"; + compatible = "bticino,imx6dl-mamoj", "fsl,imx6dl"; +}; + +&fec { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_enet>; + phy-mode = "mii"; + status = "okay"; +}; + +&i2c3 { + clock-frequency = <400000>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_i2c3>; + status = "okay"; +}; + +&i2c4 { + clock-frequency = <100000>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_i2c4>; + status = "okay"; +}; + +&uart3 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_uart3>; + status = "okay"; +}; + +&usdhc3 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usdhc3>; + bus-width = <8>; + non-removable; + keep-power-in-suspend; + status = "okay"; +}; + +&iomuxc { + pinctrl_enet: enetgrp { + fsl,pins = < + MX6QDL_PAD_ENET_MDIO__ENET_MDIO 0x1b0b0 + MX6QDL_PAD_ENET_MDC__ENET_MDC 0x1b0b0 + MX6QDL_PAD_ENET_REF_CLK__ENET_TX_CLK 0x1b0b1 + MX6QDL_PAD_ENET_TXD0__ENET_TX_DATA0 0x1b0b0 + MX6QDL_PAD_ENET_TXD1__ENET_TX_DATA1 0x1b0b0 + MX6QDL_PAD_KEY_ROW2__ENET_TX_DATA2 0x1b0b0 + MX6QDL_PAD_KEY_ROW0__ENET_TX_DATA3 0x1b0b0 + MX6QDL_PAD_ENET_TX_EN__ENET_TX_EN 0x1b0b0 + MX6QDL_PAD_GPIO_19__ENET_TX_ER 0x1b0b0 + MX6QDL_PAD_GPIO_18__ENET_RX_CLK 0x1b0b1 + MX6QDL_PAD_ENET_RXD0__ENET_RX_DATA0 0x1b0b0 + MX6QDL_PAD_ENET_RXD1__ENET_RX_DATA1 0x1b0b0 + MX6QDL_PAD_KEY_COL2__ENET_RX_DATA2 0x1b0b0 + MX6QDL_PAD_KEY_COL0__ENET_RX_DATA3 0x1b0b0 + MX6QDL_PAD_ENET_CRS_DV__ENET_RX_EN 0x1b0b0 + MX6QDL_PAD_ENET_RX_ER__ENET_RX_ER 0x1b0b0 + MX6QDL_PAD_KEY_COL3__ENET_CRS 0x1b0b0 + MX6QDL_PAD_KEY_ROW1__ENET_COL 0x1b0b0 + /* KSZ8041 PHY Reset */ + MX6QDL_PAD_KEY_COL1__GPIO4_IO08 0x1b0b0 + >; + }; + + pinctrl_i2c3: i2c3grp { + fsl,pins = < + MX6QDL_PAD_GPIO_3__I2C3_SCL 0x4001b8b1 + MX6QDL_PAD_GPIO_6__I2C3_SDA 0x4001b8b1 + >; + }; + + pinctrl_i2c4: i2c4grp { + fsl,pins = < + MX6QDL_PAD_GPIO_7__I2C4_SCL 0x4001b8b1 + MX6QDL_PAD_GPIO_8__I2C4_SDA 0x4001b8b1 + >; + }; + + pinctrl_uart3: uart3grp { + fsl,pins = < + MX6QDL_PAD_EIM_D24__UART3_TX_DATA 0x1b0b1 + MX6QDL_PAD_EIM_D25__UART3_RX_DATA 0x1b0b1 + >; + }; + + 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 + >; + }; +};