From patchwork Tue Sep 28 16:27:02 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Marko X-Patchwork-Id: 12523205 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5C865C433EF for ; Tue, 28 Sep 2021 16:29:52 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1E84B61213 for ; Tue, 28 Sep 2021 16:29:52 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 1E84B61213 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=sartura.hr Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=puMcLM+RbzNUpRkrlNTAoxFYpSsalptlP7jrXT7QxN4=; b=mGIOpRR0lvsX+A eD7p6LYesfcEtQ46x3tYfnzkAlfzES8jtTQ+TWCauHJZh8YSYq6nwbh/fN1wUii85f0MzZtguW25A fVIAkruGsgXWQHc16KCwNQbhVrNMHsuDvsEAWP+R1CBLLAcofEewiqWiPWzJAjop9cgTWWA/z8xOn MwNKZWcGdNCjf3WN3T8xWe2R5jaFbkbOgLtHxyMbXLV4hqOEVLkA2UiYOtK1aZGWpdimSfJXY92Cq Bq/muDR2/AjVhrc2NvzPiGyKpNY0k/2x5gmHrOo1Rd98ZQ5GiNQfPCYtkiljRUJwBD3hs8qQvPN8I zhtjqIO2fFCRmaOxZQQQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mVFxA-0083zM-7w; Tue, 28 Sep 2021 16:27:36 +0000 Received: from mail-ed1-x52f.google.com ([2a00:1450:4864:20::52f]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mVFwr-0083qi-6h for linux-arm-kernel@lists.infradead.org; Tue, 28 Sep 2021 16:27:18 +0000 Received: by mail-ed1-x52f.google.com with SMTP id dn26so8481169edb.13 for ; Tue, 28 Sep 2021 09:27:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sartura-hr.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=67xaAhWDXBwAaZYIwVCY4AOv7Ek7bCXFI3RMNuf3tPo=; b=cizCCnzAoVlOmKKR4NiyqAvMwk16w9hrH/ufsqREGQsQTyV/gppCXqIPhEe+MjR9qi 6cEkxhuzigHNoumRWhDut+QggEj0PT3ijWsIPUaUKa5PKmFufGKO1OKCe3n5LuKvVYcx /85W52HGANBS7pK2EpP1VQbHmPdnFCcr1oH6zP2O2NfRio7J67cJ0uAMGcmIA14H596z iLXIKolRkxwoWVQGIGi4kefvhpOYsB2Lg6m67y6IoVmhyzSI9bT0+ivof/ugU1t22K4b 4cvzVs6wzHQUE1N/ECi8f6xrigBelP+fFeeKVdPfB3E2eyM3JcF5q3V+JyqUwS0W1Sb5 r6PA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=67xaAhWDXBwAaZYIwVCY4AOv7Ek7bCXFI3RMNuf3tPo=; b=rJRdu3mN5jJgq44MbI+Cods4Oq/yHuEWhdutTL0o28792+UQ89rSBgFVIWDrKcNHAE li9FbWjpN3TKTCQq0S6+l0xrnR7AYL3fwSyDSZiCF7OlEz+bVsHYsXo34wfsoboFslFI Igv725zdkR6juEgsBvk3VDrUDHQhvLcjw5yA9zLcj6wsg+4C6Q5G6MCDXaGGaei4eQMg gMZzE2ua8UkNCub2OPTZK2C5QTfgSLK0MFpuTyNQlPHCoBw0gHLx4+mt2wp/6LHCgL49 N1ZmgKoKi89182qVoIIfZe4Sc/TWyyJgjm32YV2cyGTWCqa8fSFL2CV2oR+piFuIy5/U f3pg== X-Gm-Message-State: AOAM530rIPVNRryG1i71LOgyoflMG74qNC75uLjYpRE2UBtpbeFEBp5H zhsyTRsz6gu8Z+5rUEVJrm3JSw== X-Google-Smtp-Source: ABdhPJyE7OuPLUXYBsDhaszNhk8HM6o5WwVVGNJDPA15kj12YgfLTXY1y84pX/0E7+bF80e1ZDUePA== X-Received: by 2002:a50:cf02:: with SMTP id c2mr8564759edk.325.1632846429596; Tue, 28 Sep 2021 09:27:09 -0700 (PDT) Received: from fedora.. (dh207-96-123.xnet.hr. [88.207.96.123]) by smtp.googlemail.com with ESMTPSA id n23sm12579876edw.75.2021.09.28.09.27.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Sep 2021 09:27:09 -0700 (PDT) From: Robert Marko To: andrew@lunn.ch, gregory.clement@bootlin.com, sebastian.hesselbarth@gmail.com, robh+dt@kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, pali@kernel.org Cc: Robert Marko Subject: [PATCH v2 1/3] arm64: dts: marvell: espressobin-ultra: fix SPI-NOR config Date: Tue, 28 Sep 2021 18:27:02 +0200 Message-Id: <20210928162704.687513-1-robert.marko@sartura.hr> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210928_092717_284268_9A2428C8 X-CRM114-Status: GOOD ( 11.62 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org SPI config for the SPI-NOR is incorrect and completely breaking reading/writing to the onboard SPI-NOR. SPI-NOR is connected in the single(x1) IO mode and not in the quad (x4) mode. Also, there is no need to override the max frequency from the DTSI as the mx25u3235f that is used supports 104Mhz. Signed-off-by: Robert Marko --- arch/arm64/boot/dts/marvell/armada-3720-espressobin-ultra.dts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/arch/arm64/boot/dts/marvell/armada-3720-espressobin-ultra.dts b/arch/arm64/boot/dts/marvell/armada-3720-espressobin-ultra.dts index c5eb3604dd5b..610ff6f385c7 100644 --- a/arch/arm64/boot/dts/marvell/armada-3720-espressobin-ultra.dts +++ b/arch/arm64/boot/dts/marvell/armada-3720-espressobin-ultra.dts @@ -71,10 +71,6 @@ &sdhci1 { &spi0 { flash@0 { - spi-max-frequency = <108000000>; - spi-rx-bus-width = <4>; - spi-tx-bus-width = <4>; - partitions { compatible = "fixed-partitions"; #address-cells = <1>;