Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp3027870imj; Mon, 11 Feb 2019 12:33:27 -0800 (PST) X-Google-Smtp-Source: AHgI3IbIeCADaZ1nrsX/spyUM5vHgjOcz51nKSQVSLzPTldmfwlhmoVmBdpElEfDMn/eegopsmGJ X-Received: by 2002:a17:902:2f03:: with SMTP id s3mr43499plb.277.1549917207320; Mon, 11 Feb 2019 12:33:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549917207; cv=none; d=google.com; s=arc-20160816; b=YbAC6AaPEIpYcgxQaw5/ufnUqfMdvEQHrXoLZf6A2ZcI9kF5oNBwTlixcRQvPHWo+9 Hh+bkRaE1xdMrDNusOTqoOY5qPjNIISctFytaaMZ8Gxkc5SkOjGrE2EEZCmKyYBA1xWN zVIfV/ya2VW1DBpc3jzVQXkLdwOEQ1VwBx86k/HlI/W28iSQZs9y8dqI6yzRqTS7iXUj Y/3ZEtlYsEdnEArqOy7UMNK3ss5Oajt/tLYu6Z6lsCYNAv7Dz+NiA/HMHoJxmCs5KoMw 4CAYJfpWnXU2z9pD3eWRICTYBbeuQMf2FBlLMHo1m2k7L8ztJLDVFzLelVIoM+wu+FGO TRIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=8rdC9eWK0Ffxs+DFpGDd7Z0nWINHPtL0WMYgPTU/1NA=; b=gzIqpIDJqrvbaOv95qfBVln7NJUCjnX6FHIuGCgAWpwpHKulBfylpeaDJI5dt0Vr1c JxmPsvypxck4ds7Yyxm7MaK1gCVFfh/0U1CBaSpc2OJGS9SOdqsu0maFst1vyHw+gB2X NULgasu00yXHApXge5cPc15DISxg5o5r0eQspdU2M68VfZcqKIlh+Ud/TkLhDAcKRlro pKZTNGMvIhX9iquEzOKWdMzo/h0jHSRBupLZF+/arTDh7/9IxB5BZ6nEeBQPaag8mMny 3ClUirGA3lk1Kljspsqtfy2811K7EN4xU4Ef+P3Pb9wYHCcGqrKiCIjC8PVyCBgNz0R5 2+aQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@asyring.de header.s=dkim header.b=fuE2ZeES; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w8si5692457ply.246.2019.02.11.12.33.11; Mon, 11 Feb 2019 12:33:27 -0800 (PST) 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=@asyring.de header.s=dkim header.b=fuE2ZeES; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728561AbfBKRYM (ORCPT + 99 others); Mon, 11 Feb 2019 12:24:12 -0500 Received: from asyring.homeip.net ([37.120.161.147]:55598 "EHLO vserver.asyring.homeip.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726243AbfBKRYM (ORCPT ); Mon, 11 Feb 2019 12:24:12 -0500 X-Greylist: delayed 564 seconds by postgrey-1.27 at vger.kernel.org; Mon, 11 Feb 2019 12:24:11 EST Received: from localhost (localhost [127.0.0.1]) by vserver.asyring.homeip.net (Postfix) with ESMTP id 0B8755F8F2 for ; Mon, 11 Feb 2019 18:14:47 +0100 (CET) Authentication-Results: mail.asyring.de (amavisd-new); dkim=pass reason="pass (just generated, assumed good)" header.d=asyring.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=asyring.de; h= content-transfer-encoding:mime-version:x-mailer:message-id:date :date:subject:subject:to:from:from; s=dkim; t=1549905286; x= 1550769287; bh=PxHmdGBIIavfe+FujuZeHhqR0BLJB3Zd/OO54oJLHsM=; b=f uE2ZeESdwGiMZ82Twbmqx63FNzxpda5s92rfQyB+Oa6nRQpE5eBtaJ8ngauSiA3M 4Ul5WQIp8DdwJgNYjcn+YG6dLwPPk0KLqnAXPhgfsqjY2r+qZa3zknlvhcofiUUa REfw15dbuOlTMQbt3l8ujTXVQn7F22GBo5i1W5cqCE= X-Virus-Scanned: Debian amavisd-new at asyring.homeip.net Received: from vserver.asyring.homeip.net ([127.0.0.1]) by localhost (mail.asyring.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id e4IN7cHOcgDd for ; Mon, 11 Feb 2019 18:14:46 +0100 (CET) Received: from Cubietruck.lan. (Cubietruck-Lan.lan [192.168.0.131]) by vserver.asyring.homeip.net (Postfix) with ESMTPSA id 93F635F83B; Mon, 11 Feb 2019 18:14:39 +0100 (CET) From: Alexander Syring To: Russell King Cc: Jason Cooper , Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Rob Herring , Mark Rutland , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Alexander Syring Subject: [PATCH 1/2] arm64: dts: marvell: mcbin: Adding SPI-NOR Flash Config Date: Mon, 11 Feb 2019 18:14:01 +0100 Message-Id: <20190211171401.434-1-alex@asyring.de> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org According to U-Boot dts file enabling the SPI-NOR flash for use in Linux Signed-off-by: Alexander Syring --- .../boot/dts/marvell/armada-8040-mcbin.dtsi | 23 +++++++++++++++---- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dtsi b/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dtsi index 329f8ceeebea..83994ff46e2d 100644 --- a/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dtsi +++ b/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dtsi @@ -333,11 +333,24 @@ status = "okay"; spi-flash@0 { - compatible = "st,w25q32"; - spi-max-frequency = <50000000>; - reg = <0>; - }; -}; + compatible = "st,w25q32", "jedec,spi-nor"; + reg = <0>; + spi-max-frequency = <50000000>; + + partitions { + compatible = "fixed-partitions"; + + partition@0 { + label = "U-Boot"; + reg = <0 0x200000>; + }; + partition@400000 { + label = "U-Boot Env"; + reg = <0x200000 0xce0000>; + }; + }; + }; +}; &cp1_usb3_0 { /* CPS Lane 2 - CON7 */ -- 2.20.1