From patchwork Tue Aug 9 21:59:39 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: York Sun X-Patchwork-Id: 9272293 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 5DD6C60231 for ; Tue, 9 Aug 2016 22:02:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4400728375 for ; Tue, 9 Aug 2016 22:02:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 37DCE283DF; Tue, 9 Aug 2016 22:02:13 +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=-4.2 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 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.wl.linuxfoundation.org (Postfix) with ESMTPS id B07DD28375 for ; Tue, 9 Aug 2016 22:02:12 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bXF4c-0003xN-9i; Tue, 09 Aug 2016 22:00:34 +0000 Received: from mail-by2nam03on0624.outbound.protection.outlook.com ([2a01:111:f400:fe4a::624] helo=NAM03-BY2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bXF4X-0002ts-CD for linux-arm-kernel@lists.infradead.org; Tue, 09 Aug 2016 22:00:30 +0000 Received: from BN6PR03CA0025.namprd03.prod.outlook.com (10.175.124.11) by BN3PR0301MB1185.namprd03.prod.outlook.com (10.160.156.147) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.549.15; Tue, 9 Aug 2016 22:00:05 +0000 Received: from BN1BFFO11FD050.protection.gbl (2a01:111:f400:7c10::1:142) by BN6PR03CA0025.outlook.office365.com (2603:10b6:404:10c::11) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.549.15 via Frontend Transport; Tue, 9 Aug 2016 22:00:04 +0000 Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=nxp.com; vger.kernel.org; dkim=none (message not signed) header.d=none; vger.kernel.org; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.158.2 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.158.2; helo=az84smr01.freescale.net; Received: from az84smr01.freescale.net (192.88.158.2) by BN1BFFO11FD050.mail.protection.outlook.com (10.58.145.5) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.557.8 via Frontend Transport; Tue, 9 Aug 2016 22:00:05 +0000 Received: from oslab-l16.am.freescale.net ([10.213.173.12]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id u79M02l5010223; Tue, 9 Aug 2016 15:00:03 -0700 From: York Sun To: Subject: [Patch v4 9/9] arm64: Update device tree for Layerscape SoCs Date: Tue, 9 Aug 2016 14:59:39 -0700 Message-ID: <1470780000-16750-1-git-send-email-york.sun@nxp.com> X-Mailer: git-send-email 2.7.4 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131152536059674854; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.158.2; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6029001)(6009001)(7916002)(2980300002)(1110001)(1109001)(339900001)(54534003)(199003)(189002)(356003)(36756003)(5003940100001)(50986999)(86362001)(87936001)(104016004)(92566002)(8676002)(77096005)(105606002)(68736007)(586003)(81166006)(81156014)(4326007)(48376002)(47776003)(85426001)(19580405001)(7416002)(50226002)(50466002)(2906002)(106466001)(69596002)(97736004)(110136002)(19580395003)(2351001)(189998001)(8936002)(229853001)(8666005)(7846002)(33646002)(305945005)(7059030); DIR:OUT; SFP:1101; SCL:1; SRVR:BN3PR0301MB1185; H:az84smr01.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD050; 1:ljXOsJ+dELhpEp2kEeuVVqKXJRtKHJm9Bxk7JErYmrmHeabtMwNl9WpsMoSI8oCgJpra7wluTzR1lHpTl+hvNTWVqhcLqhXwyDLt7MmLkXVaVxmT2DLjNSFm1M118znEQMaaEfuoZWv3xZLQFd3gSuhVi9aSv4O5mTJKCrcDvzedTHdiGDmIsfha9JNvRnZb3tTxtc4hLx06mLRliISGajPKQezX00YqXeOXPgNCNCopw6HUHOreslNZjLpmN+bEBh15ucFOFzGow7k9TDmK440g+JpvgnNzhhwA+cvYpzL9hbgtpnz2sOA1dGVdoU6iMEG2YVWwkwt9uW5id9ZZC9QuAl/kBpSXOyeqSUsp51cnu4T64WpLXxvvvBmOozSgaUpuiBhGMZBZO9TcIanlFKYWQ0MMCuydlXxMJlie9t83yRjcbzG3UjifEfAfQirvVzat6DG5+5gOPC6wdUN2UWInSuVIA2uYqAefG3lAlrM94H1zWw4NdxliDYLo3R9PTAXaVtx7tFF5hhD+C9Qz0xDmJjhQ1x744A5yp/xOIGtSk0LAfRelcstI2FNIvH+KJvJII7/0FY/AY0NQ0Hzj5JuFwsWdVh5hceNnG1ZsacU= MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 5c10af8f-1590-4666-1f87-08d3c0a085af X-Microsoft-Exchange-Diagnostics: 1; BN3PR0301MB1185; 2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kEc1nHJGETga5gUWg6eKClCLy3hF9q/P3iLU/HKVH5gUY23HjgJEAlsYXfVW9iiPOxUXHPeTp60AITRpRUSmsMWxA4aVa9yrDMVo3AN9Y8UQZtNc+r094XPLzY7XJ6oQ8JcHccwHXaXB0LV5mxxUO2acYmzJgR6g+3+L3qGrrrU+i5S5nqDJpnQP9xD9gFLeVy9+5JHe0= X-Microsoft-Exchange-Diagnostics: 1; BN3PR0301MB1185; 31:Vp/MC+iWiMQamT9loVjUn++eUznyfn6/yH9HJv/KyEQd7gTuI1KeMxRF6MfrVEes5C+sf6T44FckqP5TBbl9pnLF0VI+7FxcHMbmJDwRVTq2wfFSmcmnHlvlVE8ZfUAT0MvraByzMcocq2XDBGEevCXKJX2OMnHMfbxIo+i0IRth957L1lkG0kp8UWRfTZkLU+lKfELYHo52fwz/AGS9V0L54S3S7HLm7vkZ5j0axrY=; 4:EFACV3cqR7QWCLqm9+hwqXyUvdqLZUUoGUKEENxEo0bpTDlQKcny3XnXAsrJYt5P/IJU7i+MqPqw+U7dueC8Pw8BF+shyIDdt93sSKIfA+VX7RLMJVpurgWE6T0aqS50MSu8tJZUT38qV9B2e9/fraxVFMUqYEOxeTuExap8UGkVNzzZXMJ0IYIifC6GqWqHS/6Q/jQ7LRdu1ZHv2/Zye7ZmBqmyFCh0mCSIZlCqGlosPE3zBnSUoWw+4dF6akvckaYSF92Z2klclSeGBcxvZpkp0x3+tFS3boLzKu+3GARa2cL3WXK8AAqRsQvfVD6AoQWQubm1hiEyNbwGhXz76iosq+cgfq0+AkmUrDv/o5F6G3Pow9p7cxO2QGwW/uXQmMuXsI11gBjXfmUjuHkCgRT/Y1yIOR5FPtUAMuIzkmIiHt8N6aygyhD4yhTMY7qXZKkta6auU9JN4T9esM82jtAHv8ge3DzMhzFXhc8QCr41EnjkTnUwZgI5HGiPMpfh3HgVd/wqoBhdGRr+P53s6w== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(13018025)(13024025)(13023025)(13017025)(13015025)(8121501046)(5005006)(10201501046)(3002001)(6055026); SRVR:BN3PR0301MB1185; BCL:0; PCL:0; RULEID:(400006); SRVR:BN3PR0301MB1185; X-Forefront-PRVS: 0029F17A3F X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN3PR0301MB1185; 23:juQqfz600yyPs5/5nWX+fi1TdS2Pl+qQDkwlmbh?= =?us-ascii?Q?1wI1NpMyRMiCl5muRAb2nvJ+PtGUr5h9lXqvaAkwobBATb5VKUGWa0f95eZt?= =?us-ascii?Q?DFipNRaOMtYkQAXXSjUtux/v8ZwDTs75NANw2ZFXzAqFjiCdek2wG89LEdUt?= =?us-ascii?Q?/dHwUfrH2zeoJpmjYKmjtW8Jw+nmZBkEMFwm1sLR3MlLEsTl4dYrur6TPiif?= =?us-ascii?Q?MF7hulBcCtT4uJhw7bzyZnxd2xs44y2oPRSTKEvu2MX32VaYzyGGN+282Mum?= =?us-ascii?Q?V2F3w+Re4cArt5eXej5i+jM3TKYwn7sx143OmZfv3f7jgzp4GFLLVoRwxWje?= =?us-ascii?Q?cmlNpPVF2fIUepZqrcvvd5hhRM+2d+cOMHTovQDU2oV4p6K4SWkNSzJ9UJaB?= =?us-ascii?Q?/9TMsPtztPSfvIF/bkKXBcc+aTLvun4isVwchfDGv08rx1O7u6J8sgS0oOUo?= =?us-ascii?Q?13Yx9oNF7jSNjJ7Ra23aO5P5UHdqrT99WX7pyFJ68ohPacqHUUF0VKLypK9U?= =?us-ascii?Q?wTqPp54zXNonJ0y/I95mhTwXyzvlz0/9XHNApqiZit41olToB7ggfM+In02k?= =?us-ascii?Q?OUtwSXms4bbSDTOZDATezDz0Z86ITK9qci/DkRVIK/gzsCjhAQDfC8GNjqsJ?= =?us-ascii?Q?7hXF0WJOOOw3bI9YXHnI9mI8QDuoHlvp6hupaQ/VE3dj/AMKIstU9OELsVEg?= =?us-asc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m8zK4=; 24:ZL8mcSyZfEQaMRWazpf0pXApmMp7p6K9q1f554tjrPDef7dbI9Un2ydbnmRmB53+fSUziQUNlEmYB4uCmLRlst4bbtJ+VqOQ2tSt9RvB4v4=; 7:AzeK1yN8DTaP9bIavax30puZHWXn8pUxTNTVMdzd7fFkkl7WVGZxNlFWln63gmrz/5vTWkVkg0JNZVEmOA1xBHVQ4b8Eb0Ff3GS3go7zdwHk+dZHuq8zcLvl/SjVE/EDlCtreDb6cbBGqngt8kCfghemxr24m20NY27QHG6fwdJeYOaRhJFAy7SM+qOTa5BH3ogq06+oWF0FGs17lzR64Q5I6mqQQ1GUAt/IIKVe0pznH/4r3w75FWDMBNd/Aexx SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Aug 2016 22:00:05.5150 (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.158.2]; Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR0301MB1185 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160809_150029_625112_98316BD0 X-CRM114-Status: UNSURE ( 8.60 ) X-CRM114-Notice: Please train this message. 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 , Liu Gang , Catalin Marinas , Will Deacon , Bhupesh Sharma , York Sun , Li Yang , yangbo lu , devicetree@vger.kernel.org, Arnd Bergmann , stuart.yoder@nxp.com, oss@buserror.net, Rob Herring , bp@alien8.de, Yuan Yao , Mingkai Hu , linux-arm-kernel@lists.infradead.org, Rajesh Bhagat , morbidrsa@gmail.com, linux-kernel@vger.kernel.org, Olof Johansson , Shawn Guo Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add DDR memory controller nodes to enable EDAC driver. Signed-off-by: York Sun --- Change log v4: no change v3: no change v2: no change arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 7 +++++++ arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi | 14 ++++++++++++++ 2 files changed, 21 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi index de0323b..cb33f23 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi @@ -196,6 +196,13 @@ bus-width = <4>; }; + ddr: memory-controller@1080000 { + compatible = "fsl,qoriq-memory-controller"; + reg = <0x0 0x1080000 0x0 0x1000>; + interrupts = <0 144 0x4>; + big-endian; + }; + dspi0: dspi@2100000 { compatible = "fsl,ls1043a-dspi", "fsl,ls1021a-v1.0-dspi"; #address-cells = <1>; diff --git a/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi index 3187c82..3221e5c 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi @@ -689,4 +689,18 @@ interrupts = <0 12 4>; }; }; + + ddr1: memory-controller@1080000 { + compatible = "fsl,qoriq-memory-controller"; + reg = <0x0 0x1080000 0x0 0x1000>; + interrupts = <0 17 0x4>; + little-endian; + }; + + ddr2: memory-controller@1090000 { + compatible = "fsl,qoriq-memory-controller"; + reg = <0x0 0x1090000 0x0 0x1000>; + interrupts = <0 18 0x4>; + little-endian; + }; };