Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp4874902ybi; Tue, 30 Jul 2019 09:38:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqwmJpfYDKSjjr7Fkr8BPY+0/8HUx3iV5GoAGKaK8KzXUXzu3siHfZOisVN0+CDIAxmcvGEe X-Received: by 2002:a17:902:968d:: with SMTP id n13mr68839028plp.257.1564504682670; Tue, 30 Jul 2019 09:38:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564504682; cv=none; d=google.com; s=arc-20160816; b=wxIAZAxSzMcAVD0HG+6AHxzuWwCwXUGdwN/effQAFxma0no9++tbMRUacDsagJYrc4 iCqLw5DhFEFza9HlbN0Uk+chveYyfBQKw51vVcVYOCfMPZV/9rQmNjtfUVVRHVGJlmk3 t3cfzAz8qVMbnSl8WhpC4GBsRdf1+ka/5B78xRXTe73j4v5fbb5JtbQct+qormLWyoA7 wU0vkRtGRt27mgSeefDyVmrh5uary2RLyJYpyCUhHUAtz/PiRnHyZGveimvm8ploORfl yK6k2xpICkuhah+ivNqeQiRYWbdpDSXzbzPeQieSnBlPLktjQ6yM6dZSZSfLC88geRWG uR3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=aHfwxR2vPa3gfsd+1g/bMlMfywjGeCNRFaJ3iQAYeqo=; b=qFkbpuVWFmk3TAhgu4lsqYo9Gqr4ZXPplyz+6Ri38Qg6J5kRLFDOeWUKWXZs1Sas/X Kpco+K+8aZbYOlwAfGeifUQuqLGtonzhQl/CvaBbgV894Gug312vSzLzVdDRGImIreBQ 3Mrkm6mQyMQmAgU8WDlN+Zcdn/dI/lwoG4DtcH9GQ5PWrY41IPmCy83IVixzGdg1ok9b gZCg3smtu44aRNJ94G8TtTd+nDQOd2ryWsV66Anyaris/6iG0+hZ2lsNkk4ZEK9jILrQ 1I9LkAU/OcxfMvQ44kdBedeZwoZ1vwqIycPyT8AHKeWLKqWhN3fIPsaVeYAjHCDV//kD JKiw== ARC-Authentication-Results: i=1; mx.google.com; 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 u126si18634712pgc.418.2019.07.30.09.37.47; Tue, 30 Jul 2019 09:38: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; 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 S1731598AbfG3PGM (ORCPT + 99 others); Tue, 30 Jul 2019 11:06:12 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:43644 "EHLO mail-out.m-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726602AbfG3PGM (ORCPT ); Tue, 30 Jul 2019 11:06:12 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 45yfyT33DCz1rKXF; Tue, 30 Jul 2019 17:06:09 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 45yfyT1mT5z1qqkK; Tue, 30 Jul 2019 17:06:09 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id TtrviBwiBTSX; Tue, 30 Jul 2019 17:06:08 +0200 (CEST) X-Auth-Info: aTGk0kR+4QgAU9zcVWxZMYtuGzMpdVmeVoztrzZPGhc= Received: from localhost.localdomain (85-222-111-42.dynamic.chello.pl [85.222.111.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Tue, 30 Jul 2019 17:06:07 +0200 (CEST) From: Lukasz Majewski To: Shawn Guo Cc: Fabio Estevam , Sascha Hauer , Stefan Agner , Rob Herring , Mark Rutland , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Lukasz Majewski Subject: [PATCH] ARM: DTS: vybrid: Update qspi node description for VF610 BK4 board Date: Tue, 30 Jul 2019 17:05:52 +0200 Message-Id: <20190730150552.24927-1-lukma@denx.de> X-Mailer: git-send-email 2.11.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Before this change the device tree description of qspi node for second memory on BK4 board was wrong (applicable to old, in-house tunned fsl-quadspi.c driver). As a result this memory was not recognized correctly when used with the new spi-fsl-qspi.c driver. From the dt-bindings: "Required SPI slave node properties: - reg: There are two buses (A and B) with two chip selects each. This encodes to which bus and CS the flash is connected: <0>: Bus A, CS 0 <1>: Bus A, CS 1 <2>: Bus B, CS 0 <3>: Bus B, CS 1" According to above with new driver the second SPI-NOR memory shall have reg=<2> as it is connected to Bus B, CS 0. Signed-off-by: Lukasz Majewski --- arch/arm/boot/dts/vf610-bk4.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/vf610-bk4.dts b/arch/arm/boot/dts/vf610-bk4.dts index 3fa0cbe456db..0f3870d3b099 100644 --- a/arch/arm/boot/dts/vf610-bk4.dts +++ b/arch/arm/boot/dts/vf610-bk4.dts @@ -246,13 +246,13 @@ reg = <0>; }; - n25q128a13_2: flash@1 { + n25q128a13_2: flash@2 { compatible = "n25q128a13", "jedec,spi-nor"; #address-cells = <1>; #size-cells = <1>; spi-max-frequency = <66000000>; spi-rx-bus-width = <2>; - reg = <1>; + reg = <2>; }; }; -- 2.11.0