Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932118AbcCIKbg (ORCPT ); Wed, 9 Mar 2016 05:31:36 -0500 Received: from mail-by2on0132.outbound.protection.outlook.com ([207.46.100.132]:53664 "EHLO na01-by2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753289AbcCIKbU (ORCPT ); Wed, 9 Mar 2016 05:31:20 -0500 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=freescale.com; nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=none action=none header.from=freescale.com; From: Yuan Yao To: , , , , CC: , , , Yuan Yao Subject: [PATCH v6 2/2] dts/ls2080a: update the DTS for QSPI and DSPI support Date: Wed, 9 Mar 2016 18:22:06 +0800 Message-ID: <1457518926-18518-3-git-send-email-yao.yuan@freescale.com> X-Mailer: git-send-email 2.1.0.27.g96db324 In-Reply-To: <1457518926-18518-1-git-send-email-yao.yuan@freescale.com> References: <1457518926-18518-1-git-send-email-yao.yuan@freescale.com> X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:192.88.168.50;IPV:NLI;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10019020)(6009001)(2980300002)(1109001)(1110001)(339900001)(199003)(189002)(2906002)(1220700001)(15650500001)(1096002)(105606002)(2950100001)(106466001)(36756003)(229853001)(5001770100001)(4326007)(50226001)(85426001)(92566002)(77096005)(2201001)(189998001)(87936001)(586003)(47776003)(19580395003)(19580405001)(48376002)(81166005)(50466002)(33646002)(6806005)(5008740100001)(104016004)(5003940100001)(11100500001)(76176999)(50986999)(86362001)(7059030);DIR:OUT;SFP:1102;SCL:1;SRVR:BLUPR0301MB2097;H:tx30smr01.am.freescale.net;FPR:;SPF:Fail;MLV:sfv;A:1;MX:1;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;BN1AFFO11FD051;1:sWP8jbShRPxpzF96/R4CBjcPQH89DcmQyuAI6NBQIp3jZFI6HTCfM5fpCrdBT1MUJsjfkmMLcOkhJnVF7uxd0PmZHPp8/OU8Wz62AT58OtMbZfHgbUCtJbOUzAhDm6caz1qoQiDulmlXi5Q+AlrFQoziSYlAqExQu+6QVunxQlZHa2aQHyvwh9jIga4ZvYgjJ82+ugyv+r/DqLv+EUkNoofONUyGE9KgTTQymMhvGUigIjrICVuONNtsKHv2D7fQNmeaRdPzwp9LZqXmw20czlrRbA1MgbppzkaUdaG7khSbWYMqlAgZ09xawwjTjFXBBfrOgETruAvWGblMSxXcEe4HhN01LPDrJKIZKRv7+bcK3XhSbsnKYuH3Si7rbb/BkL2WhSfh5DQO4yE6lnLvi1h5EQoqQPNXSKy3YeoJJSp3ylNKxHwwuz0Sym60uWlclkP/rwVcUjPln2NdCTzdAui/K7NLkDHTK901QVIl1ys= MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: fa8fde38-fb8e-4c48-8659-08d34805f1fc X-Microsoft-Exchange-Diagnostics: 1;BLUPR0301MB2097;2:eTirIJJabKZUJqY/7vyztkxKAqctXZr3rR7FJKfsB9bxMq5WVr1dibcsLJUPyT9De4HmIoI3gax7TpkVSJWZzkfrontOxlRBMZen1G8wtSMV4uhJnngjUh9Ufm3fCooC9Hy9EKgvHeT48Xowe24BB87lzcwA5hdCjwRw420lmukBKB9WusWjxGPsmt55JPFJ;3:52JeuDIR/KAGLs+fcFxJv2B9dRc39xLd/Uzk5lGHOoeXXeDlv8duDu6tq173jl9NuUaK7dh+K5+cmqt0nmdcndbAu09m7tOEbmRpPvtNegRHwBtYORMIpO5rMwR0fk6KO2UAWsY87Ki9xOxiGLigWg44YJppbMN6Fw2HqbgpWxvaKc08uLiwELDfFjEkG9KAq1JKmLsd3NUyRdzNtPhSLxOBLlP3njskKgdnswVjESc=;25:Olpzxq1ySO7qelWGdsuyrtHrF0X6q3s1kgUNrRkqA2QxVbJ76agb38924HmFLv2IaYaJQu21wXzsyr5NyRNYdOzRf+GviJxYrgB/fNKIqlm/IGq9hq9hh19JTle9VniKla4ixGPjTv2NUmbJwGcHCJNP4coudA0T5R4Co/zVFN+HUM5SI0xF5Zxz002qzflRkK+uRarVBBoS0ieXFN5+omJW75NjO//5akxuqtukuNW+dPPbqFlwOUqz8sTWClcGrQph+invjLuC6jWvHzDCGOqH19oFE9jCufSrjtP7xH5+SmUxem7bhWxoGxGfI1CR6aV31Iwl4n9x/vux+oNV1A== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BLUPR0301MB2097; X-Microsoft-Exchange-Diagnostics: 1;BLUPR0301MB2097;20:gJPkT/E1SNQnzwctblwPrroKMOohKtUS+uRJXqROS9EHU9LU2NuuZ7DAXNVuciD2orWVy+3u5IUjlfKVC3SollcB/8+xDmnJJAPUboL6boS6mLt9aFGS6G36t2upCCD+tDXc2iImDlaGDL8tHtSUDTfUsrhbXCo6osJ8GCSldtiyfClLwFrixfaxzoGqSMVDz8F93lBrT5JtvzDKtgVLyIJ4C2dffX8Cmdyq6eWk/09mnbQ1BPssMc13N1mV5i2w51oIRIoX98i3zQ0eMnu9XIyIolqaSP7x/N0wCYPvZZL+2VrHOJ8S4xHoTQHFix0MC9WsB+nujFWip/ld2+4iXM+aXcRBd+5CsX1lO7aPbqv7LaGrlXIxqys4iMwTgcRGeT4DrsFIbq/I+UhXMQHLXElUXPN8v8osmxu2pZAtNxUkLBRdeeeNXGI2VKGKG92H;4:SvNE/oqsJzocK0h2MMlPFBHWXqu96BFcc4mUKfRCYDG1do/EHzeh6I6ORosjrGQWRgb7Hh5g42n9bAm8+E1NegwUbjh/2enWAoxDhq6ggteiyA5sBnwUTAaX1JSxqmKbvTPsOes9xDxUy14PmkpWFsKWSE1fvRCSl4/A7KeTaZ9jmd0lLIx1yTN1hIPdXEcxEwWG93abhviXkCeim5nPjWYNf/TcVzHheZMTK4aUoaOc4B7ZCgvIlGIsqUU4A/g/19Ziwr6ff4RezAZN91fk+vwH2vl8jILnBt9rhi0RYIw27HZKuhDLDN3/0nc14xnMe86397ifQIQA+FmwIBjcm1Xt8XFLqcF2jBKGcrDuAc9WoiyDJD6lG4QdYFBF2U3ac6Wpdp82ZRhDXy2R31rELlDwTJDTDMfRBpqyC48l9eLJUhRyBLolYo77JPqoSjlHu2+KguG6zf4zg6jgRmRKnw== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(2401047)(13015025)(13017025)(13018025)(13024025)(13023025)(5005006)(8121501046)(10201501046)(3002001);SRVR:BLUPR0301MB2097;BCL:0;PCL:0;RULEID:;SRVR:BLUPR0301MB2097; X-Forefront-PRVS: 0876988AF0 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BLUPR0301MB2097;23:a46/wbMS6ATD5VIZUf/p1/LJKK9Ms/ZdH4qpmBn?= =?us-ascii?Q?qnW8Wc4j9MAnqINFBZ3qoMrlytbccwTiH4eGKH54AOGdnGX1XGg3zgNGBw9f?= =?us-ascii?Q?6NvaPMPGn7UjLtp3Nzwf6fd7WV7l+Nh//shlePKtS8AIcrfjswXIs5QRaJTA?= =?us-ascii?Q?Ko46SBbkcmq+QGfW3kfi4S0ENT+XhSF0srVpQX7tGW+g8Yr/tsOQsNdFOKbu?= =?us-ascii?Q?27BIvzz017Ioj/ZF4HoasTfFtQgShGI3KR6e/KycJ26Onk0fHtcIFk6jJqqX?= =?us-ascii?Q?5t9sRqVAXCUXMkpTXGkcXeBPSGwTo4a3EN0nppFnp/iVQX6pGPI5SFJ0pvrg?= =?us-ascii?Q?HzUWj2Oe1+xGqv/mMKE92q85Aa5CnsQnliHHM81w2GsqB95+Vf8691f4S2ew?= =?us-ascii?Q?af/DACDhc3xpaMnfEZxwuNp1RBRQnEXoS7dDRi9IBJVNh8sAfcHLU4g+K0te?= =?us-ascii?Q?V3HV6na6y8EpMId9CdFpvQXeF7Nu7WmbATEpG7q3tBbzdzAFRYm2mTyMhtUN?= =?us-ascii?Q?N/suu+I2SjjJ942ZqinQqy3KRveRh8knAlluwlA3N+OOWikQNDpTloj4+oqU?= =?us-ascii?Q?U7FAVrmr1ZIZrQFhI/e0wZUPtKovkcqDt5AU3EmPRnBKHFv/PNcWOR/HshB8?= =?us-ascii?Q?g05sGg7hIqIRAv2KjGh0M1KafqSxmV8v/Xm9rrj8PtKSdkoaJfzu6L3pOCt+?= =?us-ascii?Q?D0pPrA/8ifkvgMfPuPdlYpZd8aN1ZH++dipS+lFq+fwkmJD6qcodxFPDeouw?= =?us-ascii?Q?8BtYO/60X1vBOf6Cti/8TsQiVmhuNGkhyD41kyVU7wngq87m2wjgK/HlQ18u?= =?us-ascii?Q?cK7FGaT4lcGZ8671OqUexkfVjiHtOkgVWxKd0rN60ZEH+R69uk9YEsWnlZZS?= =?us-ascii?Q?7wN8l22f1UBMPnqerfTYoFl5YgX2OZqmY2XQ2nGNu2Qn/ua4b1ppabOge5Qr?= =?us-ascii?Q?V9IeEG41wl0WowQHp+PRvWTAnUVW6HcaKJsE0Clv4/ovjEYcAjkyPvBLfzjt?= =?us-ascii?Q?hY+zPc1T5Ln1My8+ASoKr1F3LJoKUZs5LXKS2DxTpTJZKUqVx2aGCGJ2q6k6?= =?us-ascii?Q?CY8RdohxyDOEXdqgYKYRPb4aWTml91kJwYvvpc+NCCCpkUxtqmA=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1;BLUPR0301MB2097;5:Rqelds23XmKNkRNJM+0wyVo8Ps0kK/P1X7JDWvPvV3wr5+jTEQ8ayajX8+x343CLG/KzpcgMPdWcozW/pPn6mTdwKkMkfDsQcG2Xin8sTDDWESv4yjdxBDbva1sveV56d+v65M0LDnyg22Efp5cKbw==;24:fsM9vS0iBAvgoVrckUs0lVvF4rSXSZmzQpUtt/cdQ6tPvmDS/bTVR3ykBonoS4WMnMrxOjlIZ4eP90ThUnEMbURVRlIzLYwkkHqXU3PjEkc= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Mar 2016 10:31:15.9550 (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: BLUPR0301MB2097 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1798 Lines: 66 Signed-off-by: Yuan Yao Acked-by: Han xu --- Changed in v6: No changes. Changed in v5: Resend base on arm-soc. Changed in v4: No changes. Changed in v3: No changes. Changed in v2: Update my email to --- arch/arm64/boot/dts/freescale/fsl-ls2080a-qds.dts | 9 ++++++++- arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi | 4 ++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls2080a-qds.dts b/arch/arm64/boot/dts/freescale/fsl-ls2080a-qds.dts index 4cb996d..e8801fa 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls2080a-qds.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls2080a-qds.dts @@ -178,7 +178,14 @@ &qspi { status = "okay"; - qflash0: s25fl008k { + flash0: s25fl256s1@0 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "st,m25p80"; + spi-max-frequency = <20000000>; + reg = <0>; + }; + flash2: s25fl256s1@2 { #address-cells = <1>; #size-cells = <1>; compatible = "st,m25p80"; diff --git a/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi index 2b23d03..65e612a 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi @@ -318,7 +318,7 @@ dspi: dspi@2100000 { status = "disabled"; - compatible = "fsl,vf610-dspi"; + compatible = "fsl,ls2080a-dspi", "fsl,ls2085a-dspi"; #address-cells = <1>; #size-cells = <0>; reg = <0x0 0x2100000 0x0 0x10000>; @@ -444,7 +444,7 @@ qspi: quadspi@20c0000 { status = "disabled"; - compatible = "fsl,vf610-qspi"; + compatible = "fsl,ls2080a-qspi", "fsl,ls1021a-qspi"; #address-cells = <1>; #size-cells = <0>; reg = <0x0 0x20c0000 0x0 0x10000>, -- 2.1.0.27.g96db324