From patchwork Tue Nov 17 09:53:21 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhiqiang Hou X-Patchwork-Id: 7635141 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 45275BF90C for ; Tue, 17 Nov 2015 10:18:39 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B368F203C0 for ; Tue, 17 Nov 2015 10:18:37 +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 135B1204E0 for ; Tue, 17 Nov 2015 10:18:36 +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 1ZydJ8-0003NO-2x; Tue, 17 Nov 2015 10:16:14 +0000 Received: from mail-bl2on0108.outbound.protection.outlook.com ([65.55.169.108] helo=na01-bl2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Zyd5p-0002lb-Rf for linux-arm-kernel@lists.infradead.org; Tue, 17 Nov 2015 10:02:53 +0000 Received: from CH1PR03CA009.namprd03.prod.outlook.com (10.255.156.154) by BY1PR0301MB1304.namprd03.prod.outlook.com (10.161.206.153) with Microsoft SMTP Server (TLS) id 15.1.318.15; Tue, 17 Nov 2015 10:02:04 +0000 Received: from BN1AFFO11FD028.protection.gbl (10.255.156.132) by CH1PR03CA009.outlook.office365.com (10.255.156.154) with Microsoft SMTP Server (TLS) id 15.1.325.17 via Frontend Transport; Tue, 17 Nov 2015 10:02:04 +0000 Authentication-Results: spf=permerror (sender IP is 192.88.158.2) 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: PermError (protection.outlook.com: domain of freescale.com used an invalid SPF mechanism) Received: from az84smr01.freescale.net (192.88.158.2) by BN1AFFO11FD028.mail.protection.outlook.com (10.58.52.88) with Microsoft SMTP Server (TLS) id 15.1.325.5 via Frontend Transport; Tue, 17 Nov 2015 10:02:03 +0000 Received: from titan.ap.freescale.net ([10.192.208.233]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id tAHA1ZVD022452; Tue, 17 Nov 2015 03:01:56 -0700 From: Zhiqiang Hou To: , , , , , , Subject: [PATCHv8 4/5] ARM64: dts: add Freescale LS1043a SoC support Date: Tue, 17 Nov 2015 17:53:21 +0800 Message-ID: <1447754002-40555-4-git-send-email-Zhiqiang.Hou@freescale.com> X-Mailer: git-send-email 2.1.0.27.g96db324 In-Reply-To: <1447754002-40555-1-git-send-email-Zhiqiang.Hou@freescale.com> References: <1447754002-40555-1-git-send-email-Zhiqiang.Hou@freescale.com> X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD028; 1:4bvAbRZIeXqk/AjWCEHLUF6ChWXJdWL6gNfly5tvWjIYmxDlvvY9G8ZR2+A+6DOb9fNa9OiT+bjuXLlayj2u0b1ZXERqXnhD+9VV2yyp70G1AgKJOwgmS4dIpWEwlzcUGRwCuWHH9FmQF0inpurb2RAE2lmzj/ti0pE2K182yi+t7c2LFC7D6eCO7aPYVyzkvw0jopPPA+E6BnDgw/33mK4xQXIo0u0c5xVDuTLnPa0cAmAqv+mwB2LUYijGIIK3o1Xv0gB4R0k9DbDeDDZNTfdffKd3UQRclVHoDsb+9CRSpj3GJ4AbMmblXTrz585WdgI+UM2gBFDk0Q6lUsbu4M1rsAVzSLrB7eXXwqkTFul4vBUtwT+xb36UnT/BCg3RNTywzl+PUz/oMGc3250T5Q== X-Forefront-Antispam-Report: CIP:192.88.158.2; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(2980300002)(448002)(189002)(199003)(586003)(189998001)(107886002)(85326001)(81156007)(2950100001)(76176999)(5001770100001)(77096005)(5007970100001)(87936001)(69596002)(5001960100002)(50986999)(36756003)(4001430100002)(50466002)(5008740100001)(47776003)(86362001)(19580395003)(104016004)(5003940100001)(6806005)(11100500001)(50226001)(48376002)(19580405001)(106466001)(229853001)(97736004)(2201001)(92566002)(2004002); DIR:OUT; SFP:1102; SCL:1; SRVR:BY1PR0301MB1304; H:az84smr01.freescale.net; FPR:; SPF:PermError; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; MIME-Version: 1.0 X-Microsoft-Exchange-Diagnostics: 1; BY1PR0301MB1304; 2:K04ygSXmvTfy773GRTGiIYIcxqgX5qlMgZwW71r05kMYWs0AkzCK66lgrr5gSlFPOTcu+9MHakPqJQhYlijbHVdkCz4gXuyaQMp3N1VHgBcouKEcOZszPIMYCmMVD8W3ITq+WMyjZLmx8LZb0Z0KcNAqBcfmBxJUnJ8oYS3gOXA=; 3:/qDxK/Q/Td+PxItILfqlYBjpJV0WDoWJViVwR7RePEoi+r0p5JNm6v4leHCJv5UDwDBvdaJ85WqF+NlXHH+I67KSTlIbslKFdGZ2hKi9/0A5zGHp8xcszf4PxUjuDF5l45OW8UcJ97yOzJKLR8+sMD/Db6F77eMMwFY997+CKVbt5YNZU7wXJR6brjtDC9ceH0ikGsN4XuHRd/JyNttsxOh42LeXXL2pNSgIeeeVqZ4=; 25:7vantQjTMn6CJoM6aPlwc3kqap4Zhwv2g7cCGTMqlC6up548y02xrjMgrFP3hOVIVtnTG3VJg1ZlVB0Yy2h1H1Nk9AoLnG6VPXteJySuWFHV7hG52LZkvugEq2Me1umhFtp/gHzECLVN1/QwqPafwCru04jNDH1FHArf2v5zoX/CRb/uU9T+OKi0+MtlVyti1niEtwP+GEwQ7dfNUiRlCZwweT2h494DEy/B94wUHV86kcfAGP0BUptw4SgodSq7 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY1PR0301MB1304; X-Microsoft-Exchange-Diagnostics: 1; BY1PR0301MB1304; 20:BdJUS4G/0R1fZ9UykOx3YY2B8C9ChQeWIiHO/ADEcp6vBvpi6/Cu88ncIz7TpcVN9X5qQp05utJbiw52AHoInKunMMWFjOOE/zEZZM1taTfPzG6jTsWvx4XZDozthd2r3ukARCHAfTDnYuDUoZyI7Qbx/UQSSqGGNTYOPlxMSt8RUGkTqaSlYOS3x0OG6dvLdcfNCw6d733ARu71ZHoSv8JuKl7rceOteFTwcMeQe9N/JQ9LiMy9R/oG2IerufhR3ZqKyvgQ1/Ig+vpVQN2LKgi8A3LZHKXTTOgx+RftMLH1Sx4yYEpU+68AJJxF/ISpGqwR96jgmzYmU9lSUofkJMw0lwKmDCJOP6uZMRloKug=; 4:Y23bg0SgaGEtPy8giyvGNJ7+/cNoNNeF6DTRKLAOOIApS5e45tMIhhNldFTtID1ODBiivfaFVh/YqT085Hmpk9md4PJStaSRj/akr+RCwUis5lxYnzrvp0pZ8/ry2QJHtarf2l3/Ykij6pcG/pR7Gs495+IterHjFqO7vby7vP17XkeYcqRlvdmoCWW5Q2GAYfGBM8UBGVIge8m1Gh+BUh+jaX9l9uJgLzEYhC0uPdK8hiwZQsTZBMVF+ucqGCpne1OpRQa20OLkGwPVdVoa5RoHQGjzfENhdKJH2cJEuuCl/I9+G1INQzAoLd3/S5cn+/Dyp5P+CfM+ddstJhX0Xgl5xaOplomUrsWRofNhTJH0EnrVEFpl7U1KYjowER3T X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(101931422205132); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(520078)(5005006)(8121501046)(3002001)(10201501046); SRVR:BY1PR0301MB1304; BCL:0; PCL:0; RULEID:; SRVR:BY1PR0301MB1304; X-Forefront-PRVS: 07630F72AD X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY1PR0301MB1304; 23:A5yytXOJM6uwwmCQRQr7uGKdvcSqGgXjtrMoIP2?= =?us-ascii?Q?QxNUMU2YQ9VUy/GY0ZfRjVjd5AfeU3gpMB3uHmxi06F7/yilXFV6yjnabqph?= =?us-ascii?Q?GehEmKXbMP9xx8sbwYJ9G/N8RQqycSmlIAI4w5tl/ewzaxOXeg86A33AACu+?= =?us-ascii?Q?cZiBPe1Dk37zHESIc/u+yfn7LCT0djGgWUBaqylSJq+kR4YXv1aUHrcS6iF8?= =?us-ascii?Q?4y8ixPFeG3TyVQdwq4WYuxsY+/P9A3oYIauGv59Hspm2nLwDaVT847764i0Q?= =?us-ascii?Q?OKYIFpgphLsMm9swo2Ac4vaWFdFKnO2jqI/xE8Twoaj4x0bjNiz1WpWqR47Q?= =?us-ascii?Q?MLcwknodoaIh8LbnPiLas6dpDJBATMY4P+kHqxTPN93w1s9UrVsN8XrkZ4SW?= =?us-ascii?Q?bQdT5gqNiEe46BfAdcrnASKKcL1Wt0NcTL/OPdFs2mGME9xEt4S5BHQ5OD0M?= =?us-ascii?Q?6aFgTBW4Js0zSCA/pnRW8ZVJYwtNSZEQlgWQPvDR3m40AFyN7cOGrS0M+McD?= =?us-ascii?Q?dcyGYuS8zxdzXZmFd/TyS44kJ4ahWwmoAWSMYygf+soyQWlCguyZk0TKGfNK?= =?us-ascii?Q?KyI97fWiKHaffAavnWtReTq75WJjN/HWT9bOthStQn1DLQ4VdeMoZtTbLXI7?= =?us-ascii?Q?R4tofv45ySfpelV46cXjmxIIefuyPSmB7LAbrnp754b5I2HiEe3iRq3b/VAQ?= =?us-ascii?Q?q6adJmtKg9cz/dWfFW9Is1GWPVkp2Ucbh/eWFkaYfd+rX1q/mB0jmk8crbcf?= =?us-ascii?Q?IM60J32jPcczb0tpmSiXywsrwK7U4LiJOTVmP9l01dfuC8g75EjbtUupg1R4?= =?us-ascii?Q?kOEKrnVffiTsoFVs6hn4xIW1ey63vqVK4xhjJFBcQEsK0A/m9JX0sBUlo/yo?= =?us-ascii?Q?XPCz/gCr3VknKccEBbok4wKeGDUTlnk4BhyJ+VhH6ZBflgQCBzwZkvFafsZ+?= =?us-ascii?Q?lbS+rHHUwpDbnCanLAr8znol6R1dRsxxByP53nBMoYH/m4JcGhjn5p12/IHN?= =?us-ascii?Q?zrQZP4q/MDxkWRaoOPgZiAxfGbbqL5ViyLkEhabOv99CskUipq7wk/SNDXvH?= =?us-ascii?Q?bOJhSJlxhv18iZbWj/lcAPdJNbXnp?= X-Microsoft-Exchange-Diagnostics: 1; BY1PR0301MB1304; 5:/jzzmL26MdFmivHapoNqhqhVnmy5sk3keYkwbRoDUrcl+irTZVTd+Ot+h8/SS1l0bMnJOoVroM/ydIvIzOqh6WZogb7w8TmEzdPbC8VFsrF+JHioDFKrS80/e6A5Z5JicQyEH0zpiC8jv2N3beoYyQ==; 24:Udhn6/S7LaY3/86dcL3+Y++U0JnB89Y7IPDsXKkR/1P5pEDO0u9oq8IUWH6aKrBELC803oakE6Uy/cQVqQjgJIaw1WYHbWSe3jQLYJgYzpY=; 20:bkLsB6LSqnsHNEeDGoGXcxEznEE0n1IvYa+kKFKu/X/Lx7Egv+Ob7OqBguWb8Z303mlFLN/4Ry9dMkMbef9yIQ== X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Nov 2015 10:02:03.8350 (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.158.2]; Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY1PR0301MB1304 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151117_020231_448329_9A8E24E7 X-CRM114-Status: GOOD ( 21.85 ) 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: mark.rutland@arm.com, B48286@freescale.com, Shaohui.Xie@freescale.com, corbet@lwn.net, bhupesh.sharma@freescale.com, mturquette@baylibre.com, wsa@the-dreams.de, sboyd@codeaurora.org, wim@iguana.be, Wenbin.Song@freescale.com, scottwood@freescale.com, Mingkai.Hu@freescale.com, Li Yang , linux@roeck-us.net 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.8 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 --- V8: - Add the properity 'big-endian' for DCFG DT node - Add the reboot node. 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 | 527 +++++++++++++++++++++++++ 1 file changed, 527 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..42a6154 --- /dev/null +++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi @@ -0,0 +1,527 @@ +/* + * 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"; + }; + + reboot { + compatible ="syscon-reboot"; + regmap = <&dcfg>; + offset = <0xb0>; + mask = <0x02>; + }; + + 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>; + big-endian; + }; + + 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 0x8>; + msi-controller; + interrupts = <0 116 0x4>; + }; + + msi2: msi-controller2@1572000 { + compatible = "fsl,1s1043a-msi"; + reg = <0x0 0x1572000 0x0 0x8>; + msi-controller; + interrupts = <0 126 0x4>; + }; + + msi3: msi-controller3@1573000 { + compatible = "fsl,1s1043a-msi"; + reg = <0x0 0x1573000 0x0 0x8>; + 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>; + }; + }; + +};