From patchwork Thu Oct 29 21:12:06 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: 7521241 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 A5F8BBEEA4 for ; Thu, 29 Oct 2015 21:30:59 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9E56B20435 for ; Thu, 29 Oct 2015 21:30:58 +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 8AA42203E9 for ; Thu, 29 Oct 2015 21:30:57 +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 1Zrukt-0007B8-6X; Thu, 29 Oct 2015 21:29:07 +0000 Received: from mail-bn1on0136.outbound.protection.outlook.com ([157.56.110.136] helo=na01-bn1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZrukY-0006qb-DF for linux-arm-kernel@lists.infradead.org; Thu, 29 Oct 2015 21:28:48 +0000 Received: from CH1PR03CA006.namprd03.prod.outlook.com (10.255.156.151) by BN3PR03MB1477.namprd03.prod.outlook.com (10.163.35.140) with Microsoft SMTP Server (TLS) id 15.1.306.13; Thu, 29 Oct 2015 21:28:22 +0000 Received: from BY2FFO11FD053.protection.gbl (10.255.156.132) by CH1PR03CA006.outlook.office365.com (10.255.156.151) with Microsoft SMTP Server (TLS) id 15.1.306.13 via Frontend Transport; Thu, 29 Oct 2015 21:28:22 +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 BY2FFO11FD053.mail.protection.outlook.com (10.1.15.190) with Microsoft SMTP Server (TLS) id 15.1.318.9 via Frontend Transport; Thu, 29 Oct 2015 21:28:22 +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 t9TLRYFe014380; Thu, 29 Oct 2015 14:28:21 -0700 From: Li Yang To: , Subject: [PATCH V7 3/3] ARM64: dts: add LS1043a-RDB board support Date: Thu, 29 Oct 2015 16:12:06 -0500 Message-ID: <1446153126-6219-4-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; BY2FFO11FD053; 1:8q3TP6/MFSU4A3D7sGCTy/aFa6hWeQeE+rqEUhSo4gnqeuMKd8Zx+eb5elBZD7Ln4C/W8sp7TnJEUj7N1IDJ0jvAFJn7POcOJzr9eU4QQ/D97+SO/fT93XTq/tlSPIZD32/maJzPXIvO4nIpUngcVRadnqhOfr0bDSzWz/Q5ukAuHpdqvu+t4ElkSo/ileNtsdIJXbIZajgyBEC6oVS+zX9mrPlbay610FWP79PJaRF+p6gyByg/iuN498Wo8iAs9fyR31bn6WfGLZqezNR8rPZJj8VlS/f5Akz5nwFdmI+TQVsq8lAy5WWFvVJBxIqnbGTQdmhVoDoKpt5JsUjDpqcpUURBwQxwIdpAJJPuv6a69EhH0ZqilyfgnBD1dQosSr/CjPxAWBVh2PK/0S4/dg== X-Forefront-Antispam-Report: CIP:192.88.168.50; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(2980300002)(1110001)(1109001)(339900001)(199003)(189002)(4001430100002)(5008740100001)(86362001)(107886002)(76176999)(50986999)(87936001)(85426001)(2950100001)(50226001)(11100500001)(5001770100001)(97736004)(80792005)(189998001)(104016004)(81156007)(92566002)(5007970100001)(33646002)(6806005)(47776003)(5001960100002)(19580395003)(106466001)(229853001)(36756003)(77096005)(105606002)(48376002)(50466002)(5003940100001)(19580405001)(2004002)(2101003); DIR:OUT; SFP:1102; SCL:1; SRVR:BN3PR03MB1477; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; MIME-Version: 1.0 X-Microsoft-Exchange-Diagnostics: 1; BN3PR03MB1477; 2:ubs7oNexqBYKEcZRoFQlzZcJ/zlrrlyq/fSf0Xu61CZQnfBml9cimPHFzWDQB+bVj/J+dCZYpVshMyXzVvOSsWEoIBJmLhe+znuf6kian7haTL6VRkgE937/KyToRGPdI3+O0YbBOUeskhjkaLvuLceSSOOVNRLkB9vliio+usU=; 3:LsiF9h38Jxnkcum+4EmaHVfqFtiDvnHAcqh0jTQQAPsbI6PTJ+FbFAM4WFpHhkVK4PlGUItqVT+lgTNpdyyQeNuKcHJHS9UFU8c0AL2LdriKFUqD1M7fSxlV4BMdIHWNIeO6mP+tIzkDG6+UuE5JBwsVp6GCEjTiO/QvV8sv+eTJVdGYfpVeW6e7lnlqPQGxTzes3A8QQZedc2YBH94/450795UtQQYYusIkVP3E9V8=; 25:Gl3OSszSpTGjYhj7a07MTwc6bGXSUUYV2RUjr0Pe4McAdzOAGS8Jz7s41Ql5tWLvhxZBXNWykCdHjx05rxkXGZs/C0k+3ThsddCDkOqtjuLeh1P0vVeSN6GgcEO41EtRaFPOam/t5NlkzOtGWiTsNoXQ1EeN4l0RViAW8P2HcIOdAt210N7slJR9VhSj/UCntPmHPmEcbKZjY+w25deEdjJMyd5O1Ct58Z7QPW2diAJLp6y9PDrTwVqPuznvQEOD X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BN3PR03MB1477; X-Microsoft-Exchange-Diagnostics: 1; BN3PR03MB1477; 20:xOtVMLKO/fW2MjgFcXtmRHrL2bYhDWUK08p1kH7NmwwWsSmMUrq+DssumT2yLjS5yKvtRHj3mLpdws+l1n4LlDaAdJiGQwQ5iEuaquHK3i8AKaLxh/MZo3jdz9GiFEfKkkkKqRT1XeJ/2iKQb8YTY2dwAp1fum55Bixk5yKv23fd5ppwLfsvWhWXfYTt3LYsTtvll347klizZxwhMDKBmfD6mKdq4blOTYoXRnVGAbrgmPxkB575xeBDciwKiRr6SNCzH5mCFg0GtWRCeWv0m4qKccF1rplIUTmfB7Ds4lDh2HAXotx1bEzpOO9j/XaZnrYSw50J5ga3J3yWY3OIfNhsw0mRQKpnMsJ7G0aZH2o=; 4:pnbyc0JcRFq18KfyQvNfJNYZPjZgGUT690UaZOfa7jEd4Kf0IUGd3qH+c3WEVDCgdEllx061XvodnGpDN6X1hq3Xx82xArnOJGC3LrSJ65XRTDUrsw/PMyvUc2H5zGoJaqUEK1IdhEoE9BIcjGOXjUIehmpyeZsaCvsUiZq5/3xKwvZ/q77z0ZYqfSDt6WUE6GA+bKd2O6Essfmbr05ocga1C4OlrL2+cIXAuFZpgA7Vzf3OKxSCV3Bj2QvZeC7o4kxjttS3p8EJ7qIJwFFR3y+Vf2l7lKIlNSiqyQY9Hx2gkpFFcN0XoqVvWEPjLkeCDEB2tsgovZsR7A1EuoCS5hrO3xFYTI5ymWkcDh24ENhhMMHGAT+atNMlLpmnadSA9JiAJKwuvNba8FiduUqTJQ== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(101931422205132); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(8121501046)(520078)(10201501046)(3002001)(102215026); SRVR:BN3PR03MB1477; BCL:0; PCL:0; RULEID:; SRVR:BN3PR03MB1477; X-Forefront-PRVS: 0744CFB5E8 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN3PR03MB1477; 23:OuI5j6LhLjxhg1/OMKjU089Z6AfxLvj5V8IKoUez7?= =?us-ascii?Q?LK776TDwF6I/2C9meLkqhO/6KIqzOpwnbmlebfRkaqZW3NvMv2FuXZgygDVy?= =?us-ascii?Q?3HAWfbixdqctylAtwinyUKBwQgGuuahqlwJyzy49EBDi4sUgUmzEhaTCv6vj?= =?us-ascii?Q?XyK9GyUomMHdmNQh4tABHJGL0kXY5qcRmiEnXrvJEnqKE7/Y9X9ylqTleU9k?= =?us-ascii?Q?VXGPXj/dFQY8TBuZlIeE4eA3LZcjKHy5EvDYRABTLxsclmoKdJJ0vjwiHmO4?= =?us-ascii?Q?tUyGG5MWPJVHzs+5BimXpuSID1o4n+BlOM/VtkdVZ11AwgjslSOm4718l2L0?= =?us-ascii?Q?CIrdOrPVItU4+5sgq/Okk6yXVhpQKTsCpM0kXVEtxc2DLp4zh81Au+4PEx1d?= =?us-ascii?Q?TH/AktVZV1IHoGB4lOZFAoUlrlwg3U5Bm9xebBPJ7Hhw5U9Cq8jRG0HtB0+3?= =?us-ascii?Q?T1PIxzMoKn3X8KgeET7Fazy+axNcy5gQosAGF85N8CaBVck05xVAGmUxItF3?= =?us-ascii?Q?3TH0LwO7VGJsaN+sfwtvmYN3DXnTPiYCfQkDDPZ+yQ5XSoXibywVLZmnYa+b?= =?us-ascii?Q?9Laz96FsdfJ/2PCJKGFxhdhD834v24t/iax9legC3tL+j15Qbv8eBp1rBYA7?= =?us-ascii?Q?94SDpYywkYLQ7tTp2/SsjvTw8JAtpN2GtI7HKX9VV80cuy4PEDYl1tndDjFK?= =?us-ascii?Q?nSgSv59nNoj/4x26K4G+xh2j8mSiIPkOUJyj5OPG0PX5jMLryWGEoghAhXmz?= =?us-ascii?Q?S7OTJgZ9ZqLQgSWFXDllxUMMtsNdn1JWxvGRRoWPUkPmDEMTgUWYVbZWM5zJ?= =?us-ascii?Q?dYcmk9nl8FguBQZrboTHGpwTSldcxU6IWe+gsmi9sPhwzhzV/HH18+CpHKcW?= =?us-ascii?Q?LLf4oJLkjg1sO7ClGL0cUsl9hn/KakqjYEjXMzd5wqJTV+Z6oTcfsr/MsPA3?= =?us-ascii?Q?YqOG8yQCVDcQI+io23Yembfvqkc4CDs/cjFjyV8BGdJsSWF+TR9iEsPyuMMa?= =?us-ascii?Q?vTM6+mM5Je35j2D9DaKqkqf2gX2JUnTR8UNSfh4x15EPBKAC1rvkHQhMG6IF?= =?us-ascii?Q?3rAeSOBOkwi5yKMOk2b6uikcKmcKjyBHA+THB2AUcx6NHrzRNlHBmvk9ajPf?= =?us-ascii?Q?xLE/GzZxI1J0nB9YdVONiHLsQUM81OA?= X-Microsoft-Exchange-Diagnostics: 1; BN3PR03MB1477; 5:XNGX2UMoSBibr+RwZmu1Q0NW3/d0EP4rC9lqwk19frvsJA8Kycs69H7wkMBc7KcpGir5DQXXYhnR48R3x2nV9X8+6XErz4k2JGeW3Aqao6TsgeuEjjg/u0Us7tJcJioe/OKIx2nUaiib29nxVkFV7A==; 24:2/dJf+DPbIvFSNgKEfHuBxcMWFXGiNCr5xcOf38x5Q2LhSNEF29wYDEoCIm1CJEPLO7n6r8I5iMViu+mWjAsFQEacQgnX02VJcRGmZiRj+k=; 20:srlICNRPiG0pOarcla5yTgBn/4/8LJvm4hw5EMjPnkPJakQH+i8qFBjc/hhOZ+T5DE+Uio+B4gYqaZ/VPZJtvA== X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Oct 2015 21:28:22.2268 (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: BN3PR03MB1477 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151029_142846_807619_3207CD24 X-CRM114-Status: GOOD ( 25.00 ) 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, Shaohui Xie , 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: Shaohui Xie Signed-off-by: Shaohui Xie Signed-off-by: Mingkai Hu Signed-off-by: Wenbin Song Signed-off-by: Hou Zhiqiang Signed-off-by: Li Yang --- V7: - Rebased on latest LS2080 patches. 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/Makefile | 1 + arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts | 116 ++++++++++++++++++++++ 2 files changed, 117 insertions(+) create mode 100644 arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts diff --git a/arch/arm64/boot/dts/freescale/Makefile b/arch/arm64/boot/dts/freescale/Makefile index c4957a4..f3c2516 100644 --- a/arch/arm64/boot/dts/freescale/Makefile +++ b/arch/arm64/boot/dts/freescale/Makefile @@ -1,6 +1,7 @@ dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls2080a-qds.dtb dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls2080a-rdb.dtb dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls2080a-simu.dtb +dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1043a-rdb.dtb always := $(dtb-y) subdir-y := $(dts-dirs) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts b/arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts new file mode 100644 index 0000000..7a351e2 --- /dev/null +++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts @@ -0,0 +1,116 @@ +/* + * 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. + */ + +/dts-v1/; +#include "fsl-ls1043a.dtsi" + +/ { + model = "LS1043A RDB Board"; +}; + +&i2c0 { + status = "okay"; + ina220@40 { + compatible = "ti,ina220"; + reg = <0x40>; + shunt-resistor = <1000>; + }; + adt7461a@4c { + compatible = "adi,adt7461"; + reg = <0x4c>; + }; + eeprom@56 { + compatible = "at24,24c512"; + reg = <0x52>; + }; + eeprom@57 { + compatible = "at24,24c512"; + reg = <0x53>; + }; + rtc@68 { + compatible = "pericom,pt7c4338"; + reg = <0x68>; + }; +}; + +&ifc { + status = "okay"; + #address-cells = <2>; + #size-cells = <1>; + /* NOR, NAND Flashes and FPGA on board */ + ranges = <0x0 0x0 0x0 0x60000000 0x08000000 + 0x1 0x0 0x0 0x7e800000 0x00010000 + 0x2 0x0 0x0 0x7fb00000 0x00000100>; + + nor@0,0 { + compatible = "cfi-flash"; + #address-cells = <1>; + #size-cells = <1>; + reg = <0x0 0x0 0x8000000>; + bank-width = <2>; + device-width = <1>; + }; + + nand@1,0 { + compatible = "fsl,ifc-nand"; + #address-cells = <1>; + #size-cells = <1>; + reg = <0x1 0x0 0x10000>; + }; + + cpld: board-control@2,0 { + compatible = "fsl,ls1043ardb-cpld"; + reg = <0x2 0x0 0x0000100>; + }; +}; + +&duart0 { + status = "okay"; +}; + +&duart1 { + status = "okay"; +};