Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp472583imm; Fri, 21 Sep 2018 03:25:02 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZ6cxc0imP+vjuTXcOmDn2UPlxznCl3hv68lXd58GiDMEBas6kj5sDRvtESoBH+5swMT3qG X-Received: by 2002:a62:6b41:: with SMTP id g62-v6mr10553033pfc.113.1537525502899; Fri, 21 Sep 2018 03:25:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537525502; cv=none; d=google.com; s=arc-20160816; b=gyjEaTEnv5Z0eP6oWND6NLINBZNqQuFM5aFJoZSVi1atDeXM/dDtTLU7BnScRhMDw0 cNQVtuwVKGLOhzLVSfZOLipm81keBrgCcrmLhq6RIlHIyhSyT5Frm4R3JW47NKT8MeZW TkZVWAsx6EL6cwdt9zPxaKQzYnhtCJ29fjyvHK+8wFZPI10cdC5T9LNG3fansudpLiOB PNvVF1M8tOxN9phfsRpsHf4PNHGAv1OW9IZ4lRqr5zRbsZwgzOe5oIExsBJx4gA0knVg e9VrKYRidNRhrGsYkXhg/6uzTZRj1rqjO7NB0puSQGxJIbYHf/uZMdV77kFa/QLJp39+ Pvqg== 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=plsqGgYHIwXr90wtAnQFylXbH19Cd69qcaDm1L3q2dk=; b=zH52YHf20aQCRgH2yIgZenIP9F2B2dbb+8p6kzAaPbmIATFzgu00X+qVLCXQRfHdoW iDvqnCOG7m/nZoJrZLSlMGvWon9mxwX72EnnQJ+vaSRk6H/buh44DjDqQRCJxqd7owws vDqFWWChPn0qtHuwwFiAK4HKRsSn0lyy7eEluN89Iul8uJZb1cRfrpz0qfIlBJDsIyXu mJJsIUGibJ/1qlCt2NvkzdY/b9f+svsHbShvTy3Dwhw81G6uCDlv0aY3mkPUGFIjDe7q r8ft3BjCiDv6mb+ywPSKFk5z1bLKglFQGDO7C85WwMxZX+08HDQK672shzXJ8jzxbYuE MqFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=xVcAfuWc; 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 43-v6si4984805plb.444.2018.09.21.03.24.46; Fri, 21 Sep 2018 03:25:02 -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=xVcAfuWc; 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 S2389977AbeIUQMX (ORCPT + 99 others); Fri, 21 Sep 2018 12:12:23 -0400 Received: from mail-eopbgr20042.outbound.protection.outlook.com ([40.107.2.42]:60704 "EHLO EUR02-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2389815AbeIUQMW (ORCPT ); Fri, 21 Sep 2018 12:12:22 -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=plsqGgYHIwXr90wtAnQFylXbH19Cd69qcaDm1L3q2dk=; b=xVcAfuWcBTl08Wm3W5iOIa8wOzg6pVmVLgCzrtYa8JRAuAqjK9ryExj9q5kg7lLypWZdN7FaA4vo06W4kIDyMwTk0AVEf4et8vIUmec/5IUZkTGubs1lJjsTh70ycdBF45Mvm8uxa2B28hKfQWQRy/RmMLuM6rQzDf+6hIS0PoI= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=yogeshnarayan.gaur@nxp.com; Received: from idcbfarm.ap.freescale.net (14.143.30.134) by AM2PR04MB1028.eurprd04.prod.outlook.com (2a01:111:e400:8443::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1143.17; Fri, 21 Sep 2018 10:24:00 +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 v3 3/5] arm64: dts: lx2160a: add FlexSPI node property Date: Fri, 21 Sep 2018 15:52:01 +0530 Message-Id: <1537525323-20730-4-git-send-email-yogeshnarayan.gaur@nxp.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1537525323-20730-1-git-send-email-yogeshnarayan.gaur@nxp.com> References: <1537525323-20730-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: SG2PR02CA0034.apcprd02.prod.outlook.com (2603:1096:3:18::22) To AM2PR04MB1028.eurprd04.prod.outlook.com (2a01:111:e400:8443::11) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 507b52bd-c6f4-4e23-de37-08d61fac5b9d X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989299)(4534165)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020);SRVR:AM2PR04MB1028; X-Microsoft-Exchange-Diagnostics: 1;AM2PR04MB1028;3:f2GvDRlD4Jq3ugsQOcByCDNaZvtDItnK5LpIf2oSdHtKPgPNvQrA0cIt26/eM6JYTuwcsqDwnExvsN7HopPuweDoI0XAuDcW4UaPz2py5oGVjCXv8mln9aVi0ZEpZqA1uel+GMSMjvsHNRBRF4ybHXnheFcdePrn9Qrsv1vF0064IrZjnxHmtjQLm+vUbTWrCQzRBzXUk7q2huOP0cdQZHfQFHR/DP4GhM+iXKoJ1P+4LY+ob70ZIcgAqCAW+5i2;25:3mJct8lJWgi3Q/Tw5zu7jRQGVoWR+pvJOvyPNlyWgy/XfKAr+S+92/EO08pxHYEHU/3spfirDYr6X50eBRIrhe/DfNKkCqrRD/i/Q7jKn8MKolTMG7Ht7Gg3qulYcaemQwjBik9mhFht5IHTX1/sHx4l+9KuV7JEGlnKlV19r3/TUX/tnP3gtovYppmZOTUipv7lecw4tBG2mGfIRE116crFyJZbK+ybVF0R+vBkxlMH+ZSH0AcTUkpV0oFVWR7i8lk09rnu7Y8jJ5kIhBWJ8ORf6YKVhKfEgZzbYaCMuQDLf/YlQiaXcfbQ7dQgdZKKvU46pAUsd8LXn3zWU3FU0A==;31:UVsJWqXieK0NoDs2017j/Z8ZdFpjOkLvOGnFBRO7r42/AQke5gJAYjNWfmsvqu63OTnfX8KTUvSOHKaa+PUaCkIuUU9Cu5D69ZZKw/oCmYyT0ObygW7bpvA3RIh9qTYs9TP888V3pTXZXDwrqGY+339R9Y8sEgLsPKz+fDerL4WcUMxY6hlMsn0xgT3fqS87iwdJGtytzFDbPV5mZVuUU0EeZaQiYksJ4jtiPU9HMgo= X-MS-TrafficTypeDiagnostic: AM2PR04MB1028: X-Microsoft-Exchange-Diagnostics: 1;AM2PR04MB1028;20:E/JBYutmaRKkoSn2LpL7k4Hnxfthlh46czKl89Fgff2X8P7kh5QiU14P2W8b8zwwGuiJSm7YyIJ8Ho12PwdUImDpKIdXDhaCllkcakWg7WqVjhBmPdW4LNb5GRstbR7RZQ4DXSIUcRq+izV/AZ1JeLeWktsKAtsfrHdlxd+ajvF8YHszsbPiFXST8LYz5lOTCvEjg89wCEsc4iPVTMfrL4qC0FIEjG7tnDvFsLjNlgNk81tCiJLgT/vlCirBQoGw4FfWlaR4gOUKRuIsAs+cdXXuTW5NZ3ETfPGKPqLyQP0axuxDlkwU8wWdjzjHbxnk86BcwuK/4MwAY5kaYMML1HKhmwvWtr9uVNFycrP1wTIa0J0+38WrCSwsriqChoXCewf5JdtCuN8KGJrUqdG+DcQFKqLMB/uuJI77LqMIIZpCeXI0EUf/6g3RNYf1j5GCSHZmCiz+9cneuFkWnlfchNTHsrkgppNBGNdJYh9srNunafimH5E90W/N+3ZngbWn;4:E4YI7txgaWsAQqRT4l3LAj1VGsmf0uB8V9VBAPN82XsYSpByqyU8ybOhfXRCMF+zbLuF4pANh5rX/lea3RW5QhASBfNR35LqA6+oDNJIMcUMBbPMH0IkmxQ4pfvLu+AKTINdUe94Cj+HFafBatRUdxbKzi6t21XpDq0nW6OJOB6U7/qt0lmlnR+w+4PDzhyF0j3yKvskWnqdNUUoKtsxo4P0LkdSgEAiQYUw3yVnvEmXu+Jq2Lwa0FhBAHAJvVZjLp357Ej8yW4StEcyG3A7eSi26AIZPmo2AYhKZaHhfjN9Wm9iAU1HdALjiYLE1CAI 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)(3231355)(944501410)(52105095)(3002001)(10201501046)(93006095)(93001095)(6055026)(149027)(150027)(6041310)(20161123558120)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123564045)(201708071742011)(7699051);SRVR:AM2PR04MB1028;BCL:0;PCL:0;RULEID:;SRVR:AM2PR04MB1028; X-Forefront-PRVS: 0802ADD973 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(979002)(396003)(136003)(376002)(346002)(39860400002)(366004)(189003)(199004)(48376002)(105586002)(305945005)(2906002)(6506007)(25786009)(16526019)(14444005)(186003)(81166006)(66066001)(81156014)(8676002)(316002)(2616005)(39060400002)(956004)(86362001)(476003)(50226002)(26005)(16586007)(11346002)(486006)(6486002)(386003)(5660300001)(52116002)(5009440100003)(47776003)(51416003)(4326008)(76176011)(68736007)(97736004)(478600001)(6512007)(50466002)(7736002)(8936002)(36756003)(446003)(53936002)(106356001)(6116002)(3846002)(7416002)(110426005)(969003)(989001)(999001)(1009001)(1019001);DIR:OUT;SFP:1101;SCL:1;SRVR:AM2PR04MB1028;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;AM2PR04MB1028;23:9FUAIqvzTAxu+scZl1SbC2ONL3t0SQYyJlOj+F3LS?= =?us-ascii?Q?KFj56CEkHoQpIvYY5+hmmhE2N1bI4YIUGR1L3H8/YE4kBPhET80dXKyOEKX0?= =?us-ascii?Q?PKH730dc6w7GNaAx8+17i4i0iTpRzMjHhetl7+tl9y1gdtXrh2Nfdcp0SgSB?= =?us-ascii?Q?DZvejR7n+G1RJRRFpyl0nZSVkKGC5O/M5QHBWyFkpEhBi4R0+llQGPDaViPv?= =?us-ascii?Q?RXeRqV8uhH+gNDCXcV7FedQ+SRfA2AdTLRlqSE9QiD0fDiyzK3lqmbMj7ysi?= =?us-ascii?Q?ApXMNlkWuv6zIt+wL8Qhqf6vHaniFHEoO3NrV99w/YRIa2MQWS0DlCbQ5WQZ?= =?us-ascii?Q?DBZyCZAWrglbJzWXneP8UJZrl4lnl8IcgAaP5MYHSoVuVifMyecRhPzX6vgS?= =?us-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jHH9OthH0PK8iCwQcLSpf5skNcz5eQvm/qIKoY7ImpNZmmiIogvnLdUEj3pNq9UWTcrLQ9STZLjDgLjIpWTtmccFtYaYQ3dxizCiBehUhSJpyTTe1j3VbqwyOUWPDfGdkAzN4NjqWdc=;7:k2QLYrcS8CVhinM0GMI1oFS5RGKwcuUHmKFXBJnDXKE9njNcHAeFmjLMsPYAanoKFNKNPbfKPdJuUp/YWWCyxkQUyNI21tLFmjvCJBD/caGrhIbCJ3xwJdRn8T66KJA/ftkgKI4qPDulgEx8yjibLMyTFg6EYRs6K1u5LHIUZoGNf6a5lgmUCR1FT7eWJw3KKdBQKnMkA0HqSE32KoBakXxfUjFscJKjvOFZDggaX3l1szDkp8mABd6oKm21Wn0k SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Sep 2018 10:24:00.9340 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 507b52bd-c6f4-4e23-de37-08d61fac5b9d X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM2PR04MB1028 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 v3: - None 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..901ca346 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