From patchwork Tue Feb 2 10:01:36 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacky Bai X-Patchwork-Id: 8187671 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id D44589F1C1 for ; Tue, 2 Feb 2016 10:03:57 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D5643202E9 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 CF9FD2025B 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 1aQXnC-0003XA-0E; Tue, 02 Feb 2016 10:02:38 +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 1aQXmq-00035M-05 for linux-arm-kernel@lists.infradead.org; Tue, 02 Feb 2016 10:02:19 +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=WosIlT3KrqVJv8oXlGKRxpIMrRG1pfXSdLAEhgKovAg=; b=iq8wH9WFb1F3CCWqlBDDmUqdv1fTxkLWfMnZUGilXW9AEo7X2DciOgbCIQl49gfGiIbcrO2++GmujRXXu4ar8kGgT2wHzbj4XAdTqMjHz3YSTNGgGOEDwWq5r4ewThjLru3WRq83gz+E8xCjBGyVPoVmnMyo5XBRGHsF0BFtcYw= 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:31 +0000 From: Bai Ping To: , Subject: [PATCH V3 3/5] ARM: dts: imx: Add basic dts support for imx6qp-sabreauto Date: Tue, 2 Feb 2016 18:01:36 +0800 Message-ID: <1454407298-15545-3-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:VZ1FeLtWZi220fah3Fxfqw2FtZTqURu+4bTwbcv6y5qN44egmuI3sEAQzJrUhYepAumPgb3+Vr6GRAeKmalcBTCWNhGwTHnbxZ194S9gjP9ejEpYh0EqZkQaggiiHXkOHXKZUhxaxAT2U8rHqHilDQ==; 3:GE7Xs0dopoDRWwxJuAzmb0VckPiCjexPZnS7dLQ+OOs9A+DM4vmqq888rhn6AIyfuoPaAnXwA/uoNNwfQ+rqXlWcddOLCdJGbC9SYHqifr3vdBOxVSDjdHog5HzCFfIg; 25:dDUw8k3ZMtHz9THByG/KpCmLBOhRgDXx/PaovjNHwLVHVeFMDDNpjrAV/DKiLvrSJbO6inw+2pKh6pUjedYQ06P1pKhdDubVOC3GWiy4icHHk79EN4pE7RV5KbtmJrGHDBPTfE/xGVRgj/58DQvHPGuvmxPI4QSMAGIhd66sGHHpRjqFHtAVEHrqvEwml8/051sI3ftjXqvkZFDgG5zNlmjERaBpCzr8GZkANwO1S3H+u04otpoqYEerGDQhO6LY X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:AM3PR04MB532; X-MS-Office365-Filtering-Correlation-Id: 273f50d5-55ed-4678-0767-08d32bb7d678 X-Microsoft-Exchange-Diagnostics: 1; AM3PR04MB532; 20:MkydIwBztvzXMGSFe6Z4vt6Moz45B/QkyFZPTdSg191f8x540XtKUsygmuqjBiHkVtKOuU6D+WF5KEdlyiIvpjU1r5xwENB+HMgUhrAdgVcVbq7fUwEG/gDhtmx12kInNTGGLPED5mf6sXseN8YiEakyx3lAE9heKKWQbdL8vTZUpquWQCzxg5GHemXBbjlvLBx9PAjSRdh0TBc4Tqzp17pCt2+ctklG29Ptgq9GBZcSITJw67hNtTVYR6xlZbhdZnK7hwI6O8HtiLG5TE711JkDGew2uUE8Ur/obuDtj/6+xwanY6Y2J+V25F0hMgxIwFsLnJptF80zCtvRDdECkkN5KY02rP5Zh5jrmHHyaVVzHC6mqGDyANitli6EoDro4NQXjPeqUcZYPU12agsZoaUINMyYKE0bRnt1M1Wu6A2DK8twLjYKa59Re/pe9qOIDrZHTSUtmI5glOD1PfA8qioKdCrvlkjheVA+86qiBXXk07I6q+5bqZmkYrHK9eMS; 4:TqH0+V2I3QpdhpDkV5gwqpw3Jc4JuFyVgqJgmWN7HKPs/HcGZBpfzeRGKPtLW6dkXEHypyGNMJuvu6OCqalqGTiLCrLpkmI64LpW+iWBtc1Z0IFZT5y21f8n5LHAc7NoOVPwPqTDpb4SJQwt6jaUFuvoC/hwmJk6BhSJmM7cJvbzDdNFy7YN2iZTwcZWtM8acmcxaviQ51YB8OrdF/gcx2FFBmV/5iu5kr+zd/sKd4c/wh9ZDOuD6H2Yj7pAqdfqAJrL25yXojEAgbw/Uyq/c4iAHpob6kIYRe8XkNtrdhzENh5n8jYWn0FquuD8P8PvIFSb8kcjr5rQDTy563m3q18ETa9W51xzTWZ0qLKhZTcU8Ag+rHo45dWiBNp+MvWUZV3K+Y3nVUc1J4pE/5k5Q3QoZOlmPtLwwINjsTQ3gt8= 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:DCdIb9ob3mDrD+2KLLBWz9N7fVobpQymGIBVSvr0xt?= =?us-ascii?Q?vDP5CPH03sz7khcB9p/cH+m62wI6nELRO3hkxLZLG3H7APjIDdzHN0qd5LqQ?= =?us-ascii?Q?NkECgLbGgWnRO2fnPGADozVC1sNNkgJDdvnrDQRohZy18WlCmYEGQq06leXk?= =?us-ascii?Q?IjXkns2KJlc3qGBB6r1NVfFpsiS/s8LMJVzIj79O6G6i65S4vWZAL6H51DSV?= =?us-ascii?Q?zjjxlgINTw4+Y/BVWHgdv2RD1rknrpR0ow+ZQYFDfOjfeTIoB1gy/6p+I9+e?= =?us-ascii?Q?SSzZkcWUmXVi/xRbkWI5jsXec+kQii+75SIhqO7anisftyYeWgO1xachg7K2?= =?us-ascii?Q?cg2e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+6jRkE= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Feb 2016 10:01:31.4852 (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_020216_427956_EA60D69F X-CRM114-Status: GOOD ( 15.53 ) 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 This patch adds basic dts file for i.MX6QP-Sbreauto board. Signed-off-by: Bai Ping --- change for V3: -- correct the dts list in alphabet order -- update the copyright header for double license arch/arm/boot/dts/Makefile | 3 +- arch/arm/boot/dts/imx6qp-sabreauto.dts | 93 ++++++++++++++++++++++++++++++++++ 2 files changed, 95 insertions(+), 1 deletion(-) create mode 100644 arch/arm/boot/dts/imx6qp-sabreauto.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index c4f42a78..3801cbd 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -352,7 +352,8 @@ dtb-$(CONFIG_SOC_IMX6Q) += \ imx6q-tx6q-1110.dtb \ imx6q-udoo.dtb \ imx6q-wandboard.dtb \ - imx6q-wandboard-revb1.dtb + imx6q-wandboard-revb1.dtb \ + imx6qp-sabreauto.dtb dtb-$(CONFIG_SOC_IMX6SL) += \ imx6sl-evk.dtb \ imx6sl-warp.dtb diff --git a/arch/arm/boot/dts/imx6qp-sabreauto.dts b/arch/arm/boot/dts/imx6qp-sabreauto.dts new file mode 100644 index 0000000..5ce3840 --- /dev/null +++ b/arch/arm/boot/dts/imx6qp-sabreauto.dts @@ -0,0 +1,93 @@ +/* + * 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. + */ + +/dts-v1/; + +#include "imx6qp.dtsi" +#include "imx6qdl-sabreauto.dtsi" + +/ { + model = "Freescale i.MX6 Quad Plus SABRE Automotive Board"; + compatible = "fsl,imx6qp-sabreauto", "fsl,imx6qp"; +}; + +&i2c2 { + max7322: gpio@68 { + compatible = "maxim,max7322"; + reg = <0x68>; + gpio-controller; + #gpio-cells = <2>; + }; +}; + +&iomuxc { + imx6qdl-sabreauto { + pinctrl_enet: enetgrp { + fsl,pins = < + MX6QDL_PAD_KEY_COL1__ENET_MDIO 0x1b0b0 + MX6QDL_PAD_KEY_COL2__ENET_MDC 0x1b0b0 + MX6QDL_PAD_RGMII_TXC__RGMII_TXC 0x1b018 + MX6QDL_PAD_RGMII_TD0__RGMII_TD0 0x1b018 + MX6QDL_PAD_RGMII_TD1__RGMII_TD1 0x1b018 + MX6QDL_PAD_RGMII_TD2__RGMII_TD2 0x1b018 + MX6QDL_PAD_RGMII_TD3__RGMII_TD3 0x1b018 + MX6QDL_PAD_RGMII_TX_CTL__RGMII_TX_CTL 0x1b018 + MX6QDL_PAD_RGMII_RXC__RGMII_RXC 0x1b018 + MX6QDL_PAD_RGMII_RD0__RGMII_RD0 0x1b018 + MX6QDL_PAD_RGMII_RD1__RGMII_RD1 0x1b018 + MX6QDL_PAD_RGMII_RD2__RGMII_RD2 0x1b018 + MX6QDL_PAD_RGMII_RD3__RGMII_RD3 0x1b018 + MX6QDL_PAD_RGMII_RX_CTL__RGMII_RX_CTL 0x1b018 + MX6QDL_PAD_GPIO_16__ENET_REF_CLK 0x4001b0a8 + MX6QDL_PAD_GPIO_6__ENET_IRQ 0x000b1 + >; + }; + }; +}; + +&pcie { + status = "disabled"; +}; + +&vgen3_reg { + regulator-always-on; +};