From mboxrd@z Thu Jan 1 00:00:00 1970 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 342BB12C46D; Tue, 30 Apr 2024 10:45:58 +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=1714473958; cv=none; b=nKosVNtpCtX0vzm+4jigeh1y2NxoTdXWytQShViBu5JBj471ylGEfKP/xsRRdU7GwgLFKkpec2CUgzpoaq6I7/4R8gdVJ1VtbI1v6iMDxCVHXdpxkUQJ8H8z1bkXchqwfuLk/tqJxUggz1oKMXdpgBkoHmM3N5sTzQBiU3jVX8U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714473958; c=relaxed/simple; bh=BGr4QGybHaxuwCMYFvzCh6ZWJk9xI9aO78KMkSgan+c=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=m1re1rzHHJCWn52ipHL6YDj+7KpaOzTmZDqssuDvnv6z3VnnDb9CmJwHuo4iccNmPOI7Guhzpd7iS5Ycil7+wDCgCJXC5bPwejUJgQ2eXI/KjoNRCVb74DyfycL38VNeAFzzwpFyjs5CURoQucSdMeA7TH648iuTBde6XlWSlVI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=OMMYG0fG; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="OMMYG0fG" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 98081C4AF14; Tue, 30 Apr 2024 10:45:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1714473958; bh=BGr4QGybHaxuwCMYFvzCh6ZWJk9xI9aO78KMkSgan+c=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=OMMYG0fG7g9sahltAXOXbD7yt+e1TchS04euUtmU8tvATySNQWAoqlW9+yFJ97L1x w8ZPue4R6oVOslGOg3FKkDSEJKMhAxZt54cqK0zYtDb7dZ/T+0mj9JwyjXfBX3pTSp BaxKwGNg0ouJII5+GSLUr65s/paXKyGgBtK6X154= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, =?UTF-8?q?Ar=C4=B1n=C3=A7=20=C3=9CNAL?= , Heiko Stuebner , Sasha Levin Subject: [PATCH 6.8 006/228] arm64: dts: rockchip: set PHY address of MT7531 switch to 0x1f Date: Tue, 30 Apr 2024 12:36:24 +0200 Message-ID: <20240430103103.997834713@linuxfoundation.org> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240430103103.806426847@linuxfoundation.org> References: <20240430103103.806426847@linuxfoundation.org> User-Agent: quilt/0.67 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 6.8-stable review patch. If anyone has any objections, please let me know. ------------------ From: Arınç ÜNAL [ Upstream commit a2ac2a1b02590a22a236c43c455f421cdede45f5 ] The MT7531 switch listens on PHY address 0x1f on an MDIO bus. I've got two findings that support this. There's no bootstrapping option to change the PHY address of the switch. The Linux driver hardcodes 0x1f as the PHY address of the switch. So the reg property on the device tree is currently ignored by the Linux driver. Therefore, describe the correct PHY address on Banana Pi BPI-R2 Pro that has this switch. Signed-off-by: Arınç ÜNAL Fixes: c1804463e5c6 ("arm64: dts: rockchip: Add mt7531 dsa node to BPI-R2-Pro board") Link: https://lore.kernel.org/r/20240314-for-rockchip-mt7531-phy-address-v1-1-743b5873358f@arinc9.com Signed-off-by: Heiko Stuebner Signed-off-by: Sasha Levin --- arch/arm64/boot/dts/rockchip/rk3568-bpi-r2-pro.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3568-bpi-r2-pro.dts b/arch/arm64/boot/dts/rockchip/rk3568-bpi-r2-pro.dts index f9127ddfbb7df..87c45d8be420f 100644 --- a/arch/arm64/boot/dts/rockchip/rk3568-bpi-r2-pro.dts +++ b/arch/arm64/boot/dts/rockchip/rk3568-bpi-r2-pro.dts @@ -525,9 +525,9 @@ #address-cells = <1>; #size-cells = <0>; - switch@0 { + switch@1f { compatible = "mediatek,mt7531"; - reg = <0>; + reg = <0x1f>; ports { #address-cells = <1>; -- 2.43.0