Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp399929imm; Fri, 31 Aug 2018 03:36:12 -0700 (PDT) X-Google-Smtp-Source: ANB0Vdaf0TfI1wvHIJZxlNYsmg1cD3aGdk316/1A3nXczb5XEPpkGJlSNcQsmpWlh5ZtQ6miBpi4 X-Received: by 2002:a63:da56:: with SMTP id l22-v6mr12313194pgj.179.1535711772227; Fri, 31 Aug 2018 03:36:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535711772; cv=none; d=google.com; s=arc-20160816; b=fgbzj4Edec1B70zBPYjLHygx1S4BWxCyAEmnXjkCh+k9Q4G9DjBdDgiBD3fG1g+IwC jWebYciR6lKNB1pj8/AaDfk2/GM5f0sqwFHaZJ0PEo92eizkFT6WsXlpSAkq4G2MABzJ wvnDxtuvc6+2mkn/0X1XBPmf1uDSd8EJRGtlGs6oZUclb0S3iy0NXdbzUPYVmKCFLlb6 6TRUagf9FGkD0TiRnL4d+tS36Log3o4kGxNMfe7OxWE6iNJPPepfzJwb0H/5OhwkHFW7 N/AHvvZAOiw1k2MTWKzeL6fPm9qldseQSqKvKqlBbHCHDneGFdwG5K8a9fq1qflQKZva I5Mw== 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:arc-authentication-results; bh=i53RJaXwfe0j+/MkFWaIKnsOteyq20ut+x2xIp3laPg=; b=pYl6Zpqnh797cIoiG1rQa2AxAt4Jw7mLKqAat3ej9iNBoq4x+xtWkhhRKcy/r+9G94 cAdn1VWw7ikDxwdO2NCsWC+llafzfZVzJW1rMaUVD3T5KnXI2xpCW/II1zMtdKRL6O/6 x4ZPIcDDeU+k0P7GM92lF5OFqHw6XSt4O0WKJOP4rSslJlpHi0CPlJwrx/ZBA2YN/qtc lLtI9RL4pQI+7wUJE4avh5S0Gfv+dErMuM7M8AicUJhHWuStaS4iRLxSxqQoOjQSq00X qpeWyR3arIyb/I7cjPTUlrJCiHxQqOQl3MtunuV4FyAtVSdh4HZOPV2Ma0XM7xsrfo/a SuMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=X8Y2zdHg; 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 b12-v6si905254pla.179.2018.08.31.03.35.58; Fri, 31 Aug 2018 03:36:12 -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=X8Y2zdHg; 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 S1728239AbeHaOjc (ORCPT + 99 others); Fri, 31 Aug 2018 10:39:32 -0400 Received: from mail-eopbgr30049.outbound.protection.outlook.com ([40.107.3.49]:45696 "EHLO EUR03-AM5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728370AbeHaOjb (ORCPT ); Fri, 31 Aug 2018 10:39:31 -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=i53RJaXwfe0j+/MkFWaIKnsOteyq20ut+x2xIp3laPg=; b=X8Y2zdHg2DYHoXfaUt7KW9AWpWHSeq2xzyr9xsM/KF3i6ybKPyfn6N3RyKVBC841BLildyFFJ27cVN7a3y+s1zWWqTL8o8qDkdqGuIvorO0OwY9a30cIR+aOd6EOaMS4IR9W2xQE4GS3BqhlCUo4DZG35eir9awyTDNPsOCyT5o= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=yogeshnarayan.gaur@nxp.com; Received: from idcbfarm.ap.freescale.net (14.143.30.134) by HE1PR04MB1034.eurprd04.prod.outlook.com (2a01:111:e400:581a::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1101.16; Fri, 31 Aug 2018 10:32:16 +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 5/7] arm64: dts: lx2160a: add fspi node property Date: Fri, 31 Aug 2018 16:00:02 +0530 Message-Id: <1535711404-29528-6-git-send-email-yogeshnarayan.gaur@nxp.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1535711404-29528-1-git-send-email-yogeshnarayan.gaur@nxp.com> References: <1535711404-29528-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: SG2PR01CA0100.apcprd01.prod.exchangelabs.com (2603:1096:3:15::26) To HE1PR04MB1034.eurprd04.prod.outlook.com (2a01:111:e400:581a::15) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: a232d2fc-ae4a-46f2-1655-08d60f2d086e 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:HE1PR04MB1034; X-Microsoft-Exchange-Diagnostics: 1;HE1PR04MB1034;3:MYvWDqV+9rRF73jonYfkPUGw/DQJ5ObcDbn5AHI8fVLWFLIqhPXKkMd6frPfPBKjYR5ru+ZSyUVQIgawh0h2q2tWRr1veEv47hSkjiojcyoPf/7KMo1nHggn/2pvrZWMhCrHRLQnxqhLogfr7bDvAouvS0BbBGueZFLDXmjgSFqX3iMIyXMjV1XOJycgiRUSW67p2jon4SePs0x/n0Nu0boxJC0cACfrkLRsEE4B6d//VinpgWC1uDOADWQ+Hgxl;25:QiMeY1LDUEKgwbhc47D8TG+tXodNAKTK0s94+PE90DhXW2QwEWHaNNpiT8DVGuy8l56aI5/8ggD50wg8Z2WQkP73hXpDph11yfxQUAK84TK5XAumDRdlVRudZjcJfOaOCkWCeWx3y94Ub1q9yuki7GiCBjm7ihHl4FaCa1rch3SvxCybxZcOkKHOziI8d9wHmdfNk+QhKtBn8x3bddteqRH8TcGGv50LDxXOFy/1M58M/D+MCeh3W85tFDb4U4/nUvcfU0AHM6Rb+UlaqH2GhsInDJ+dlBUeBCpsgdfrJeu/KQ8Acc9O7q9Us9+nHq365sXltyMQoacfgXKh1Y0rW1wh17GJaeWXZOI/THlFmDs=;31:d87C8TEnQj1A/7z2NnTfC1BYx0pmmVoWgCqhGHjDamtj8bCjSjBIKDjYrFXIJeCs4NTwoj1HsqpvNPb8PwtrX96fyj/sli2N8MNEkvaRzGzTU0B5jFkGmHlKjwbCAMXuCBWkgpZHypjs0EAkT/uPFw2KVpTv1PRRA+fEsJGrbn59xdRsDqBtBUQQ7Sj++1mSLTAd16MP5Cd3XgbE9IX1TvjkywLlEtl8y9zPSQzpXOA= X-MS-TrafficTypeDiagnostic: HE1PR04MB1034: X-Microsoft-Exchange-Diagnostics: 1;HE1PR04MB1034;20:645bBl3Smu872PmElNUqvnnI/SqN4rbtfbERMpaHWx4tdNCcGdQr50JrN+8pRX126ArCEwJIcrxZ1C1ovUpoik8d5xzZZdEyMZm6BVcM2om0d43GvYmlUA0GH1ES98XrPel4WgWH4qhUmZsZyGBen3KJ4Gf+i9z2Bte6x7Sb8iDog58YDibhyh0uB6DJy+59Wvp/hAGSvdoypn2hdLbH1BSOOCVCccIytAYYSNzWZY2AqkrhZT0geqzmWzGIfxJIEywqNVYicOW8JrKFAlrVr5ZDaULJAbGT2d9pB5Pfw9XYOk32T+Uq84bSWXHgUA9nEHcOH/+IvcAGNJy1/5/kqRdHCxi4JPRJ2FGD2N4LZvCtahVFI4L908nnS9eIQDn1RiVLj2bhNzzW1glz4hevxrHR+EsPD2ChOkUhOLwdTmuUOP5wYszPlG+dhSEST3yVwT2Mc45QvLnCxXsELBu7ptQzgbnzFgDJ2ct4epPEez8w4w+Chvp2e3TCfK0tIDP3;4:BxypalvYD0BDQRIoEfNF3xGhSz/1E5RqvaRNUcR14KrF6BqwRfj6L5oTAejluFwi14d1wRh6mOeOCfV3eLLB8kN+O95S8XVkIOXYCEK6F0NoOMEeWkjTK/kja4heamQZzLtbswyXMt8h0yFWYp9rQpjIFB3I3cpusrBiMO94dylIh/1FW9vcW/gVABvZjPHZCCzWyUhZAs1s3hK7DfOCcxFTmwCPcgWH/iEe8yL9H+WssWmPr1+dzcc32rdfHJyqACL1Psj3cLf01sd8DkWSRoj4WkWx24dGwujfoaset64iZ0DJITI3+a/LClIaeOMt 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)(5005006)(8121501046)(823301075)(10201501046)(3002001)(3231311)(944501410)(52105095)(93006095)(93001095)(6055026)(149027)(150027)(6041310)(20161123560045)(20161123558120)(20161123564045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699016);SRVR:HE1PR04MB1034;BCL:0;PCL:0;RULEID:;SRVR:HE1PR04MB1034; X-Forefront-PRVS: 07817FCC2D X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(396003)(39850400004)(376002)(346002)(366004)(136003)(199004)(189003)(48376002)(7736002)(7416002)(8936002)(105586002)(5009440100003)(52116002)(106356001)(51416003)(55236004)(386003)(6506007)(81156014)(81166006)(76176011)(2906002)(86362001)(3846002)(186003)(50466002)(16526019)(6116002)(305945005)(26005)(6486002)(66066001)(47776003)(25786009)(36756003)(5660300001)(97736004)(8676002)(53936002)(6512007)(50226002)(14444005)(316002)(6666003)(39060400002)(68736007)(486006)(4326008)(16586007)(11346002)(478600001)(446003)(2616005)(476003)(956004)(110426005);DIR:OUT;SFP:1101;SCL:1;SRVR:HE1PR04MB1034;H:idcbfarm.ap.freescale.net;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;HE1PR04MB1034;23:1EW3TzIbo14W6Lp+xCe8xlc/gcoxCYqGb5xQqAHZc?= =?us-ascii?Q?Cahmslkg4tQt0wuCSwYJH2Qk554DwdolWaeyxykr2yEAc+937BlXb+fYEcrb?= =?us-ascii?Q?mqXI1yVN0vknufwTeb9tdrztFTjkNqdhV9KFMr8nM0OjLSMrZh6Vhx2pFos4?= =?us-ascii?Q?99rQHs4LoZi9CPT0aeuJJNFNlHW95yb/LKgzxKA1R9znDC18Lmw6/quzN3/p?= =?us-ascii?Q?4bcQwh4ueyjGtVRbKHHhuF6CG1wu/VvWPvvdtP5Q1dB0ECtr7MaxZYp6hDha?= =?us-ascii?Q?VXEZwE1wyG3DkTJpUNW0lTnYeKEF1wpfFDfVTf1GvGhYKW2FZzDxnfnev2/5?= =?us-ascii?Q?Sz7TcCWPg5MpixKDu9El5ivPwtY7kdWlgf//2Z4jq6J9u5b9I/Z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PjzDIFlNxGHH+/MBIXtvzYFWUIgJo3kqADUmGBYRq+/aKU=;7:R26iZRlJljtbqoScZspRZfWO0YRkLyX8RWxvS5HK1qjJyMsGTrk+BZJ2JqhqEfc6Pmn65QhZrbvX73aeusHbc4Z8N9Weu01PuoyGMY001NX7J2lb1o2xs/DAeVRtRflVtv+X0DAdUhLZpXJoatPVWyFS/yt7WUBeqe4zj4AzgMndLguM7nP0AGWTkR3GiMwgAvt5qJxnky3fJxEnpyVc67xYkuFf9C1DGN5FtEH9TuM6xH4BNHObuMvmbRlDsGVn SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Aug 2018 10:32:16.3412 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a232d2fc-ae4a-46f2-1655-08d60f2d086e X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR04MB1034 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 --- arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts | 21 +++++++++++++++++++++ arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi | 12 ++++++++++++ 2 files changed, 33 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..3646315 100644 --- a/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts +++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts @@ -32,6 +32,27 @@ status = "okay"; }; +&fspi { + status = "okay"; + flash0: mt35xu512aba@0 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "m25p80"; + m25p,fast-read; + spi-max-frequency = <20000000>; + reg = <0>; + }; + + flash1: mt35xu512aba@1 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "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..031eb26 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 { + status = "disabled"; + 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"; + }; }; }; -- 2.7.4