Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp3764968imm; Mon, 17 Sep 2018 02:51:55 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbNfcUTuQ2Hq2OPDkiiDxDih7JBJF0JWpPfAbjPEEWIhSPSHqEUP1GrLfUpEPTBi7kV9bLT X-Received: by 2002:a62:45d2:: with SMTP id n79-v6mr25063210pfi.137.1537177915761; Mon, 17 Sep 2018 02:51:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537177915; cv=none; d=google.com; s=arc-20160816; b=ixuDOtC6rLXf56VxAAYOjpzDWrvNFAvBXF/9OTuebFFmQNnUANXhZMEjQLSw1WAEsV uV9wd2zDWrXA/jYG8GyWwN54/NMTGI8sS5r4x57fIS5bLK4w5vlA+G5qMYBtYkQiMcAv VrAq0wSAuLsh68EIXqFerZLfzq1XWusKWExz+QRQmJe8fRE/WnJZedT2vIzfBIBi851c x5PpJgHv/3vyrkbdBx5fBoJPdH/gfliBkw2VfsFbZ9wTpjOROjJKXdKtL/MtEyx37o7l /RYxHfL+ZdYXGPlQtsJrI6VTOysqIbyRZjBGpGLglbw++yH0JCAgIY7t5IqIn5a15ut1 jwpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=1PJSwVRpLRLfnV/rSncU2/z18aKpidicxCVR/4Cmsu0=; b=wtWU6Fgz36+MIRQXcxNFR7T94rTzfTRqfJqE1Q5Ud2m+09AXtP3VJ0e9zLJ2R2XJS6 IeMPB3XPzC8iFc9ipbIBA+ppO139HpRfwpUZ8Tmz60AfQx963ni1qJQFR9Z8lM9Dlmo2 qA5mjKfumsIchrBM/WZSAhzTSWcQQ3GcT6XNuByAmu0t3jDptT/bps6yWGBrmxOrrpOH sDXN3XZfTSvKiuo6zTedA0DQn1CF4DTxMbmZxd4/00TqVuVSZhpL1WDq1IitUQNV8dPt 4dyYRz43JAyttVOXmTnOYgUSbrQEsTbVPJ2p8GgmJ7Vvupc+GqlaXlX3fWFzdOkIWrrz 4IQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b="bSmW/ddO"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a143-v6si16765070pfd.241.2018.09.17.02.51.40; Mon, 17 Sep 2018 02:51:55 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b="bSmW/ddO"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728249AbeIQPSH (ORCPT + 99 others); Mon, 17 Sep 2018 11:18:07 -0400 Received: from mail-he1eur01on0064.outbound.protection.outlook.com ([104.47.0.64]:36864 "EHLO EUR01-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727444AbeIQPSF (ORCPT ); Mon, 17 Sep 2018 11:18:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1PJSwVRpLRLfnV/rSncU2/z18aKpidicxCVR/4Cmsu0=; b=bSmW/ddOCC6kLRUyZOQapYEFBcRhEu0xQRiEQWb4g9nSqFDFYFUZI1vPc1RqLOCsr9hZS/zoFBlZMLYUWuaDrTTJHHLwtXox7TsPFDk0XNrwnRxRhOTkxFzkQWJvoEn5MdSPDzg83fN8/es7qN6R5qdM91/vktI88i9pr61fujk= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=yogeshnarayan.gaur@nxp.com; Received: from idcbfarm.ap.freescale.net (14.143.30.134) by DB5PR04MB1030.eurprd04.prod.outlook.com (2a01:111:e400:510c::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1122.19; Mon, 17 Sep 2018 09:50:37 +0000 From: Yogesh Gaur To: linux-mtd@lists.infradead.org, boris.brezillon@bootlin.com, marek.vasut@gmail.com, linux-spi@vger.kernel.org, devicetree@vger.kernel.org Cc: robh@kernel.org, mark.rutland@arm.com, shawnguo@kernel.org, linux-arm-kernel@lists.infradead.org, computersforpeace@gmail.com, frieder.schrempf@exceet.de, linux-kernel@vger.kernel.org, Yogesh Gaur Subject: [PATCH v2 3/5] arm64: dts: lx2160a: add FlexSPI node property Date: Mon, 17 Sep 2018 15:18:28 +0530 Message-Id: <1537177710-9379-4-git-send-email-yogeshnarayan.gaur@nxp.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1537177710-9379-1-git-send-email-yogeshnarayan.gaur@nxp.com> References: <1537177710-9379-1-git-send-email-yogeshnarayan.gaur@nxp.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [14.143.30.134] X-ClientProxiedBy: SG2PR06CA0201.apcprd06.prod.outlook.com (2603:1096:4:1::33) To DB5PR04MB1030.eurprd04.prod.outlook.com (2a01:111:e400:510c::16) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b478c1a8-af34-4be2-813a-08d61c8308a8 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989137)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020);SRVR:DB5PR04MB1030; X-Microsoft-Exchange-Diagnostics: 1;DB5PR04MB1030;3:qn4nloV5zHqRhK3nY4LNjB9ijAWCywaOkG3vd+/BGrJzbo67n2cI6ATNa77dc/nheXDXM1fYD+FKyPQvzoSnUDZOMunN2RdTkvH2CFR9Dn1HlcIRNlP+GTZjWuSiktsQ3xSF2QGbxnuM5Jn6pphAKlSKPAWkhRGfMKIYoIluvePsHv15lruIJy0Pd0PWPV5kTF7iQ2sPqpH0u0Alae3QlMnfAVzJJR1wo3LG3LEyEsMtl3zJxNHrd5ldyIInD7CV;25:i16+PjKwhTLyxKRxf/BRvPvGoFO93jpahfSV6MQkgp7Sa6vO2bPVaed1aV7SzgcqI8bFxY6P5irZA4PanV5ev+HgSnY/Bw/J4MqqG55Hnjdu5mBPqwx/7UC1Cq/6eExcBqI3Yt2c7B8C4gn8cV9oTNQ6eRwGgTJt+LdbIfihOkXNSDGYnqQVnAwr0kF0oURYnvbpdbjJ6xLeEQflZrojZSLuhPfQJyzmdHwcS5GnsV0A7ZuGUzrc9aUgWbxyCwBGwvZQJaWqhKbx9mgsJpkKsoAaJ2eqwo1QlV3W827Yt68VX9g9m2spg+KzeRgzkTtmlF08Q/cafXCPmL4sSK0ABQ==;31:c7jH0T75v2SpF0Tamf4Xwxe76hMZrcDMzkuMRojY9I5aSUs/iuPGQnk8Eto+YNcCe/x+aZ12afGtYrvm/5dW7DnDRDJMYrMK+i7IHP3i/tZuLZuQBMElRgVc406dn+7TqKNEd/BVoTR/FsdfTBfYdj/o/1Rex9ybDAt4BNIhJ0KX5BbcGd5wy3Yoe6HVDiVZOXyJ/fpreaEK21c92CIEA3mJtrxYJzW9+q4Yt8cu6ok= X-MS-TrafficTypeDiagnostic: DB5PR04MB1030: X-Microsoft-Exchange-Diagnostics: 1;DB5PR04MB1030;20:uU4F35sf9Kj2mXAdMe4h8g8h3zId9FOrM2rQi2pNo5o9yrX24EnWVeoUuHF+GFC/4CXkHweUF9kKeRqdvTgZ9S/KoHRTkvZpoDGZuCUmfDZ3g/I7YHJydp+O04De68oxemWZ8wqPlDT/QHbxRipnSOMmWc5VPXnA+/lPHSB8Cvvmr32Iru/xcQMk/zvfE9irY5Z3YzZiJS7CRFKkYAEBJ74MkR5H9xzkGMyBEXlW6Uynoxg+VuRrG7ZOMz8C06Am30PDvJBkN/bL+WZyR/Hau2Y3aJJ6b3ag31o7KflMZa7WNnmGcx97bD4DFCAoH0TGSgVmG9ZaAkQl4bt80tFU2SQ3en2fV4Q8/sZy7StOB8z68tjSy1CTNKcAYGCP3Y3wMHi33bHCXGzXXdTrCTVKUChz2SB48paDaykTX0dKHpml6hSfLCbK22Ph2XewNeSB1dBPvxAM/n4D7xno/qRX89T53LO55KtVvcZiZ58E3Y4XpU6k3Aj+7YV5u9qw0znP;4:7ivCC/Pt4tmeG0KrD/qkUv0I0Ucd6xBBTMYhvhBu1y6PJFbKebe0xpmEhBw5iBf4il8c4esL5GhrJJoDmQ9EzXCwmJEKfKjxzbcragqXLXjPuhJONEwaNdMrUvh38R5qcXGLOrplh6mhLhtHLqhEfnKSuyb3ReYu2zwH6hFiF1Oz5a41BTej4BhcYUGVd5cDX7yiNLVsHnxz/moakLISddjf0x00XUkyEIboROB30Ivl5mOOxQFa0KvN1RqgiyukbjnabWoAWe7VUG5jeQOiLXJANyzR+ioGFAXQH1XwBVzDX/j/BbsJePkHsslLgUsb X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3002001)(3231355)(944501410)(52105095)(93006095)(93001095)(10201501046)(6055026)(149027)(150027)(6041310)(20161123564045)(20161123560045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(201708071742011)(7699050);SRVR:DB5PR04MB1030;BCL:0;PCL:0;RULEID:;SRVR:DB5PR04MB1030; X-Forefront-PRVS: 0798146F16 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(39860400002)(136003)(366004)(376002)(396003)(346002)(189003)(199004)(106356001)(7416002)(26005)(66066001)(386003)(47776003)(316002)(305945005)(6506007)(55236004)(6512007)(6666003)(86362001)(81156014)(186003)(68736007)(6486002)(50226002)(16526019)(105586002)(8936002)(16586007)(51416003)(478600001)(76176011)(52116002)(53936002)(97736004)(8676002)(81166006)(36756003)(5660300001)(7736002)(48376002)(3846002)(39060400002)(476003)(25786009)(4326008)(956004)(446003)(11346002)(14444005)(2906002)(2616005)(486006)(6116002)(5009440100003)(50466002)(110426005);DIR:OUT;SFP:1101;SCL:1;SRVR:DB5PR04MB1030;H:idcbfarm.ap.freescale.net;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;DB5PR04MB1030;23:NcV07NytYluLcHiLZ2SGN3kInVKwefeOOw6NFCPJA?= =?us-ascii?Q?itn5dUruI0TrYFzyMglIrBFUXyz7wR4klyRbTT93Sv9a+L3ymzHbl5DpUthM?= =?us-ascii?Q?sMxpJ8N+ergmgiJGdv929hTyRcYdr3jtRl1jrpJ4M4D5Bzw1P5AgEWdCabtU?= =?us-ascii?Q?5TaFBc/PUbCM/PxmfuUvcCm0jjH9kFKmkHezRP0tmZ47YTdB5KQC7UD9lYaV?= =?us-ascii?Q?3W0ymM+265oy6zWNQ3avx/D0zZRceEtePEuR5IG2ufplgLjy5271nEWeQQUM?= =?us-ascii?Q?K2yDZC0uEJk4SONpqEEomo09fnopLgC5mq2cy/8KY0R8J9mWbIdVpkeUVrJD?= =?us-ascii?Q?v7Ths20j1ZDYVsCYtHX2z53XanXNYOfIp98iaaKSn0s/sLM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A7KPClzBQyQq0O6XufoZ6qBqc0WX18zWGeI296QRRh?= =?us-ascii?B?dz09?= X-Microsoft-Antispam-Message-Info: SRTVHzEEEtAG7jqQQJfStyCgHezJmV5wsh8GZqZoK7uY9bNd9ViKxEYNovsYULZh4DqifAN+EvKwuzakNZLArhWbKLmii5XxORmrImtwD4BOfuNwrHzRHjx39rWVgoSkFmVzAa+zWl6C2AHjYIqWm4zFl0CJSaGXni6gyMp7e1QS6vjA49OEl4lbvpW7m48O2XiXXizQf9eM+upP6Iu0fDDg5kP8HUbHegGmh7LuTvY2VApUk0RIM9yOdmXc+KrKsWAQQdCqoprwUCU1tKKG1QI75uixmYNdMMsr0SuOD1fpclgsDl1B1ilVWNU3DgE4eWNxiBBX9dkGhQbRjjrWvYsmUQJSsyAkK+jVyrgC9FA= X-Microsoft-Exchange-Diagnostics: 1;DB5PR04MB1030;6:C8U9aA5vcwAuE879Z+I0ar9P6IIi8GJnurbKspsDqo2JWCAbmjPGMsj9AGtMTujHdcUIu80vFjSWVmb3JVETg1Azr4FU0kCBpe9NCbaOaE0CUubN2m9ZqZmyUftL2K65V1wDDESDSUu5xyek0mopRfOeAHWPvK4PkygqRwd7VkGgADNiZvJdlyEHxJKUx2KoBF7KQ2RjPWD73D56EAxUKST5Qt4yp9X/fAeHHqblE/lUN8avCSkIRYIa3fhQx+nWFcUUye9+32lGqfCnho0YM+pnerz5enSeVUPx7gHhpCHdzmQIiRnzjv79UCylHtvgNibwo9QslagYTJFfUxC6P9G36bpdSQ84L9w8tYbV7pFdooJFVHQJhmqaPlbxR4lncEDPPZhcCI9RE+bH/V/xnWPIXLGv7D/jfTohmQsbrTeiPG5e/etyGk61ypVIXN4NxajGiAGUY5S6DcaA+UTTDg==;5:avSlOvMjeBlcfrPKBti4be4Y3ZYNZzPXDPNUnaD/aQT4NQmspCDf4CNCg1lHPd+ajyg+1HvnWpkHWf6570uSGDfzI691E14Roa2/wuUPt66R8GRohXq/0XrtaB21Vs1XW68NeeBqHqGvFrtFSzzIpgmlVPFIINENjose+gt6E5E=;7:sHJOFjJdDUFd98371Mjkx8dCO7mLqWGYpGStLvoZDkCxa5h5glQ0AtMM2Kdv5AhJMexZLOuyg3fLrbDSL2ITQIFI85mN8/q6/Nae8fHgtB+qDWm4D9gU10fpk6+fiEWHxjDbIxMVC2P3QIUkSPgr42rLImgoA6unH6UT/1znS23zEc6SBGENoF25G38ugcoZTprqKE2NOxNE8GeOGpYdAMmNUdPN3xGJJUj+MMfveMzsEeZyYXmWnIknhwhqcY9t SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Sep 2018 09:50:37.8559 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b478c1a8-af34-4be2-813a-08d61c8308a8 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB5PR04MB1030 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add fspi node property for LX2160A SoC for FlexSPI driver. Property added for the FlexSPI controller and for the connected slave device for the LX2160ARDB target. This is having two SPI-NOR flash device, mt35xu512aba, connected at CS0 and CS1. Signed-off-by: Yogesh Gaur --- Changes for v2: - Incorporated Shawn review comments. arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts | 22 ++++++++++++++++++++++ arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi | 12 ++++++++++++ 2 files changed, 34 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts b/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts index 70fad20..a320b37 100644 --- a/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts +++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts @@ -32,6 +32,28 @@ status = "okay"; }; +&fspi { + status = "okay"; + + mt35xu512aba0: flash@0 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "spansion,m25p80"; + m25p,fast-read; + spi-max-frequency = <20000000>; + reg = <0>; + }; + + mt35xu512aba1: flash@1 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "spansion,m25p80"; + m25p,fast-read; + spi-max-frequency = <20000000>; + reg = <1>; + }; +}; + &i2c0 { status = "okay"; pca9547@77 { diff --git a/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi index e35e494..bd2d606 100644 --- a/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi @@ -568,5 +568,17 @@ timeout-sec = <30>; }; + fspi: flexspi@20c0000 { + compatible = "nxp,lx2160a-fspi"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0x0 0x20c0000 0x0 0x10000>, + <0x0 0x20000000 0x0 0x10000000>; + reg-names = "fspi_base", "fspi_mmap"; + interrupts = <0 25 0x4>; /* Level high type */ + clocks = <&clockgen 4 3>, <&clockgen 4 3>; + clock-names = "fspi_en", "fspi"; + status = "disabled"; + }; }; }; -- 2.7.4