From patchwork Mon May 12 13:02:37 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Grygorii Strashko X-Patchwork-Id: 29968 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ve0-f199.google.com (mail-ve0-f199.google.com [209.85.128.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id AE7EE238EB for ; Mon, 12 May 2014 12:13:08 +0000 (UTC) Received: by mail-ve0-f199.google.com with SMTP id oz11sf25719542veb.6 for ; Mon, 12 May 2014 05:13:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :mime-version:sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe:content-type; bh=E1Z647C3LPVQ2KyqeQTRwBnedgH59lL39xzxmcUgyY4=; b=NmfabxryAAXkOmtxzmbNZjGTE6gVy0/sYPefR3j6aKDOnh6PV3nBkomjRCvU7t5upG GJO1LbffGncIrrEC1V7N7ahXsNGAQvU9I1R+4ISh7rXK+97MpoQT30NDsnExtea7waZr HwjJvMhUIYoQw07q8Qr9901lFZs1hrT6Hct0EYCKGTmWpyobEP2W0nNuxa2x6BUuAPcL zOM9VtlguMm1wMxX3PD3nrx7zxUe9DTifCGbbQY0gvDT4ZAWb/MT8BYnWu88c3xZlqqW RSdVcV7dckucbFfj+Pp9qxgCujrV+O9RzLdvZDC0D7eIiui3nK0DA6ZYmuIUXGHmeqlU MI9w== X-Gm-Message-State: ALoCoQkTu/FFxVo5keaD3YfmLPZMs2c5b2P2XWdu5LZOL63A7gQMGmQsl93YRseDtrdIfDNfNivZ X-Received: by 10.58.196.209 with SMTP id io17mr13472500vec.7.1399896788383; Mon, 12 May 2014 05:13:08 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.49.231 with SMTP id q94ls1374645qga.28.gmail; Mon, 12 May 2014 05:13:08 -0700 (PDT) X-Received: by 10.58.178.130 with SMTP id cy2mr285991vec.55.1399896788305; Mon, 12 May 2014 05:13:08 -0700 (PDT) Received: from mail-vc0-f176.google.com (mail-vc0-f176.google.com [209.85.220.176]) by mx.google.com with ESMTPS id cx1si2038984vdb.56.2014.05.12.05.13.08 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 12 May 2014 05:13:08 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.176 as permitted sender) client-ip=209.85.220.176; Received: by mail-vc0-f176.google.com with SMTP id lg15so8511085vcb.7 for ; Mon, 12 May 2014 05:13:08 -0700 (PDT) X-Received: by 10.58.116.175 with SMTP id jx15mr22727734veb.9.1399896788219; Mon, 12 May 2014 05:13:08 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.221.72 with SMTP id ib8csp63893vcb; Mon, 12 May 2014 05:13:07 -0700 (PDT) X-Received: by 10.67.13.226 with SMTP id fb2mr54430968pad.146.1399896787540; Mon, 12 May 2014 05:13:07 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id tc5si9817063pac.63.2014.05.12.05.13.06; Mon, 12 May 2014 05:13:06 -0700 (PDT) Received-SPF: none (google.com: devicetree-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755279AbaELMNG (ORCPT + 8 others); Mon, 12 May 2014 08:13:06 -0400 Received: from devils.ext.ti.com ([198.47.26.153]:52506 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755277AbaELMNE (ORCPT ); Mon, 12 May 2014 08:13:04 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by devils.ext.ti.com (8.13.7/8.13.7) with ESMTP id s4CCCgSB023940; Mon, 12 May 2014 07:12:42 -0500 Received: from DFLE73.ent.ti.com (dfle73.ent.ti.com [128.247.5.110]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id s4CCCgJP023560; Mon, 12 May 2014 07:12:42 -0500 Received: from dlep33.itg.ti.com (157.170.170.75) by DFLE73.ent.ti.com (128.247.5.110) with Microsoft SMTP Server id 14.3.174.1; Mon, 12 May 2014 07:12:42 -0500 Received: from localhost (dlep60.itg.ti.com [157.170.170.21]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id s4CCCfGX027680; Mon, 12 May 2014 07:12:42 -0500 From: Grygorii Strashko To: CC: , , Murali Karicheri , Grygorii Strashko Subject: [PATCH] ARM: dts: keystone-evm: add spi nor flash support Date: Mon, 12 May 2014 16:02:37 +0300 Message-ID: <1399899757-15767-1-git-send-email-grygorii.strashko@ti.com> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: devicetree@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: patch@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.176 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Murali Karicheri k2hk, k2e, k2l EVM board have the same Micron N25Q128A11 SPI NOR Flash installed on SPI0 bus. The NOR Flash is splitted on two partistions: partition@0 label = "u-boot-spl"; reg = <0x0 0x80000>; partition@1 label = "misc"; reg = <0x80000 0xf80000>; Hence, add SPI NOR Flash nodes to all k2hk, k2e, k2l EVM boards. Signed-off-by: Murali Karicheri Signed-off-by: Grygorii Strashko --- arch/arm/boot/dts/k2e-evm.dts | 22 ++++++++++++++++++++++ arch/arm/boot/dts/k2hk-evm.dts | 22 ++++++++++++++++++++++ arch/arm/boot/dts/k2l-evm.dts | 22 ++++++++++++++++++++++ 3 files changed, 66 insertions(+) diff --git a/arch/arm/boot/dts/k2e-evm.dts b/arch/arm/boot/dts/k2e-evm.dts index fb7afab..c568f06 100644 --- a/arch/arm/boot/dts/k2e-evm.dts +++ b/arch/arm/boot/dts/k2e-evm.dts @@ -117,3 +117,25 @@ }; }; }; + +&spi0 { + nor_flash: n25q128a11@0 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "Micron,n25q128a11"; + spi-max-frequency = <54000000>; + m25p,fast-read; + reg = <0>; + + partition@0 { + label = "u-boot-spl"; + reg = <0x0 0x80000>; + read-only; + }; + + partition@1 { + label = "misc"; + reg = <0x80000 0xf80000>; + }; + }; +}; diff --git a/arch/arm/boot/dts/k2hk-evm.dts b/arch/arm/boot/dts/k2hk-evm.dts index d2aa102..1f90cbf 100644 --- a/arch/arm/boot/dts/k2hk-evm.dts +++ b/arch/arm/boot/dts/k2hk-evm.dts @@ -145,3 +145,25 @@ reg = <0x50>; }; }; + +&spi0 { + nor_flash: n25q128a11@0 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "Micron,n25q128a11"; + spi-max-frequency = <54000000>; + m25p,fast-read; + reg = <0>; + + partition@0 { + label = "u-boot-spl"; + reg = <0x0 0x80000>; + read-only; + }; + + partition@1 { + label = "misc"; + reg = <0x80000 0xf80000>; + }; + }; +}; diff --git a/arch/arm/boot/dts/k2l-evm.dts b/arch/arm/boot/dts/k2l-evm.dts index 8ff2d33..fec4312 100644 --- a/arch/arm/boot/dts/k2l-evm.dts +++ b/arch/arm/boot/dts/k2l-evm.dts @@ -94,3 +94,25 @@ }; }; }; + +&spi0 { + nor_flash: n25q128a11@0 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "Micron,n25q128a11"; + spi-max-frequency = <54000000>; + m25p,fast-read; + reg = <0>; + + partition@0 { + label = "u-boot-spl"; + reg = <0x0 0x80000>; + read-only; + }; + + partition@1 { + label = "misc"; + reg = <0x80000 0xf80000>; + }; + }; +};