From patchwork Thu Aug 4 22:58:36 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: York Sun X-Patchwork-Id: 9264501 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 6367760754 for ; Thu, 4 Aug 2016 23:03:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5331728401 for ; Thu, 4 Aug 2016 23:03:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 46FCE28424; Thu, 4 Aug 2016 23:03:12 +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 E126A28401 for ; Thu, 4 Aug 2016 23:03:11 +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 1bVRdH-0002bJ-Gy; Thu, 04 Aug 2016 23:00:55 +0000 Received: from mail-sn1nam02on0067.outbound.protection.outlook.com ([104.47.36.67] helo=NAM02-SN1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bVRd3-00020L-IH for linux-arm-kernel@lists.infradead.org; Thu, 04 Aug 2016 23:00:43 +0000 Received: from BN6PR03CA0043.namprd03.prod.outlook.com (10.175.124.29) by BLUPR0301MB2050.namprd03.prod.outlook.com (10.164.22.140) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.549.15; Thu, 4 Aug 2016 23:00:18 +0000 Received: from BN1AFFO11FD047.protection.gbl (2a01:111:f400:7c10::158) by BN6PR03CA0043.outlook.office365.com (2603:10b6:404:10c::29) 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; Thu, 4 Aug 2016 23:00:18 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) 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.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 BN1AFFO11FD047.mail.protection.outlook.com (10.58.53.62) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.557.8 via Frontend Transport; Thu, 4 Aug 2016 23:00:18 +0000 Received: from oslab-l16.am.freescale.net ([10.213.171.63]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id u74Mweeb009612; Thu, 4 Aug 2016 16:00:15 -0700 From: York Sun To: Subject: [Patch v3 11/11] arm64: Update device tree for Layerscape SoCs Date: Thu, 4 Aug 2016 15:58:36 -0700 Message-ID: <1470351518-22404-12-git-send-email-york.sun@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1470351518-22404-1-git-send-email-york.sun@nxp.com> References: <1470351518-22404-1-git-send-email-york.sun@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131148252189264428; (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)(6029001)(7916002)(2980300002)(1109001)(1110001)(339900001)(199003)(189002)(54534003)(36756003)(7846002)(305945005)(50986999)(77096005)(2950100001)(11100500001)(7416002)(33646002)(8936002)(106466001)(50226002)(2351001)(229853001)(8676002)(2906002)(81166006)(81156014)(586003)(86362001)(76176999)(4326007)(48376002)(104016004)(68736007)(8666005)(189998001)(110136002)(97736004)(47776003)(5003940100001)(356003)(105606002)(92566002)(50466002)(19580405001)(87936001)(85426001)(19580395003)(7059030); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR0301MB2050; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD047; 1:AYY3WY+VTYUjFpTmAD3/5lZvh9zVUEUt4AQQRD53TNSbug9v0yKtxnEnoYUpWYRj6fW7lnJJGt15VzBI+VUOKTsOLegMDCN77WXfJESiOusbd/c40A67/Rw0oAJUhxDPSXmDsg7aemGA/icCgiOJ0YD9i7QpdcUJW/O2xKJLiQKaRB4eP1AkVMakCyypPXGGqjepUKp+Ey0IyfXM3lwCixwaBalENJ3UIzwPIf4SXsPRANqm2dCZPY52PVAPFRWX7j5QqbRzqzLEkQo8Rydjkw3paY/+d7TJ1fzjNyiIyGOdfp2tMsnKIIybMJ8MArEx2MkA6lm6SmhbzHMmjXHdsTV3A2smnBmxRH8FJZycYeKLctvBCieml3Qo+RtwqpVj15fAo5rxXNi778J+yWQIppXOlXrfh47Rn01auz5+xFb6V5a+gwBofKL8/Ght8SH1kk9IcjGYR77dSGo5Kin+nhMtg3/Sizm+SR1q5KY1v2eANCLgVX6gnOEiAoDNDr5BDmAp3OAnfeMMOFRbIyE33eOwceo+bb6xe502w2MDVOEV8ZSoWzxZbtti2iIFcH61m1M1OXVMexTNbauBdrD5pTLNT2ko15PAAaQvXvHvlj0= MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: dd045a7c-6938-4866-28ce-08d3bcbb1b1c X-Microsoft-Exchange-Diagnostics: 1; BLUPR0301MB2050; 2:+1j4Oeol8rtckiCHFZQMVuh7ucsoFLkKZ2X97s4U8MrEWU/K8/2Cnq5D6cMfuxlVsd7r/QooJ455lNqMglf+46B/ixJ7c4kWJEMhOM1EtQ89qfNlzJVtv3HWI/+thDNlCcapU0nSBuYtsZih3BxCwowYOETi7AOUnAEkXjrxjqwOUJUzJwHUwUCzmLkQKZZf; 3:OVoJPmmv9JcfytpXBeLuw5NrJuwfMyJCo71qk07BYzrG9AZNrs7f6ldbcur1EZ/ddgN8lmLcx2oVd+2BuKLveT1gLVUxughfn4NVLPkp+0ONz9FfZ4MEYCBZeIFQ8GXQGi87U+j7dL6Xgjc+t8X3fw+R2w0sygjI0GFnZjHbepthW9koxnUqQ08g5nB4bKvXfl9/EGP1tlkFNaaRRdMujjW9tHxFT/MCdIA5ClOU5K8=; 25:wWVmE1K4RbVDYZrnROpHbXt8fYqw5AVV2s936JJVrATPIE+nWclWLgaxVRwq2qn633w7ZKeiV43tyuyD6gTCg2PjTfOM9q7AJxVu5mqUII5BelGIt8TloPm9xAorY1SBfjJpZAqmehAo3+kn6podeUCS/AsP0lq1YO1jVD8Uht0MpHOlX9MGWMqybR4LRULAIp61jaT0spnJxLhyeqpzzNOrzJWCsrhz7ZAaLySMy0oU1rILzX8gSmaMsd+4ATwgF7smoGI+gjOz5mBz/grc4MmMw0XJHjxnWneMRGLY6gvE5p01NG8kjLuSFkte0m1p4O19p/JD3kt1zEJGBc/kMZO9/68I4l0qyCk0fHTNnD97QgQAGwA+6UTMMvl2SD5npSgrQwzLlXW2SpIxdEA8F0I8gEzM9YpdXlRMDj7A2yc= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BLUPR0301MB2050; X-Microsoft-Exchange-Diagnostics: 1; BLUPR0301MB2050; 31:LhDJnHKpaM3CP2egx9IC3En2e5J59Qf4kV12uq1qOhq7vcPYA8+AJAM0UcddmfH9OpyjZwHP/H6S/QYCbkBWDEdHfRnrxKwIXe9imgSGZoOaFTdSqhU6lfLRSTC1YelWD2VnRZ2CwKcBszfHbxtsPkP/wPo4yF+MNOlDB7dpn93zTSnpgKeVEKIYwUYzPERZlcs5/Ekefx5NkyV2rsnHZvd7iSYMkOuFt9MWiUnG+Bs=; 4:tYWWxiN4pHIIfsviY+waDrX5kD6z11/UDJh1hLBulfXprLdNrXJc6JjzE/zOJJcupxZcfNvKdY0LM1vR0OUI4YXSmyonlDUHXItI1vyKZzzj6IMfE/lRZ0V6qAoHMXGX6Yb5snELr3yOLaFHyTdD6dR1PZ0JrnGXiSFwCdRQI/Rj6KyuyZX6nBhxDJBr1i2j95o3ImlKJf4bW5zCIfKydJCnDNrwSmjPUkfGwroDA8TzCwZSQCPOHkCTBLu2CrX7okNjNxtPTbAodExaY4GDc4NZubTFqfxSm6evYmBZsgDB4toXTrPegN65qOIGX68K1TuOtDIMSphRRQmmPJl1n4hA4ihmXDnT8yuTWiRCY9UjOMRUdIu1cHRjNzxpyI0zBxhMcyIU/tjMIuD5bvWO7dTdIGVq+JMcDAWGsMuGxcRVHE8YvXBHeYR/VhfUWd3mN3i/uYR5RSOiAJtZMGxwfFn/CTs7HquzKxmeB2YGS44RDzh/sTDE3N5Ke+H+gQsAmxsb7Kutn5evU8MtIz97kg== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(5005006)(13023025)(13017025)(13018025)(13024025)(13015025)(3002001)(10201501046)(6055026); SRVR:BLUPR0301MB2050; BCL:0; PCL:0; RULEID:(400006); SRVR:BLUPR0301MB2050; X-Forefront-PRVS: 00246AB517 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR0301MB2050; 23:iavGkiqF6RP/4l6k8jcPXRMTJ+GAZaPluv5pgu+?= =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Nu4q2dTM4iS0XtQ7gCmLTHV58lK9e5e2vzoMp0msuugVnUo0e4U5eqBaA2I1T0KRl2krsFouzstp54ID6aBl5qGk0P6RK6SiK/B0OUArNNKsSKNyzJ+iJoL5YzEgDltBXw4AysShpwfOBJZgN7KPYbHG8PAkxBNT8kcnAYYOITA SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Aug 2016 23:00:18.6768 (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: BLUPR0301MB2050 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160804_160041_844219_5E430C08 X-CRM114-Status: GOOD ( 12.53 ) 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 , Hou Zhiqiang , 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 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; + }; };