From patchwork Thu Oct 29 21:12:05 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Li Yang-R58472 X-Patchwork-Id: 7521231 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 2098BBEEA4 for ; Thu, 29 Oct 2015 21:30:27 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5AD4D2077F for ; Thu, 29 Oct 2015 21:30:25 +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 C5CB520772 for ; Thu, 29 Oct 2015 21:30:23 +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 1Zrukd-00073s-Ux; Thu, 29 Oct 2015 21:28:51 +0000 Received: from mail-bn1on0119.outbound.protection.outlook.com ([157.56.110.119] helo=na01-bn1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZrukQ-0006nH-Ty for linux-arm-kernel@lists.infradead.org; Thu, 29 Oct 2015 21:28:44 +0000 Received: from BLUPR0301CA0022.namprd03.prod.outlook.com (10.162.113.160) by DM2PR0301MB0734.namprd03.prod.outlook.com (10.160.97.142) with Microsoft SMTP Server (TLS) id 15.1.306.13; Thu, 29 Oct 2015 21:28:16 +0000 Received: from BL2FFO11FD042.protection.gbl (2a01:111:f400:7c09::186) by BLUPR0301CA0022.outlook.office365.com (2a01:111:e400:5259::32) with Microsoft SMTP Server (TLS) id 15.1.312.18 via Frontend Transport; Thu, 29 Oct 2015 21:28:15 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=freescale.com; freescale.mail.onmicrosoft.com; dkim=none (message not signed) header.d=none; freescale.mail.onmicrosoft.com; dmarc=none action=none header.from=freescale.com; Received-SPF: Fail (protection.outlook.com: domain of freescale.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 BL2FFO11FD042.mail.protection.outlook.com (10.173.161.138) with Microsoft SMTP Server (TLS) id 15.1.318.9 via Frontend Transport; Thu, 29 Oct 2015 21:28:15 +0000 Received: from right.am.freescale.net (right.am.freescale.net [10.81.116.70]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id t9TLRYFd014380; Thu, 29 Oct 2015 14:28:14 -0700 From: Li Yang To: , Subject: [PATCH V7 2/3] ARM64: dts: add Freescale LS1043a SoC support Date: Thu, 29 Oct 2015 16:12:05 -0500 Message-ID: <1446153126-6219-3-git-send-email-leoli@freescale.com> X-Mailer: git-send-email 2.3.3 In-Reply-To: <1446153126-6219-1-git-send-email-leoli@freescale.com> References: <1446153126-6219-1-git-send-email-leoli@freescale.com> X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD042; 1:9KUwXBHGrQ2dl7feAbnKeQyxC0+ysx36p4PoICmh04gyZICCVbnS/NIpz9xMsfDIOYoZisPG4HwhbXL2Jr4UObY4Umc+ZG7yoCj69uLbndOBvuJXhQn2M2No8Jyj40/5MSsjddnOypUX+bg1+9aJxyMdDS7m0PodwYrOcqBPXG6efRru346mtN+anihUVrdS7JP27sSygJdiLK0ak3UbEnJEyiOPBP3EFuzXySadCYgs+9M7cCqlAboHwe8vggDkUdumnQ++GDT4JrY6JxiC2xxiGB0/MRmb+k7i4j5jAZfCiHMtngTrdblphs/rwyHK39bjwV4uGVvavWHCYWIwkfcmvtECGKOj1unJNg4/n8UUNc2XvPhfRMbynYfISPGHmBYjc8r311+BmdgsZIAW7g== X-Forefront-Antispam-Report: CIP:192.88.168.50; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(2980300002)(1109001)(1110001)(339900001)(189002)(199003)(50466002)(87936001)(85426001)(5007970100001)(77096005)(48376002)(36756003)(11100500001)(104016004)(76176999)(50986999)(6806005)(106466001)(189998001)(50226001)(5003940100001)(92566002)(19580405001)(105606002)(2950100001)(19580395003)(229853001)(5001770100001)(107886002)(47776003)(81156007)(4001430100002)(97736004)(5001960100002)(86362001)(5008740100001)(33646002)(80792005)(2004002)(2101003); DIR:OUT; SFP:1102; SCL:1; SRVR:DM2PR0301MB0734; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; MIME-Version: 1.0 X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB0734; 2:nc3W7auNaxZiCDGKN+k3oM1JUl0sE/df2vzIm4bMyyYLSiSEJtxk+OYSaOXCMkAdm5NadHubQRkMHg8uUOiwLpkyLcrJnnezD0AHdD7N6yp6PG3f4fvYX3RguZK5/ocH9mo8g1U2fGr2TXy1oEJc+BwJ/WuICwYiJAD2vRx+Dxc=; 3:O2WA6yUp71fDnwvb8Ri8ZqW2k8dcQB+SjrxTCz2R0BpGM+GCFOgeX8Eq2mW1mrypJxW5RqDXRLIP4Sx3EkEo5FRADuFfYMwXrdAhBNwcrzAx0S4lDt0AkkaiQeKj2bEmOWChnbE2YQX9ylmGZAlBDi+6HQllxzaf1/TdVbXNCigr/Fuu290va0Bj1MoE4mH3nkl/uWdFIvMu/8yJX6T0NZmtX1lutrTgYNZIB3yBUUg=; 25:laIcgHA0Bre8XTgFde4I1ITHVpp9vLCKbVknnf1ijRN6VqMf8DFzlQ7eqGETxYTbiUZUMCzUCSxid5oJrKS/H6dzZUmqBJodXEvsJCPm8Jd9jW20/3bJ0wVdblOaX5RhYLClGMxgQspWIqoLDvR6vNMlDiPlTSS0LZQWE/u/iyR2Jp+L5x/bR1vnyz+DWsoUfjBlxzToHT+4etfrCbboz4qcaHpgkpqel8pei/kusNPGQFJOel43nw86S1SPJOdC X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:DM2PR0301MB0734; X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB0734; 20:QSD8j+WZo4DVEt2SZVh1xwJTCyTsV/K+fMF2DllsTD9P2nRCi96q9lc13cXNTrLYLJUsFjbBhYFrq11MtA4sfo8V2VSjqEnNuWEsNtXqWLLAy6jJZzzXTIhZVqpUB8pSQBE/m/KStJdulrg2x4B9oBNmQWbiI8UkqVvJo64cM5TuwG5znIhg7sccHO5k4MHLrisya2OHjIflW2+8VQAW92y/+qBfu6kwQUB2H8icFzmNjflHlh9HHEOB9ZzFT1DHz607wWVm4qiXtlJg8wJYES3HaxRRD6u2x1FZkAGIc1Ospnc1mvGRsCelzOXdlusywqGwaGqVod6uEvMGqIlUf1rLo/MNYlCra0+ALctMmBc=; 4:nntpXCMPvU6qUsQ3JVSWiHZNzROVj9Mt+CAF5pROj9esiCKTFCg75JE7FGNuNCsOAKR2zQmEnJIDkbxW3aR7bG2Y0wa9GeQ9JZxEF3kTSOQX+H5tdQRxlu77zsuVuq2wXkFV2ptHai79B/lx2y2SrROTqC8Pl057QNQDRiY9z9xqtkme/13xSpz6J4oEResi9mU72+0N4ygbLTv97Fd6IomoH5HT/wgPQ8P46qYYA62SbX606DaSHm0kkQdDHUEg4sLWBu+xCtConW5dIJFdf8hRiqL+pbvHec6shbjsvqzoedQxLRBJFHC3kpqSS4hCj1GcgZVxFBTPC9ApeeOuAjAVZqIyC/5E9jD+vXzxGcKkGg4YLTS+DMmncBetfC6G0BSHl1IsOiChId0cXtvdhA== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(101931422205132); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(5005006)(520078)(3002001)(10201501046)(102215026); SRVR:DM2PR0301MB0734; BCL:0; PCL:0; RULEID:; SRVR:DM2PR0301MB0734; X-Forefront-PRVS: 0744CFB5E8 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM2PR0301MB0734; 23:PioZlnKFQyzOeA0qKeUsJfVLnKcmvilAlPD53Lz?= =?us-ascii?Q?ql9TNDuYgvMBq5jMJ2ocHlOuGbj99BXWTpRblkyyad6KhDiN8uqCCa5RXp8F?= =?us-ascii?Q?np0KT6tNxR2K5eZa/IkCvf0EycIPYtU9YyFVMdjJH1fjoPZrQP9Ok5mBFQAU?= =?us-ascii?Q?W74E5DCz+ScsACJwGz8J/8wwYV4huV8zHnmaqy8JmWq+Ly1ijj0Fp3Q2L9/p?= =?us-ascii?Q?Nr7EMsL7+9gurXPeg+L0CfhbI0CwxTDMfpoiPW5LqfZ5J8+BYuITlyRCMzFJ?= =?us-ascii?Q?DzyGwpqKBlkFtVpis0MAhlRFkyik96PHdmJKU4/89Kx/89BBZa/3N2IIkKFO?= =?us-ascii?Q?Rp4eFDNYsJ0/8Rpu1Tm1uvuA2r/Q/CG8StuchpWGd118dBJKtWv3GqUnm0e1?= =?us-ascii?Q?XqmDI3k6e3FX9s2AS+zJTCipDZO807lQyrChS9XgyjW8zV5YV5PgPTPS201m?= =?us-ascii?Q?dU7BTiz+wvFVxKZZWYUu6akr0huUsKj4/OvI8G1ZypxkHLQNTeoYsavmHSLv?= =?us-ascii?Q?yXdsQ1akP3uFYMhC45iv6GkZErtYiBAfEUgWHVYRtIcBFye64iXG/jipjdI3?= =?us-ascii?Q?qXk9witxpcOEzMZl6yF1a+G6Dx8j1ExBb6czP2zQRoZ4V3azi+8s64nviMms?= =?us-ascii?Q?vBGB5trh1q9U8KvF2EIazVFTgWfTdVrjM359q4Xjo8Jqm/jjTRPtUpSkDNpH?= =?us-ascii?Q?KYgBYQ/gOBhN2NFORHlv84tCi1Cm7MwKX3+3t+AwQnowkYy6znvnQ0AFUHqm?= =?us-ascii?Q?vh9zB5NKJQR7E2bihEOh61IBOhOHmwH6nN86DkSMCqWlQiIdIoj5xaF4lg7Y?= =?us-ascii?Q?hQ6mWu4SNN9/fdiFi5pPKcRaa53AjpnMxZu5EsmczeBuQG2IljLEPMBdxcFl?= =?us-ascii?Q?jhaeJrOSiFbw2Pa8tXkGtd0UVlrYUUeF5bztIq3z2S9WyoqxL4+kq4PkII94?= =?us-ascii?Q?XudwQqGaonfk/0reElLLQCL3rnG7Jr6HwOILx3tsT4wVGwo5l2tbLs+jWZY+?= =?us-ascii?Q?lq/E7sTcoVj3NkMs2bOeTZUXK9l3xbOucO0m+hgbVxA86EcTjxmXEEDttS5H?= =?us-ascii?Q?y5GzRD2aTtYW8DGhw1H9xO6d7Z1fMe49d2xms190F4zR9SKh+7WSfnM5kdbu?= =?us-ascii?Q?9AQ6pBZClLgyyN3lapv/wN99cG9IBdC1Y?= X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB0734; 5:Wvbv9+A6DRiS4Huh6jfS2NoK4nQFkUI21ewAOq8JZlczpALSlhzMRGws3bXS7M7porDy6kJwQljL1GMHwf3TORZz6KLiJU5mGg2T1oajOCZilEQjF+9wl+J5rw1puOXGivZCvOTR268RMYpsf74dxw==; 24:oSy6R31ajON4B2AmQe9W7ZmxPN2gVe9DbHpruHH0T5DN2tj/GCwZ1NwjWb/2fsy1QUUmt936vSe8Qq5AmVlVv+XuowwBrb1Wb2lva5uZ6WE=; 20:4tJofavpvFcKuBazgH5NUaN79KDTcEp6n/O46j/f2ImQbp/Ot8Qbn6L6BT5fSkSAAIL+ShwbCg5eejTpifYJmQ== X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Oct 2015 21:28:15.6160 (UTC) X-MS-Exchange-CrossTenant-Id: 710a03f5-10f6-4d38-9ff4-a80b81da590d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=710a03f5-10f6-4d38-9ff4-a80b81da590d; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR0301MB0734 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151029_142839_555305_15357E51 X-CRM114-Status: GOOD ( 25.47 ) 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, Hou Zhiqiang , Wenbin Song , Mingkai Hu , Li Yang , 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.2 required=5.0 tests=BAD_ENC_HEADER,BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, 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 From: Mingkai Hu LS1043a is an SoC with 4 ARMv8 A53 cores and most other IP blocks are similar to LS1021a which also complies to Freescale Chassis 2.1 spec. Created LS1043a SoC DTSI file to be included by board level DTS files. Signed-off-by: Li Yang Signed-off-by: Hou Zhiqiang Signed-off-by: Mingkai Hu Signed-off-by: Wenbin Song --- V7: - Some update to patch description. V6: - No change. V5: - Move gic, timer and pmu nodes out of SoC node. V4: - Add soc node with simple-bus compatible. - Add property interrupt-affinity for armv8 pmuv3 node. V3: - Add device tree node for SATA. - Remove properity enable-method for all cpu node. Remove reserved memory region for spin-table. V2: - Add secondary core boot method. - Move out the sysclk node from the clockgen node. - Correct the reg size of GICC. arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 525 +++++++++++++++++++++++++ 1 file changed, 525 insertions(+) create mode 100644 arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi new file mode 100644 index 0000000..bf5af82 --- /dev/null +++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi @@ -0,0 +1,525 @@ +/* + * Device Tree Include file for Freescale Layerscape-1043A family SoC. + * + * Copyright 2014-2015, Freescale Semiconductor + * + * Mingkai Hu + * + * This file is dual-licensed: you can use it either under the terms + * of the GPLv2 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 library 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 library 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. + */ + +/ { + compatible = "fsl,ls1043a"; + interrupt-parent = <&gic>; + #address-cells = <2>; + #size-cells = <2>; + + cpus { + #address-cells = <2>; + #size-cells = <0>; + + /* + * We expect the enable-method for cpu's to be "psci", but this + * is dependent on the SoC FW, which will fill this in. + * + * Currently supported enable-method is psci v0.2 + */ + cpu0: cpu@0 { + device_type = "cpu"; + compatible = "arm,cortex-a53"; + reg = <0x0 0x0>; + clocks = <&clockgen 1 0>; + }; + + cpu1: cpu@1 { + device_type = "cpu"; + compatible = "arm,cortex-a53"; + reg = <0x0 0x1>; + clocks = <&clockgen 1 0>; + }; + + cpu2: cpu@2 { + device_type = "cpu"; + compatible = "arm,cortex-a53"; + reg = <0x0 0x2>; + clocks = <&clockgen 1 0>; + }; + + cpu3: cpu@3 { + device_type = "cpu"; + compatible = "arm,cortex-a53"; + reg = <0x0 0x3>; + clocks = <&clockgen 1 0>; + }; + }; + + memory@80000000 { + device_type = "memory"; + reg = <0x0 0x80000000 0 0x80000000>; + /* DRAM space 1, size: 2GiB DRAM */ + }; + + sysclk: sysclk { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <100000000>; + clock-output-names = "sysclk"; + }; + + timer { + compatible = "arm,armv8-timer"; + interrupts = <1 13 0x1>, /* Physical Secure PPI */ + <1 14 0x1>, /* Physical Non-Secure PPI */ + <1 11 0x1>, /* Virtual PPI */ + <1 10 0x1>; /* Hypervisor PPI */ + }; + + pmu { + compatible = "arm,armv8-pmuv3"; + interrupts = <0 106 0x4>, + <0 107 0x4>, + <0 95 0x4>, + <0 97 0x4>; + interrupt-affinity = <&cpu0>, + <&cpu1>, + <&cpu2>, + <&cpu3>; + }; + + gic: interrupt-controller@1400000 { + compatible = "arm,gic-400"; + #interrupt-cells = <3>; + interrupt-controller; + reg = <0x0 0x1401000 0 0x1000>, /* GICD */ + <0x0 0x1402000 0 0x2000>, /* GICC */ + <0x0 0x1404000 0 0x2000>, /* GICH */ + <0x0 0x1406000 0 0x2000>; /* GICV */ + interrupts = <1 9 0xf08>; + }; + + soc { + compatible = "simple-bus"; + #address-cells = <2>; + #size-cells = <2>; + ranges; + + clockgen: clocking@1ee1000 { + compatible = "fsl,ls1043a-clockgen"; + reg = <0x0 0x1ee1000 0x0 0x1000>; + #clock-cells = <2>; + clocks = <&sysclk>; + }; + + scfg: scfg@1570000 { + compatible = "fsl,ls1043a-scfg", "syscon"; + reg = <0x0 0x1570000 0x0 0x10000>; + big-endian; + }; + + dcfg: dcfg@1ee0000 { + compatible = "fsl,ls1043a-dcfg", "syscon"; + reg = <0x0 0x1ee0000 0x0 0x10000>; + }; + + ifc: ifc@1530000 { + compatible = "fsl,ifc", "simple-bus"; + reg = <0x0 0x1530000 0x0 0x10000>; + interrupts = <0 43 0x4>; + }; + + esdhc: esdhc@1560000 { + compatible = "fsl,ls1043a-esdhc", "fsl,esdhc"; + reg = <0x0 0x1560000 0x0 0x10000>; + interrupts = <0 62 0x4>; + clock-frequency = <0>; + voltage-ranges = <1800 1800 3300 3300>; + sdhci,auto-cmd12; + big-endian; + bus-width = <4>; + }; + + dspi0: dspi@2100000 { + compatible = "fsl,ls1043a-dspi", "fsl,ls1021a-v1.0-dspi"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0x0 0x2100000 0x0 0x10000>; + interrupts = <0 64 0x4>; + clock-names = "dspi"; + clocks = <&clockgen 4 0>; + spi-num-chipselects = <5>; + big-endian; + status = "disabled"; + }; + + dspi1: dspi@2110000 { + compatible = "fsl,ls1043a-dspi", "fsl,ls1021a-v1.0-dspi"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0x0 0x2110000 0x0 0x10000>; + interrupts = <0 65 0x4>; + clock-names = "dspi"; + clocks = <&clockgen 4 0>; + spi-num-chipselects = <5>; + big-endian; + status = "disabled"; + }; + + i2c0: i2c@2180000 { + compatible = "fsl,vf610-i2c"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0x0 0x2180000 0x0 0x10000>; + interrupts = <0 56 0x4>; + clock-names = "i2c"; + clocks = <&clockgen 4 0>; + dmas = <&edma0 1 39>, + <&edma0 1 38>; + dma-names = "tx", "rx"; + status = "disabled"; + }; + + i2c1: i2c@2190000 { + compatible = "fsl,vf610-i2c"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0x0 0x2190000 0x0 0x10000>; + interrupts = <0 57 0x4>; + clock-names = "i2c"; + clocks = <&clockgen 4 0>; + status = "disabled"; + }; + + i2c2: i2c@21a0000 { + compatible = "fsl,vf610-i2c"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0x0 0x21a0000 0x0 0x10000>; + interrupts = <0 58 0x4>; + clock-names = "i2c"; + clocks = <&clockgen 4 0>; + status = "disabled"; + }; + + i2c3: i2c@21b0000 { + compatible = "fsl,vf610-i2c"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0x0 0x21b0000 0x0 0x10000>; + interrupts = <0 59 0x4>; + clock-names = "i2c"; + clocks = <&clockgen 4 0>; + status = "disabled"; + }; + + duart0: serial@21c0500 { + compatible = "fsl,ns16550", "ns16550a"; + reg = <0x00 0x21c0500 0x0 0x100>; + interrupts = <0 54 0x4>; + clocks = <&clockgen 4 0>; + }; + + duart1: serial@21c0600 { + compatible = "fsl,ns16550", "ns16550a"; + reg = <0x00 0x21c0600 0x0 0x100>; + interrupts = <0 54 0x4>; + clocks = <&clockgen 4 0>; + }; + + duart2: serial@21d0500 { + compatible = "fsl,ns16550", "ns16550a"; + reg = <0x0 0x21d0500 0x0 0x100>; + interrupts = <0 55 0x4>; + clocks = <&clockgen 4 0>; + }; + + duart3: serial@21d0600 { + compatible = "fsl,ns16550", "ns16550a"; + reg = <0x0 0x21d0600 0x0 0x100>; + interrupts = <0 55 0x4>; + clocks = <&clockgen 4 0>; + }; + + gpio1: gpio@2300000 { + compatible = "fsl,ls1043a-gpio"; + reg = <0x0 0x2300000 0x0 0x10000>; + interrupts = <0 66 0x4>; + gpio-controller; + #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpio2: gpio@2310000 { + compatible = "fsl,ls1043a-gpio"; + reg = <0x0 0x2310000 0x0 0x10000>; + interrupts = <0 67 0x4>; + gpio-controller; + #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpio3: gpio@2320000 { + compatible = "fsl,ls1043a-gpio"; + reg = <0x0 0x2320000 0x0 0x10000>; + interrupts = <0 68 0x4>; + gpio-controller; + #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpio4: gpio@2330000 { + compatible = "fsl,ls1043a-gpio"; + reg = <0x0 0x2330000 0x0 0x10000>; + interrupts = <0 134 0x4>; + gpio-controller; + #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; + }; + + lpuart0: serial@2950000 { + compatible = "fsl,ls1021a-lpuart"; + reg = <0x0 0x2950000 0x0 0x1000>; + interrupts = <0 48 0x4>; + clocks = <&clockgen 0 0>; + clock-names = "ipg"; + status = "disabled"; + }; + + lpuart1: serial@2960000 { + compatible = "fsl,ls1021a-lpuart"; + reg = <0x0 0x2960000 0x0 0x1000>; + interrupts = <0 49 0x4>; + clocks = <&clockgen 4 0>; + clock-names = "ipg"; + status = "disabled"; + }; + + lpuart2: serial@2970000 { + compatible = "fsl,ls1021a-lpuart"; + reg = <0x0 0x2970000 0x0 0x1000>; + interrupts = <0 50 0x4>; + clocks = <&clockgen 4 0>; + clock-names = "ipg"; + status = "disabled"; + }; + + lpuart3: serial@2980000 { + compatible = "fsl,ls1021a-lpuart"; + reg = <0x0 0x2980000 0x0 0x1000>; + interrupts = <0 51 0x4>; + clocks = <&clockgen 4 0>; + clock-names = "ipg"; + status = "disabled"; + }; + + lpuart4: serial@2990000 { + compatible = "fsl,ls1021a-lpuart"; + reg = <0x0 0x2990000 0x0 0x1000>; + interrupts = <0 52 0x4>; + clocks = <&clockgen 4 0>; + clock-names = "ipg"; + status = "disabled"; + }; + + lpuart5: serial@29a0000 { + compatible = "fsl,ls1021a-lpuart"; + reg = <0x0 0x29a0000 0x0 0x1000>; + interrupts = <0 53 0x4>; + clocks = <&clockgen 4 0>; + clock-names = "ipg"; + status = "disabled"; + }; + + wdog0: wdog@2ad0000 { + compatible = "fsl,ls1043a-wdt", "fsl,imx21-wdt"; + reg = <0x0 0x2ad0000 0x0 0x10000>; + interrupts = <0 83 0x4>; + clocks = <&clockgen 4 0>; + clock-names = "wdog"; + big-endian; + }; + + edma0: edma@2c00000 { + #dma-cells = <2>; + compatible = "fsl,vf610-edma"; + reg = <0x0 0x2c00000 0x0 0x10000>, + <0x0 0x2c10000 0x0 0x10000>, + <0x0 0x2c20000 0x0 0x10000>; + interrupts = <0 103 0x4>, + <0 103 0x4>; + interrupt-names = "edma-tx", "edma-err"; + dma-channels = <32>; + big-endian; + clock-names = "dmamux0", "dmamux1"; + clocks = <&clockgen 4 0>, + <&clockgen 4 0>; + }; + + usb0: usb3@2f00000 { + compatible = "snps,dwc3"; + reg = <0x0 0x2f00000 0x0 0x10000>; + interrupts = <0 60 0x4>; + dr_mode = "host"; + }; + + usb1: usb3@3000000 { + compatible = "snps,dwc3"; + reg = <0x0 0x3000000 0x0 0x10000>; + interrupts = <0 61 0x4>; + dr_mode = "host"; + }; + + usb2: usb3@3100000 { + compatible = "snps,dwc3"; + reg = <0x0 0x3100000 0x0 0x10000>; + interrupts = <0 63 0x4>; + dr_mode = "host"; + }; + + sata: sata@3200000 { + compatible = "fsl,ls1043a-ahci", "fsl,ls1021a-ahci"; + reg = <0x0 0x3200000 0x0 0x10000>; + interrupts = <0 69 0x4>; + clocks = <&clockgen 4 0>; + }; + + msi1: msi-controller1@1571000 { + compatible = "fsl,1s1043a-msi"; + reg = <0x0 0x1571000 0x0 0x4>, + <0x0 0x1571004 0x0 0x4>; + reg-names = "msiir", "msir"; + msi-controller; + interrupts = <0 116 0x4>; + }; + + msi2: msi-controller2@1572000 { + compatible = "fsl,1s1043a-msi"; + reg = <0x0 0x1572000 0x0 0x4>, + <0x0 0x1572004 0x0 0x4>; + reg-names = "msiir", "msir"; + msi-controller; + interrupts = <0 126 0x4>; + }; + + msi3: msi-controller3@1573000 { + compatible = "fsl,1s1043a-msi"; + reg = <0x0 0x1573000 0x0 0x4>, + <0x0 0x1573004 0x0 0x4>; + reg-names = "msiir", "msir"; + msi-controller; + interrupts = <0 160 0x4>; + }; + + pcie@3400000 { + compatible = "fsl,ls1043a-pcie", "snps,dw-pcie"; + reg = <0x00 0x03400000 0x0 0x00100000 /* controller registers */ + 0x40 0x00000000 0x0 0x00002000>; /* configuration space */ + reg-names = "regs", "config"; + interrupts = <0 118 0x4>, /* controller interrupt */ + <0 117 0x4>; /* PME interrupt */ + interrupt-names = "intr", "pme"; + #address-cells = <3>; + #size-cells = <2>; + device_type = "pci"; + num-lanes = <4>; + bus-range = <0x0 0xff>; + ranges = <0x81000000 0x0 0x00000000 0x40 0x00010000 0x0 0x00010000 /* downstream I/O */ + 0x82000000 0x0 0x40000000 0x40 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */ + msi-parent = <&msi1>; + #interrupt-cells = <1>; + interrupt-map-mask = <0 0 0 7>; + interrupt-map = <0000 0 0 1 &gic 0 110 0x4>, + <0000 0 0 2 &gic 0 111 0x4>, + <0000 0 0 3 &gic 0 112 0x4>, + <0000 0 0 4 &gic 0 113 0x4>; + }; + + pcie@3500000 { + compatible = "fsl,ls1043a-pcie", "snps,dw-pcie"; + reg = <0x00 0x03500000 0x0 0x00100000 /* controller registers */ + 0x48 0x00000000 0x0 0x00002000>; /* configuration space */ + reg-names = "regs", "config"; + interrupts = <0 128 0x4>, + <0 127 0x4>; + interrupt-names = "intr", "pme"; + #address-cells = <3>; + #size-cells = <2>; + device_type = "pci"; + num-lanes = <2>; + bus-range = <0x0 0xff>; + ranges = <0x81000000 0x0 0x00000000 0x48 0x00010000 0x0 0x00010000 /* downstream I/O */ + 0x82000000 0x0 0x40000000 0x48 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */ + msi-parent = <&msi2>; + #interrupt-cells = <1>; + interrupt-map-mask = <0 0 0 7>; + interrupt-map = <0000 0 0 1 &gic 0 120 0x4>, + <0000 0 0 2 &gic 0 121 0x4>, + <0000 0 0 3 &gic 0 122 0x4>, + <0000 0 0 4 &gic 0 123 0x4>; + }; + + pcie@3600000 { + compatible = "fsl,ls1043a-pcie", "snps,dw-pcie"; + reg = <0x00 0x03600000 0x0 0x00100000 /* controller registers */ + 0x50 0x00000000 0x0 0x00002000>; /* configuration space */ + reg-names = "regs", "config"; + interrupts = <0 162 0x4>, + <0 161 0x4>; + interrupt-names = "intr", "pme"; + #address-cells = <3>; + #size-cells = <2>; + device_type = "pci"; + num-lanes = <2>; + bus-range = <0x0 0xff>; + ranges = <0x81000000 0x0 0x00000000 0x50 0x00010000 0x0 0x00010000 /* downstream I/O */ + 0x82000000 0x0 0x40000000 0x50 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */ + msi-parent = <&msi3>; + #interrupt-cells = <1>; + interrupt-map-mask = <0 0 0 7>; + interrupt-map = <0000 0 0 1 &gic 0 154 0x4>, + <0000 0 0 2 &gic 0 155 0x4>, + <0000 0 0 3 &gic 0 156 0x4>, + <0000 0 0 4 &gic 0 157 0x4>; + }; + }; + +};