From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-lb0-x235.google.com ([2a00:1450:4010:c04::235]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WX4To-0007CM-7j for barebox@lists.infradead.org; Mon, 07 Apr 2014 08:00:32 +0000 Received: by mail-lb0-f181.google.com with SMTP id c11so4370601lbj.40 for ; Mon, 07 Apr 2014 01:00:14 -0700 (PDT) From: Antony Pavlov Date: Mon, 7 Apr 2014 11:59:59 +0400 Message-Id: <1396857600-20407-5-git-send-email-antonynpavlov@gmail.com> In-Reply-To: <1396857600-20407-1-git-send-email-antonynpavlov@gmail.com> References: <1396857600-20407-1-git-send-email-antonynpavlov@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH v2 4/5] MIPS: tplink-mr3020.dts: add S25FL032PIF SPI flash chip To: barebox@lists.infradead.org Signed-off-by: Antony Pavlov --- arch/mips/dts/tplink-mr3020.dts | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/mips/dts/tplink-mr3020.dts b/arch/mips/dts/tplink-mr3020.dts index 5d613d8..7aeb740 100644 --- a/arch/mips/dts/tplink-mr3020.dts +++ b/arch/mips/dts/tplink-mr3020.dts @@ -14,3 +14,23 @@ &serial0 { status = "okay"; }; + +&spi { + num-chipselects = <1>; + status = "okay"; + + /* Spansion S25FL032PIF SPI flash */ + spiflash: m25p80@0 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "m25p80"; + spi-max-frequency = <104000000>; + reg = <0>; + }; +}; + +/ { + aliases { + spiflash = &spiflash; + }; +}; -- 1.9.0 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox