Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp6185046ybi; Wed, 31 Jul 2019 09:43:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqyl1ndzq4r/WZRG0MMRVOq36+/e9pcdJXZ1pek5ieSPB+ou0dzh15lWFMHdfXiR8feysLJa X-Received: by 2002:a17:902:44e:: with SMTP id 72mr121587949ple.326.1564591387348; Wed, 31 Jul 2019 09:43:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564591387; cv=none; d=google.com; s=arc-20160816; b=rvujAh8tOJgPJovJVZCy6wE5un4g/YiLb7EwXHR/EZNZCG2H0hUkz5ZSPLvRSdiOxW e+O7xofilGeAINMx7RVjtdvnqnQTgHjzSZhAIgo1RQEQkWeA9rcFwMqJ9DuZewaHG3yW 0M8El2uUR5DMO7lkFWRhlVGPYs19O5P3snY8Gr3oqlQun4g+p0UND7IcZX2t4X1nfxus 0KrKQPLwG1uTU5J9hGIvo4PgHwykIV+GTRlcYqJBHU1hNuB0NG9qIDmQ9F6Ieos3Yhat Wqeu54JWg+/RH8IH3mP4GTzUuoMEaoGD1MkG+TpqokjRrfp3Dl59lzaoLwRVXw+m8sOc 00Sg== 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=ecVW/VTZ6B7s+ICxZOAe+3WwiJzL+2AulUdIo61Q9po=; b=M9lPKPoN34V8+vhX4GUHHBQWTGLk4+9NKuPzeLavkKZpCfuYwBs9IhZ0eDMVC41nOu uaMO+2BikiNuBRgpRb48EnzU3p1c+JU4PPU4tfsXCMYEvqT1YdFHObEaRwmR0/Ssw5jt SPqedSp/ud48euJpP9w27GUwXLU4Hu/XyQPmkWaTRs5UXtKANb1rSlXgOU/Vc2kF7qaV LRUw/C8wdNAczDcg93yip23LBOOSdgLaZ4iDE+/k+m2IfQrwJnfjlWVtrYIcRSsme/Vb EMK4mwlYWRjtYGMPCxNVl4L0YVqHeIzKKMYQOwOqwG8r+uih28uYOUzBeSGMmrTfyjlx yjEQ== 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 y3si1852445pjv.50.2019.07.31.09.42.51; Wed, 31 Jul 2019 09:43:07 -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 S2387772AbfGaOMJ (ORCPT + 99 others); Wed, 31 Jul 2019 10:12:09 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:41922 "EHLO mail-out.m-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387663AbfGaOMJ (ORCPT ); Wed, 31 Jul 2019 10:12:09 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 45zFjf3NX3z1rNS5; Wed, 31 Jul 2019 16:12:06 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 45zFjf1XTpz1qqkP; Wed, 31 Jul 2019 16:12:06 +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 aLVG6JH7RSJq; Wed, 31 Jul 2019 16:12:04 +0200 (CEST) X-Auth-Info: 9DZkl6bNBSxiBxcPQAY5c4wJPOvHXx2BrlhQ44j+GPw= 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; Wed, 31 Jul 2019 16:12:04 +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 v3] ARM: dts: vf610-bk4: Fix qspi node description Date: Wed, 31 Jul 2019 16:11:51 +0200 Message-Id: <20190731141151.7196-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. Fixes: a67d2c52a82f ("ARM: dts: Add support for Liebherr's BK4 device (vf610 based)") Suggested-by: Fabio Estevam Signed-off-by: Lukasz Majewski Reviewed-by: Fabio Estevam --- Changes for v3: - Reorder Signed-off, Suggested-by and Fixes tags - Add Reviewed-by: Fabio Estevam 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