Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp47347lqe; Fri, 5 Apr 2024 12:06:57 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXsmYbNYl6lvyq+X+v2occMGEo83s2X8wRRwLY1PQHKCuvTTHagwrgm2l084ousOhOnQQwCtf4AsX3a0nAWl6jdS1pjlE6PbGM846hgvQ== X-Google-Smtp-Source: AGHT+IFvso5mjP4OrqkwqaCypumIEOwsh3iwkwQCcuWhHUtzbNNl1kY5d9QRNUvZ234fDBj/vnEb X-Received: by 2002:a17:907:1711:b0:a51:8a0c:cf39 with SMTP id le17-20020a170907171100b00a518a0ccf39mr2703126ejc.20.1712344017665; Fri, 05 Apr 2024 12:06:57 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712344017; cv=pass; d=google.com; s=arc-20160816; b=asjTWJN92ir6dTCFh0tHlqyo177WcN3QLgkyTHSje7E7/dLobUKXp3XjPE56u1U+on OKM1MCDWzKpsnJ5noSTr0xF9/Ln1mAgj0FecPVKc5jzEYXsraghmdT66FxZyG8AVSuVD NBFu9erDDvRuvh11JyfG9sdkMzQuCHqbeqkGZIo0U5sDz087nhvpLQonvye8wlzaVklF BX3EGADae9sRrxzFzHcNZwBiCYQ5XJiVxjsZ8jiBApIBTsTYkH5in7y1Deuw+5TYsj62 pgPLRBW9eaZMUxxuFmkJkGxF2kAIRRVOYbNGDEAu41TNgrFO1x+fOpLGuPEe9y6Dgh2D Ix1A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=GeBIlt23uLL54b1tCdbRjhIh8UE1yS5f79h4n+mp+Hs=; fh=uU/PpbjAz1lA+Zbmj8tOHcD5XfXnmtKly4A6s5pircw=; b=CBKa1jCP0g9cHJqzKmaxxFPuNo/SFYyd+5bHixbLlKN5DT7NVwyv4dWTKLdQk7bVNh HuL3LT2o/qBPuUj89ffUbVD8aCPlNy2vQ0e2ZxSwGcCX5YuoNfLnX1AkCHSwMHtQkztr i++yaRXvfpqHtmTJeCwx4E3ZX3F06jFqZj8VPN4US71UGH9RbHjlFePml6/OuvE+KTHT 5I8livST8zQDEj6wXJsJ5YjDYyORxEMq1KVSE0DC12xY6T2MurX8G5pjJR/0D2C8VSOF My1cbxPMftjtxjfNCjtRJgVaMoNfzQqqS6YRzzxSjsBicvO3leW/NElWacJjT+42YcLt 1qFQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="PDrj+u/f"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-133506-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-133506-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id m20-20020a509994000000b0056e05a21726si975514edb.290.2024.04.05.12.06.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Apr 2024 12:06:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-133506-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="PDrj+u/f"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-133506-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-133506-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 650F91F24C0B for ; Fri, 5 Apr 2024 19:06:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 57FF7175559; Fri, 5 Apr 2024 19:05:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="PDrj+u/f" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 76B5D172BDC; Fri, 5 Apr 2024 19:05:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712343917; cv=none; b=qczudMPp18gOiJjkdFc8z1aORn2ZIh9zcXZkRPQvJYUUnog5NjrLeG+QAMVFap7BXy8oh7Ep0uLUHQiMucmTqXHlnapFcOsLHwor3LxiBmcDMNzI3QSa0H4nQfIg1rQuCYFxvIGBGWIA42leJAvZ48sYJ3Blx44+ergze3K9NCg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712343917; c=relaxed/simple; bh=Nylk1K3x9Z1w82iqtiWjQN83jq94phFmb6oCsVTo8zU=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=OkEj0WH+rbpLy6u7DiugSMhN903zaj1I6oeHB9NQCB8EjzKqN7vhMtq7OoBtIbUUocfBTox1u/onNlF24Tb5HWpxDxjiqsNQssS0wsg/eRMf6ydirPbXlWlQTVXuw4/OEcryDG5xMo11fpXvpGY6FilReGgwicv4C6pBiwWEfvE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=PDrj+u/f; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 50075C43601; Fri, 5 Apr 2024 19:05:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712343917; bh=Nylk1K3x9Z1w82iqtiWjQN83jq94phFmb6oCsVTo8zU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PDrj+u/frEuhoQGEeSoxHjzLcP+Yxq5csXLh//2R2fLdBwSAtWjbEFamkq+ysST3X jUnS5niqV1+C9NXO1RbMmv+GF7kMQTGjncK5DlvSbkvgei8XMNqbcvxHSAtq6QR4bp H+2bR4KfCvblxKUYCc78D3gd90MLb3PHuKh02AJVcke0kWQIrSHN1BGrBeIwxhOXbB hacRH1argX6VHjJG3TEBryfO5/XzqUo8lA37fuuppbuQmj+LIqc7nVHyKFQ9Lbetsp KL7DE02LZB3UX5PdBx7bKULzC0m2RoSzB0Nk7kNoZVzNWFO1dNdB9GchNpybS4yXNS V/XvYacbqHrzw== From: Krzysztof Kozlowski To: Conor Dooley , Nicolas Ferre , Claudiu Beznea , Rob Herring , Krzysztof Kozlowski , Lars Povlsen , Steen Hegelund , Daniel Machon , UNGLinuxDriver@microchip.com, Bjarni Jonasson , "David S. Miller" , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: horatiu.vultur@microchip.com, steen.hegelund@microchip.com, Krzysztof Kozlowski Subject: [RFT PATCH v2 09/10] arm64: dts: microchip: sparx5_pcb134: drop duplicated NOR flash Date: Fri, 5 Apr 2024 21:04:18 +0200 Message-Id: <20240405190419.74162-9-krzk@kernel.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240405190419.74162-1-krzk@kernel.org> References: <20240405190419.74162-1-krzk@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Since beginning the DTS extended the SPI0 in two places adding two SPI muxes, each with same SPI NOR flash. Both used exactly the same chip-selects, so this was clearly buggy code. Then in commit d0f482bb06f9 ("arm64: dts: sparx5: Add the Sparx5 switch node") one SPI mux was removed, while keeping the SPI NOR flash node. This still leaves duplicated SPI nodes under same chip select 0, reported by dtc W=1 warnings: sparx5_pcb134_board.dtsi:277.10-281.4: Warning (unique_unit_address_if_enabled): /axi@600000000/spi@600104000/flash@0: duplicate unit-address (also used in node /axi@600000000/spi@600104000/spi@0) Steen Hegelund confirmed that in fact there is a SPI mux, thus remove the duplicated node without the mux. Signed-off-by: Krzysztof Kozlowski --- Not tested on hardware Changes in v2: 1. Remove SPI node without mux. --- arch/arm64/boot/dts/microchip/sparx5_pcb134_board.dtsi | 9 --------- 1 file changed, 9 deletions(-) diff --git a/arch/arm64/boot/dts/microchip/sparx5_pcb134_board.dtsi b/arch/arm64/boot/dts/microchip/sparx5_pcb134_board.dtsi index f165a409bc1d..2c5574734c9e 100644 --- a/arch/arm64/boot/dts/microchip/sparx5_pcb134_board.dtsi +++ b/arch/arm64/boot/dts/microchip/sparx5_pcb134_board.dtsi @@ -272,15 +272,6 @@ gpio@1 { }; }; -&spi0 { - status = "okay"; - flash@0 { - compatible = "jedec,spi-nor"; - spi-max-frequency = <8000000>; - reg = <0>; - }; -}; - &spi0 { status = "okay"; spi@0 { -- 2.34.1