From patchwork Tue Feb 2 10:01:35 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacky Bai X-Patchwork-Id: 8187681 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 730D6BEEE5 for ; Tue, 2 Feb 2016 10:03:58 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D44E620211 for ; Tue, 2 Feb 2016 10:03:56 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id BA8AF20256 for ; Tue, 2 Feb 2016 10:03:55 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1aQXmu-0003LZ-2i; Tue, 02 Feb 2016 10:02:20 +0000 Received: from mail-am1on0058.outbound.protection.outlook.com ([157.56.112.58] helo=emea01-am1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aQXmm-00035M-SP for linux-arm-kernel@lists.infradead.org; Tue, 02 Feb 2016 10:02:15 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector1-nxp-com; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=s1S1UVT0XhVKspcFIKkqdXWqEz5+UdgH6AaGKobW51M=; b=oACoMtp8giLWCLqoivpOzWXAR8dQuNhs/syWZ/RQNpdtn8cMEcEFkN1aWdOe4VIM7DjABV8aZdtnFVOOPJi1pDebwes8xoxZ2UujHq6yhvk7kpSHHej7TKX2FZOs5CIabspWUGjbQGY2U7CPJlq5mf7LJ1Axv1SUHjxJeBbuxKA= Authentication-Results: kernel.org; dkim=none (message not signed) header.d=none; kernel.org; dmarc=none action=none header.from=nxp.com; Received: from b51503-01.ap.freescale.net (123.151.195.53) by AM3PR04MB532.eurprd04.prod.outlook.com (2a01:111:e400:8825::19) with Microsoft SMTP Server (TLS) id 15.1.390.13; Tue, 2 Feb 2016 10:01:23 +0000 From: Bai Ping To: , Subject: [PATCH V3 2/5] ARM: dts: imx: Add basic dts support for imx6qp SOC Date: Tue, 2 Feb 2016 18:01:35 +0800 Message-ID: <1454407298-15545-2-git-send-email-ping.bai@nxp.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1454407298-15545-1-git-send-email-ping.bai@nxp.com> References: <1454407298-15545-1-git-send-email-ping.bai@nxp.com> MIME-Version: 1.0 X-Originating-IP: [123.151.195.53] X-ClientProxiedBy: SG2PR03CA0076.apcprd03.prod.outlook.com (2a01:111:e400:5bb6::44) To AM3PR04MB532.eurprd04.prod.outlook.com (2a01:111:e400:8825::19) X-Microsoft-Exchange-Diagnostics: 1; AM3PR04MB532; 2:RhDUiGPfT8kEjku4PBqDbN26rhUHO3fxvmWKKekwPllH8AVlB0TjzdbCNOXm3eSm8APJQf22Tex+2ZNuO8PWUZBSDd+0O45QItuvd4IUPT/AmQMA3PYaIehJvKR5q84pk3JDFaZt+RD98n6gFVYhLQ==; 3:qnso+JvJON1JLt/Oaa9QYAhWowy1vndP5fCzB+MpClLRYpbxvgNrNR6HcNe7FgygevuTUx8Y1xkN93CErqOe3fbW3aEVwAgAF4J7S4C0LmnhUp7lhJIwkjMq+LsktExl; 25:dF1RQAyMxs2oN9gE1f+TqYdyAmw+/JwgBMpPzMSn4FHpzJVPIH5adTj75bfniMyaVnmq9LRShW75Q19W0ZNsYbm11VsauohOykxmETIA+tr36OPC0fuVZlS5WV65unm23+qrWbrhHEcu4GoM/2E3gR1RS6d4inAcRgn8FncvyJbrDHfhaqCwdoBejjiQu1CnXO4yxu8xTEIGyMy8dRGkfm3gun7/8LUpJjYduQRl1jWCHWHENxuuVF1zvV/6/2+T X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:AM3PR04MB532; X-MS-Office365-Filtering-Correlation-Id: d3ea059f-3a86-4213-c79e-08d32bb7d1a9 X-Microsoft-Exchange-Diagnostics: 1; AM3PR04MB532; 20:wuB12BNYJ2acP09fSOkjARjY1uD4BCdOHADZ4WkB9gMeDRxIbDWqUMbbPTdcca18IT1NBiOQRpEYWHvme87vSuOncK2FxQ0EYl+iSESz/GcEdVZ13EB3jcEijwGu9rG4r+JH60Q+4zaY8kcdZfLvNkgVYC0WJ0+fsxQcf6RYg5U9QdcUQMZnGptQSqOChpzBhWxUQaP4yPBiIdwAO8K5wqPFtfErYAHs1mFp0D2EE0qdFauXemMvwysyEqrCu5vZCK1tTj/B2U5J+9eCfzT6UIiOTyI/ZyvHrTFVoz9eINgwuAilmqk+q7W6taIyGLwhvbC4SiXc1R0F1e4yGfGfTz7kh5gigZiern8DYo78tyvE76r0EeZnM/Pnv5cvQR5ctuzvOCdlv2jrqG9T+IDBpECKnbzT6x6ZumI3MAGf4F+31ZOu7Wq6+njzUXB8eULLDnKgXg3ebJWMxg7OZi7pqMMWjCYXnPlDcMgjOjsXflTTosIFKT6F5ebhmdct8anu; 4:/F2sXMBwijI4jmh+dAbCkpgeZQmuX6/MVg6VkCIdgQ8yxyi6km7sx2FzqeM/1Zv6MZcophhetGO1iL1kV8KvXmRfpcKIQ3cpFXJVDn+oRQQyKbimgK4qRax3NCssLRzPJ+VGB/7qP8ilbIl6cQY/CbkYwhnW5rPvHgyk6S2SmA4lW2MWcpyXj6eagBGYRmH+pxErCOUieBTRcIZQYG+0+5fFI9h74A0ddQi4QJfEd/vJtA3IGWOfIMTeheZRwl3lZcZVYxvlgK03Oq45WPbxwf5IggTw268r6edKU3KA7KC6b5mDPPINTFlvKcf/ZWRAcRAC05wnQ8AwzKPODNsfLbMcOVAZXTEd1FWNkYGtrUfF09UYMe7wtWaPD3eRQDw/j7PMWUFKmC8Qx/5F5HloeDS5p2W+iKgnOzIOui24vtA= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046); SRVR:AM3PR04MB532; BCL:0; PCL:0; RULEID:; SRVR:AM3PR04MB532; X-Forefront-PRVS: 084080FC15 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6009001)(50466002)(6116002)(40100003)(47776003)(50226001)(42186005)(19580405001)(76176999)(19580395003)(189998001)(50986999)(3846002)(5003940100001)(92566002)(575784001)(33646002)(86362001)(1096002)(122386002)(2950100001)(586003)(2906002)(3470700001)(48376002)(4326007)(5008740100001)(36756003)(5001960100002)(87976001)(5001770100001)(229853001)(66066001)(5004730100002)(32563001); DIR:OUT; SFP:1101; SCL:1; SRVR:AM3PR04MB532; H:b51503-01.ap.freescale.net; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; AM3PR04MB532; 23:hKHCzbATzsoGfFANjTENSr+iL1PkE/ODrxyDFpEpkx?= =?us-ascii?Q?ATeh/4zHkC1Xgwp7L4SKCKu1a3Mw10QwiHyL77f7WozXORE/gGpKaq5lpJVi?= =?us-ascii?Q?auTZfHbh8OWgTiQpg1QWC+kFD4LycyLdq0lTeli6Rc5W2nzOO09l35KeSFDs?= =?us-ascii?Q?W2LFUg01J5wjqvoKFEfRBE3jehBuf0CEzYxJDg7MtcWaYZ3RuQ6oZfwrvSu8?= =?us-ascii?Q?MbTRgcWy+qesv05ZcneAgBFFlQpQHNRTi7LSi5Y9IdcG0wJKSPXt3Eeb6inF?= =?us-ascii?Q?n+5VGUz3KlcKi1pFuc016OKH0XdBnBTE15aV9zX9PXeSZlguFlgZZhUefLaE?= =?us-ascii?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mhHyCkk2q1VFp6cc8bg= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Feb 2016 10:01:23.5008 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM3PR04MB532 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160202_020213_396072_C85FA024 X-CRM114-Status: GOOD ( 17.74 ) X-Spam-Score: -1.9 (-) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, pawel.moll@arm.com, mturquette@baylibre.com, sboyd@codeaurora.org, robh+dt@kernel.org, jacky.baip@gmail.com, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.5 required=5.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED,RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The i.MX6Quad Plus processor is an high performance SOC of i.MX6 family. It has enhanced graphics performance and increased overall memory bandwidth compared to i.MX6Q. Most of the design are same as i.MX6Quad/Dual, so code for i.MX6Quad can be resued by this chip. The revision number is identied as i.MX6Q Rev2.0, but actually it is a new chip, as we did many change to the overall architecture. This patch adds basic dtsi file support for the new i.MX6Quad Plus processor. Signed-off-by: Bai Ping --- change for V3: --remove some device node that the driver is not ready or stable in upstream -- update the copyright header arch/arm/boot/dts/imx6q.dtsi | 2 +- arch/arm/boot/dts/imx6qdl-sabresd.dtsi | 1 + arch/arm/boot/dts/imx6qp.dtsi | 86 ++++++++++++++++++++++++++++++++++ 3 files changed, 88 insertions(+), 1 deletion(-) create mode 100644 arch/arm/boot/dts/imx6qp.dtsi diff --git a/arch/arm/boot/dts/imx6q.dtsi b/arch/arm/boot/dts/imx6q.dtsi index 0d93c0e..ddcb37b 100644 --- a/arch/arm/boot/dts/imx6q.dtsi +++ b/arch/arm/boot/dts/imx6q.dtsi @@ -22,7 +22,7 @@ #address-cells = <1>; #size-cells = <0>; - cpu@0 { + cpu0: cpu@0 { compatible = "arm,cortex-a9"; device_type = "cpu"; reg = <0>; diff --git a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi index a6d445c..f65f57b 100644 --- a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi +++ b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi @@ -238,6 +238,7 @@ regulator-max-microvolt = <3300000>; regulator-boot-on; regulator-always-on; + regulator-ramp-delay = <6250>; }; sw3a_reg: sw3a { diff --git a/arch/arm/boot/dts/imx6qp.dtsi b/arch/arm/boot/dts/imx6qp.dtsi new file mode 100644 index 0000000..1ada714 --- /dev/null +++ b/arch/arm/boot/dts/imx6qp.dtsi @@ -0,0 +1,86 @@ +/* + * Copyright 2016 Freescale Semiconductor, Inc. + * + * This file is dual-licensed: you can use it either under the terms + * of the GPL or the X11 license, at your option. Note that this dual + * licensing only applies to this file, and not this project as a + * whole. + * + * a) This file is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 2 of the + * License, or (at your option) any later version. + * + * This file is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * Or, alternatively, + * + * b) Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or + * sell copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + */ + +#include "imx6q.dtsi" + +/ { + soc { + ocram2: sram@00940000 { + compatible = "mmio-sram"; + reg = <0x00940000 0x20000>; + clocks = <&clks IMX6QDL_CLK_OCRAM>; + }; + + ocram3: sram@00960000 { + compatible = "mmio-sram"; + reg = <0x00960000 0x20000>; + clocks = <&clks IMX6QDL_CLK_OCRAM>; + }; + + ipu1: ipu@02400000 { + compatible = "fsl,imx6qp-ipu", "fsl,imx6q-ipu"; + clocks = <&clks IMX6QDL_CLK_IPU1>, + <&clks IMX6QDL_CLK_IPU1_DI0>, <&clks IMX6QDL_CLK_IPU1_DI1>, + <&clks IMX6QDL_CLK_IPU1_DI0_SEL>, <&clks IMX6QDL_CLK_IPU1_DI1_SEL>, + <&clks IMX6QDL_CLK_LDB_DI0_PODF>, <&clks IMX6QDL_CLK_LDB_DI1_PODF>, + <&clks IMX6QDL_CLK_PRG0_APB>; + clock-names = "bus", + "di0", "di1", + "di0_sel", "di1_sel", + "ldb_di0", "ldb_di1", "prg"; + }; + + ipu2: ipu@02800000 { + compatible = "fsl,imx6qp-ipu", "fsl,imx6q-ipu"; + clocks = <&clks IMX6QDL_CLK_IPU2>, + <&clks IMX6QDL_CLK_IPU2_DI0>, <&clks IMX6QDL_CLK_IPU2_DI1>, + <&clks IMX6QDL_CLK_IPU2_DI0_SEL>, <&clks IMX6QDL_CLK_IPU2_DI1_SEL>, + <&clks IMX6QDL_CLK_LDB_DI0_PODF>, <&clks IMX6QDL_CLK_LDB_DI1_PODF>, + <&clks IMX6QDL_CLK_PRG1_APB>; + clock-names = "bus", + "di0", "di1", + "di0_sel", "di1_sel", + "ldb_di0", "ldb_di1", "prg"; + }; + + }; +};