From patchwork Mon Nov 14 07:04:20 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Chen X-Patchwork-Id: 9426645 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 BB2E460471 for ; Mon, 14 Nov 2016 07:04:39 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AD23128910 for ; Mon, 14 Nov 2016 07:04:39 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A1D6F28916; Mon, 14 Nov 2016 07:04:39 +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=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 99CE428915 for ; Mon, 14 Nov 2016 07:04:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935272AbcKNHEb (ORCPT ); Mon, 14 Nov 2016 02:04:31 -0500 Received: from mail-sn1nam02on0085.outbound.protection.outlook.com ([104.47.36.85]:60192 "EHLO NAM02-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932207AbcKNHEY (ORCPT ); Mon, 14 Nov 2016 02:04:24 -0500 Received: from BN6PR03CA0041.namprd03.prod.outlook.com (10.175.124.27) by BN1PR0301MB0738.namprd03.prod.outlook.com (10.160.78.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.721.10; Mon, 14 Nov 2016 07:04:22 +0000 Received: from BL2FFO11FD046.protection.gbl (2a01:111:f400:7c09::124) by BN6PR03CA0041.outlook.office365.com (2603:10b6:404:10c::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.707.6 via Frontend Transport; Mon, 14 Nov 2016 07:04:22 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none; nxp.com; dmarc=fail action=none header.from=nxp.com; nxp.com; dkim=none (message not signed) header.d=none; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BL2FFO11FD046.mail.protection.outlook.com (10.173.161.208) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.721.5 via Frontend Transport; Mon, 14 Nov 2016 07:04:22 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:; UpperCasedChecksum:; SizeAsReceived:904; Count:10 Received: from b29397-desktop.ap.freescale.net (b29397-desktop.ap.freescale.net [10.192.242.114]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id uAE74CO4012924; Mon, 14 Nov 2016 00:04:18 -0700 From: Peter Chen To: , , CC: , , , , , , , Peter Chen Subject: [PATCH v3 1/3] ARM: imx6ull: add imx6ull support Date: Mon, 14 Nov 2016 15:04:20 +0800 Message-ID: <1479107062-15365-2-git-send-email-peter.chen@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1479107062-15365-1-git-send-email-peter.chen@nxp.com> References: <1479107062-15365-1-git-send-email-peter.chen@nxp.com> X-IncomingHeaderCount: 10 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131235806624830289; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7916002)(2980300002)(1110001)(1109001)(336003)(339900001)(189002)(199003)(8676002)(47776003)(2201001)(86362001)(8936002)(8666005)(4326007)(50226002)(36756003)(7846002)(356003)(33646002)(50986999)(76176999)(105606002)(2906002)(305945005)(106466001)(68736007)(85426001)(77096005)(48376002)(189998001)(626004)(50466002)(2950100002)(5660300001)(97736004)(5001770100001)(586003)(81166006)(81156014)(6666003)(87936001)(104016004)(5003940100001)(7416002)(92566002)(7059030)(2004002)(32563001)(2101003); DIR:OUT; SFP:1101; SCL:1; SRVR:BN1PR0301MB0738; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD046; 1:o+GfU4c+Dq1ZNTMRfVd8nYKj0/aM2RoeF6x5BJnSa2Jbj0oKdlTsvyccMA/4jD1jbd/beSJNTu3qfRjgEAh1XM6hPKFPETwKsdomDOBJ9upqPDPrk2RSVP4aZyTFzq93bhTJEe2zVo/yI674pBexU5vKBEvjLc8W24MzKCGolc2Q4VVE+EcVOUa5qJ3bWuSWNRDkNbRxHAbf0by1dP5IOpe/99Hp0lJnfQSkHINWnlr44yeNHEGeJR9QgGVZUQbnpj9GTENEayjpg7DoeBaNt84AUj1FtqRz5Al0DNeQ39XWXt01n2y1AbLCkiqJQ9xQzdbrOzfiZsPNofN3bEYLHKldwI+ilvZ8xqcHoUUd5nAlsQS6i0Zt2QDym+L9v2YyXHIOSGsV+P9mwBFm2sL9uOwaRRePYOBNUdkwqanashVZOBVUx26bgm/YCQYCLFJJtb3G3yYU+I1rCiEZSfFR4KtM4kueXGnN9Cp7el64fnAGxd/z2TKy1W/9l+1VXiWAFVT+dF53H6PVBIZ9pRkk4Fkv5o+9JeXLT4fRM+wgWdLiR624Zep9NKo+RW3kxVNQ5+O4HdS7/VFcvO1kifCsRtVTbdSwSLS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pjDUCvH5LKaHcYQLVN8vP0Dubm8O9op0HA7lq/cePDNcRs/aAU+WOLg1Sm9g== X-MS-Office365-Filtering-Correlation-Id: df9318d7-06cb-4258-5351-08d40c5c7626 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:BN1PR0301MB0738; X-Microsoft-Exchange-Diagnostics: 1; BN1PR0301MB0738; 31:KaZB9H6qYzo3iShR/WiNsUK2yl6OWybfSLviW6fcIpl9Kj5dZ3PGIDtYxaPrjuLzcVP7eb2DQ882pyEPn7TObaX6KNbJ3yuWc2HbyPeCSH+zHlRwfe8a32Q1ji6UEpnT0t7xhlGhSlaDbgYZfMXV4dZ8AClAlvYpZCrvf9gH9GefTe3ZnQGQF7NMRPMYGngavVOfMmwgyfsAmea7iFxuGj41jkvwroXYQMKStWoVI5RW4UIuCf5V4Q3rYtwZFytwlYgH3S/KkHj6EEq7QpVtt33tAbZChDpaW+/oQbH3WVo=; 4:9CSewO4eSPHjP2ERA0rOvfUAb8/NAzKNyNnw46eUpmmjdq/smnxDCyNtDUZ1sUgSPmGElsUYWIjrOKyWWx7jsd0hPBcGsuhX98HIP9b6uKuRWoGrvnawtVET1wnad8/KoisKj39vYy1n7jDj/QFz8ut+esj+xPeek9MO3S3rWmfyI/bVixFhFCALodyS1hF2BP8MMFYrKDUg4hUg9dzTi1gaqysw6IzAt0unDiiJd/HriV5/DIOsrLdWli8yujqGWA8qePwqwpMFmXySdGAPpwGzDiQfm9JHUGH+nc96DRFPrPAdr0BVaYEPqDi/OgFH/ExNDPsjfVugjShlZ6jmd+QEfpfD2xyKePCBvuILV5UKXWffVl8qnwgqIoooo9SmznBnjBWHDhpTWUNjKsj6fOfHCWn0BwZUwVwuxZV1bxoUue1SeeflH9qTNac9gxJi90a0R+eNmzWq4xothSVmBKJQvLF9Jp63ubduLEDYad346qRzhYB+rVewX31Fxt7E32+nw1AXxTaiCZgtpuqwP71QNr0h4a7OZpdgfs5cMwTpwhlvSS6t8Wba9bkGtG04 X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197)(264314650089876); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(13015025)(13017025)(13018025)(8121501046)(13024025)(13023025)(3002001)(10201501046)(6055026); SRVR:BN1PR0301MB0738; BCL:0; PCL:0; RULEID:(400006); SRVR:BN1PR0301MB0738; X-Forefront-PRVS: 0126A32F74 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN1PR0301MB0738; 23:eYXJ917VImfd9/hVEOzmlVvWCVKoBRVuyxQAfQh?= =?us-ascii?Q?XuOB/OW4UYQHDOfDfNv+6xzBg7+r3pz6lVJQWQudA9xLwe4+a76qOYJTQ30l?= =?us-ascii?Q?1VTi1TBwyJhlIYe8Htd1fhjCCerJb8VSskw7lXc7G++ALqS+VBOzZNUH5LC0?= =?us-ascii?Q?fmDeHl9gdgBB9bcA2te4jJ5FbsXP9PBzoEyAXfye2/eav7fEmUyzlRPpDO+1?= =?us-ascii?Q?MPQ7mzZ3diy02ByvS8Ed764Pph/dvPWc68vfVxGMptE/UgH67OTuULgMH1Y8?= =?us-ascii?Q?pLHp9hHuxZSb1ksRN/8PH9+l22FFh7FfXaWQ5fuT3Sq7Op3/Z1QfJ8yFemt8?= =?us-ascii?Q?QiLVvuoMBQEvEVzTUFrKfAP5yyq/oBWeoa+S30S5tFPFRe0u37HpEmH7oEr3?= =?us-ascii?Q?emPEa9BXUQD2GwtyyGYN8Mtl6Oa9H2hfWE+nejGq0NYbvvlHANG2H+mZuj3l?= =?us-ascii?Q?VAr3oamOBrOOgoGu+9XQcYs6yleei5CPayMp+7qbGH+rqVRDy+B4rOhvLMWg?= =?us-ascii?Q?DEhgqqxiZxzMp9QkXFI5mmdYj1DGYqOH7PJR2c35xJ6UbawLS2S4sqyVbkb4?= =?us-ascii?Q?lzF9z8T8Z7RhCswCq9ZlX4jjXqiGNLLvP/SkOjuGgDOpskX3my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ndIxAjZZqVBrlpUMzU73TCyd; 5:9YXg059dmjfG9S18EfiOkLPGwQX5MVkvLuCv6JseUsbkZWAVkpYQ3ww39nBLLiPIWSbPeKQQQj+dZ/1ll300e2c2Rt3Jhfayy+fETu1ziQU0UaNLaVNl/D2btmOCnK8PhRHgLxnWRNAGrwBExQnVZLgnqHJUBgZYPraLW2AsTNeaA8GF+g/fl1hmSybU3mmJ; 24:aLEl2tvcHik9vlaP7R8eA7RTL6bNcY5zpMsiEtGpRRxq1ffIkWRrsdllE9BKmG3aRWXoC+gsCBt8hB3R1gbn4CJsTsqOeDtXOGlPOpmSmpA= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BN1PR0301MB0738; 7:8ui9orccntMfaJhjmKV5XyaH9ahXuCMYv3+xTPQnr96GPtpWXsKTQlcp7YVzthL2amnnvL9tqFcuvowFeQpKSEmbaZY0M9ys1/jcmAwRaFTigkG4t7vdvnWpKKBK2YSWKqQEZk0C3CCIi6kXl38ZJm3D0zgFrxQwOv1ZfD7jtyz8+kmaK+PIaTjWkQRRYvrE41OtWnQbxLT1OZAT6sZbNsnZqnujC6L+9qbm+1kn6v7t2vefDo+EYr+QNv4r9YeeYiwaXK5lG2zytgcuVQaezoFrVO/DJUh31Pr0bYS/tKbt7hws4j1JFyT02rx9qAFbNrkVVWteg5EJyIVOe6ySFBXrOEbc2fqqBtVjclqtYQA= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Nov 2016 07:04:22.2958 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN1PR0301MB0738 Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP It is the 10th processor in the well-known imx6 series, and derived from imx6ul but cost optimized. The more information about imx6ull can be found at: http://www.nxp.com/products/microcontrollers-and-processors/ arm-processors/i.mx-applications-processors/i.mx-6-processors /i.mx6qp/i.mx-6ull-single-core-processor-with-arm-cortex-a7-core :i.MX6ULL imx6ul.dtsi is the SoC common stuff for both imx6ul and imx6ull; imx6ul-14x14-evk.dts is the board common stuff for both imx6ul and imx6ull 14x14 evk. In this patch, for SoC part, the imx6ull.dtsi includes imx6ul.dtsi; for board part, imx6ull-14x14-evk.dts includes imx6ul-14x14-evk.dts. Signed-off-by: Peter Chen --- arch/arm/boot/dts/Makefile | 3 +- arch/arm/boot/dts/imx6ull-14x14-evk.dts | 52 ++++++++++++++++++++++++++++++ arch/arm/boot/dts/imx6ull-pinfunc.h | 56 +++++++++++++++++++++++++++++++++ arch/arm/boot/dts/imx6ull.dtsi | 43 +++++++++++++++++++++++++ 4 files changed, 153 insertions(+), 1 deletion(-) create mode 100644 arch/arm/boot/dts/imx6ull-14x14-evk.dts create mode 100644 arch/arm/boot/dts/imx6ull-pinfunc.h create mode 100644 arch/arm/boot/dts/imx6ull.dtsi diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index befcd26..3d6e199 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -423,7 +423,8 @@ dtb-$(CONFIG_SOC_IMX6UL) += \ imx6ul-pico-hobbit.dtb \ imx6ul-tx6ul-0010.dtb \ imx6ul-tx6ul-0011.dtb \ - imx6ul-tx6ul-mainboard.dtb + imx6ul-tx6ul-mainboard.dtb \ + imx6ull-14x14-evk.dtb dtb-$(CONFIG_SOC_IMX7D) += \ imx7d-cl-som-imx7.dtb \ imx7d-colibri-eval-v3.dtb \ diff --git a/arch/arm/boot/dts/imx6ull-14x14-evk.dts b/arch/arm/boot/dts/imx6ull-14x14-evk.dts new file mode 100644 index 0000000..db5bc07 --- /dev/null +++ b/arch/arm/boot/dts/imx6ull-14x14-evk.dts @@ -0,0 +1,52 @@ +/* + * Copyright (C) 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 + * version 2 as published by the Free Software Foundation. + * + * 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 , 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 "imx6ul-14x14-evk.dts" + +/ { + model = "Freescale i.MX6 UlltraLite 14x14 EVK Board"; + compatible = "fsl,imx6ull-14x14-evk", "fsl,imx6ull"; +}; + +&clks { + assigned-clocks = <&clks IMX6UL_CLK_PLL3_PFD2>; + assigned-clock-rates = <320000000>; +}; diff --git a/arch/arm/boot/dts/imx6ull-pinfunc.h b/arch/arm/boot/dts/imx6ull-pinfunc.h new file mode 100644 index 0000000..580b5c3 --- /dev/null +++ b/arch/arm/boot/dts/imx6ull-pinfunc.h @@ -0,0 +1,56 @@ +/* + * Copyright (C) 2016 Freescale Semiconductor, Inc. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + */ + +#ifndef __DTS_IMX6ULL_PINFUNC_H +#define __DTS_IMX6ULL_PINFUNC_H + +#include "imx6ul-pinfunc.h" +/* + * The pin function ID is a tuple of + * + */ +#define MX6ULL_PAD_ENET2_RX_DATA0__EPDC_SDDO08 0x00E4 0x0370 0x0000 0x9 0x0 +#define MX6ULL_PAD_ENET2_RX_DATA1__EPDC_SDDO09 0x00E8 0x0374 0x0000 0x9 0x0 +#define MX6ULL_PAD_ENET2_RX_EN__EPDC_SDDO10 0x00EC 0x0378 0x0000 0x9 0x0 +#define MX6ULL_PAD_ENET2_TX_DATA0__EPDC_SDDO11 0x00F0 0x037C 0x0000 0x9 0x0 +#define MX6ULL_PAD_ENET2_TX_DATA1__EPDC_SDDO12 0x00F4 0x0380 0x0000 0x9 0x0 +#define MX6ULL_PAD_ENET2_TX_EN__EPDC_SDDO13 0x00F8 0x0384 0x0000 0x9 0x0 +#define MX6ULL_PAD_ENET2_TX_CLK__EPDC_SDDO14 0x00FC 0x0388 0x0000 0x9 0x0 +#define MX6ULL_PAD_ENET2_RX_ER__EPDC_SDDO15 0x0100 0x038C 0x0000 0x9 0x0 +#define MX6ULL_PAD_LCD_CLK__EPDC_SDCLK 0x0104 0x0390 0x0000 0x9 0x0 +#define MX6ULL_PAD_LCD_ENABLE__EPDC_SDLE 0x0108 0x0394 0x0000 0x9 0x0 +#define MX6ULL_PAD_LCD_HSYNC__EPDC_SDOE 0x010C 0x0398 0x0000 0x9 0x0 +#define MX6ULL_PAD_LCD_VSYNC__EPDC_SDCE0 0x0110 0x039C 0x0000 0x9 0x0 +#define MX6ULL_PAD_LCD_RESET__EPDC_GDOE 0x0114 0x03A0 0x0000 0x9 0x0 +#define MX6ULL_PAD_LCD_DATA00__EPDC_SDDO00 0x0118 0x03A4 0x0000 0x9 0x0 +#define MX6ULL_PAD_LCD_DATA01__EPDC_SDDO01 0x011C 0x03A8 0x0000 0x9 0x0 +#define MX6ULL_PAD_LCD_DATA02__EPDC_SDDO02 0x0120 0x03AC 0x0000 0x9 0x0 +#define MX6ULL_PAD_LCD_DATA03__EPDC_SDDO03 0x0124 0x03B0 0x0000 0x9 0x0 +#define MX6ULL_PAD_LCD_DATA04__EPDC_SDDO04 0x0128 0x03B4 0x0000 0x9 0x0 +#define MX6ULL_PAD_LCD_DATA05__EPDC_SDDO05 0x012C 0x03B8 0x0000 0x9 0x0 +#define MX6ULL_PAD_LCD_DATA06__EPDC_SDDO06 0x0130 0x03BC 0x0000 0x9 0x0 +#define MX6ULL_PAD_LCD_DATA07__EPDC_SDDO07 0x0134 0x03C0 0x0000 0x9 0x0 +#define MX6ULL_PAD_LCD_DATA14__EPDC_SDSHR 0x0150 0x03DC 0x0000 0x9 0x0 +#define MX6ULL_PAD_LCD_DATA15__EPDC_GDRL 0x0154 0x03E0 0x0000 0x9 0x0 +#define MX6ULL_PAD_LCD_DATA16__EPDC_GDCLK 0x0158 0x03E4 0x0000 0x9 0x0 +#define MX6ULL_PAD_LCD_DATA17__EPDC_GDSP 0x015C 0x03E8 0x0000 0x9 0x0 +#define MX6ULL_PAD_LCD_DATA21__EPDC_SDCE1 0x016C 0x03F8 0x0000 0x9 0x0 +#define MX6ULL_PAD_CSI_MCLK__ESAI_TX3_RX2 0x01D4 0x0460 0x0000 0x9 0x0 +#define MX6ULL_PAD_CSI_PIXCLK__ESAI_TX2_RX3 0x01D8 0x0464 0x0000 0x9 0x0 +#define MX6ULL_PAD_CSI_VSYNC__ESAI_TX4_RX1 0x01DC 0x0468 0x0000 0x9 0x0 +#define MX6ULL_PAD_CSI_HSYNC__ESAI_TX1 0x01E0 0x046C 0x0000 0x9 0x0 +#define MX6ULL_PAD_CSI_DATA00__ESAI_TX_HF_CLK 0x01E4 0x0470 0x0000 0x9 0x0 +#define MX6ULL_PAD_CSI_DATA01__ESAI_RX_HF_CLK 0x01E8 0x0474 0x0000 0x9 0x0 +#define MX6ULL_PAD_CSI_DATA02__ESAI_RX_FS 0x01EC 0x0478 0x0000 0x9 0x0 +#define MX6ULL_PAD_CSI_DATA03__ESAI_RX_CLK 0x01F0 0x047C 0x0000 0x9 0x0 +#define MX6ULL_PAD_CSI_DATA04__ESAI_TX_FS 0x01F4 0x0480 0x0000 0x9 0x0 +#define MX6ULL_PAD_CSI_DATA05__ESAI_TX_CLK 0x01F8 0x0484 0x0000 0x9 0x0 +#define MX6ULL_PAD_CSI_DATA06__ESAI_TX5_RX0 0x01FC 0x0488 0x0000 0x9 0x0 +#define MX6ULL_PAD_CSI_DATA07__ESAI_T0 0x0200 0x048C 0x0000 0x9 0x0 + +#endif /* __DTS_IMX6ULL_PINFUNC_H */ diff --git a/arch/arm/boot/dts/imx6ull.dtsi b/arch/arm/boot/dts/imx6ull.dtsi new file mode 100644 index 0000000..dee8ab8 --- /dev/null +++ b/arch/arm/boot/dts/imx6ull.dtsi @@ -0,0 +1,43 @@ +/* + * 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 + * version 2 as published by the Free Software Foundation. + * + * 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 , 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 "imx6ul.dtsi" +#include "imx6ull-pinfunc.h"