From mboxrd@z Thu Jan 1 00:00:00 1970 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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 1CB9DC67861 for ; Fri, 5 Apr 2024 20:20:12 +0000 (UTC) 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:References:In-Reply-To: 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: List-Owner; bh=ROhXjdRgaJnKDLdEQ4mbQ7ECn9mqtS0blg1/CEU+xkQ=; b=WsWLLJoEF7XOo8 xciTAv2tlNLbEf4zQTS9GiRZRs/cX8xkxDFU5D9RIz4vUAspsASBgw3ZQ1ZImZWqdrb5jKbuyHKmq ge+MCB+P+yLvUplAjlfeM8ddoWU6t2odkx/pfbiG51/qSWUKKIq2NyYQry6C0fPA/hZ2OtZ9tOERK TSFfq1cEQp33QXystZPsKTNEzQXOgaikI4WsmqLjjr9dEhoKBY+DC/Tyy7t5Igwauy+j/oqiPkZIj QGh5CB/AEMO7vnfI+p1JFEX2uSHMQfmN98wigDiKzOXYVcyJMY8cdDgfWWqnkHOUvq5inj0N4B2pa b2a4/7qtvw46E3CmWZcA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsq2a-00000008l8f-2bJj; Fri, 05 Apr 2024 20:20:00 +0000 Received: from sin.source.kernel.org ([145.40.73.55]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsosJ-00000008Zig-2Y1C for linux-arm-kernel@lists.infradead.org; Fri, 05 Apr 2024 19:05:21 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id CD217CE25C7; Fri, 5 Apr 2024 19:05:17 +0000 (UTC) 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> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240405_120519_989225_CF532D2A X-CRM114-Status: GOOD ( 10.45 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel