Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp5244365ybi; Tue, 30 Jul 2019 16:58:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqyjZNkrcIfqI5+xhh8q7JVibYnbVD7F/IfMUE4SGoimAQUIahv/4hbN08RYxQcoZImjslBv X-Received: by 2002:a62:1597:: with SMTP id 145mr42825360pfv.180.1564531115488; Tue, 30 Jul 2019 16:58:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564531115; cv=none; d=google.com; s=arc-20160816; b=gXDPAEfs18nCxtdeQqNLHvAiVKyIJO/pstXOFD1ot3AdrQXfEiUzZkPX3a2EdFUy5c y2CI8g0fuUvG/ttnisdlxccF/pOS/YeZrrDXkjl9NITreSFo26I/08LwD4d06ohEW3ui XBpaYx0Gh7Ryy2xzuRrgbyTkXS/aPZVnbBsoSwTds8Cl4az2RsS30/o1zZ+OYLq/6XEd rFb22uceoYu4AGTReYyqko7pka3rIkX+WVWuZN6paKe+ruZE8Cx2wTMVjGTL0ZP427BC AoSoJyDHig7KrMmddiVn1V7CVh/Nxdz4srdWmV+s3lRS62a0JcbgDedFbCMoJ/FXNoBC DphA== 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=7rc6/c2neufFVg7RQxgeOebeNP0UsjCmqiKLEQkH/60=; b=MTsQnK3ztON5Apo6Cqfv1dBzLvJ60FeLEQOCBxEPzm6XIKSMHj5spOBPWlTMX1g6q5 x+e6yBwh2e84JQdIPAoM/2g0I10/YAekkEaVQTn38ACnvkaeuZh19cPLqto+umy1++zc 2Jz0suX80BxzfhAFT5LtG5kUhZdntSo6uX1uWKYbTnNdhhgZCm97XZ6G9VUjUGD8+k1F lZRuQL2Kfonsog3sWiL5SIjqMpkNV3TbQT3BtPRt4u3/DVCsYgvvIu6Sw8GsPfjE6Qvv Ivcr9gHMuGC0CwapZDRDjOwYTapUcZopEc3OYwCTykPVg3C7MON4AH+xfaQpLdTuld/2 BwVw== 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 g7si26734233plp.171.2019.07.30.16.58.20; Tue, 30 Jul 2019 16:58:35 -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 S2387829AbfG3Vsz (ORCPT + 99 others); Tue, 30 Jul 2019 17:48:55 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:42451 "EHLO mail-out.m-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387819AbfG3Vsy (ORCPT ); Tue, 30 Jul 2019 17:48:54 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 45yqv75F8Cz1rBnG; Tue, 30 Jul 2019 23:48:51 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 45yqv740QBz1qqkQ; Tue, 30 Jul 2019 23:48:51 +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 H5W5SgB4fodb; Tue, 30 Jul 2019 23:48:50 +0200 (CEST) X-Auth-Info: llMVCs5jRc9iyn3ETV/87/IBYSMF0oXRV1DQb9JCjHk= 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 23:48:50 +0200 (CEST) From: Lukasz Majewski To: Shawn Guo , Fabio Estevam Cc: 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 v2] ARM: dts: vf610-bk4: Fix qspi node description Date: Tue, 30 Jul 2019 23:48:33 +0200 Message-Id: <20190730214833.30659-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, removed 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 Suggested-by: Fabio Estevam Fixes: a67d2c52a82f ("ARM: dts: Add support for Liebherr's BK4 device (vf610 based)") --- Changes for v2: - Add proper Suggested-by tag as Fabio was the one who pointed out the the issue with wrong reg number assignment for the second SPI-NOR memory - Add Fixes: tag, so the patch could be added to LTS kernels - Fix the subject line to more appropriate --- 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