Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp7676865rwn; Wed, 14 Sep 2022 02:41:39 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6WdcQzubli/vQLTkcq4btVK4Chohjx0G2rkUohCw0U+OXJ9r/XcPThIY9PSQOt4K3U524I X-Received: by 2002:a17:902:a9c1:b0:178:60a9:8f30 with SMTP id b1-20020a170902a9c100b0017860a98f30mr1287956plr.0.1663148499542; Wed, 14 Sep 2022 02:41:39 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1663148499; cv=pass; d=google.com; s=arc-20160816; b=If03HXcHStqRe590mwZ/uzwIkq8UvtJRL8cvGav6Ek1s50MmZIlq8Mt6VWadPynCM+ D4MlAdD5zQ3mLfj6a2foxLPbQlmqmbQsfp2pw8h1NIZmPCyxjQemVdw/LY53WkfSGCB+ PkFoiJpVTAwhcU1IjNyliCTns1+yFzzqYwyzq8cXe28RoVDi0k74VXgoaIrgUAbyoAhZ OnNLVuvRK2bbRRE/Hnltct1bkpdHc868CbalWamuKSjtMBPiGqe9i+gNPjMYX9hLMs0e stfJQsxRJS9s0LMK4Y8K0+NE0POZA4OlXnS4PuwtmdHRsb9rgdVB2KticP7NlfUiwa10 teiw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=7DlB2p/FOQtGMjYXmLdhrWgW0oQFWSLLmhIHeOWpKoY=; b=ZN7ysCnIm3axDMM4qsikN6rqqFgXVnyCWFpIHHmezAexAK930QMriGLjHvBbqW91nO Z5bruW5l0Rk0w3ESW1ks3V9D4VoRVa4KI+uSEtPkjlfIfCtAGkYBcxpS6ntWc5gai7/Z ZtBRmWgLHSftdAKYWAhDVU0U6WwVjJYvLgvi3yYK8th3O7Xr95Eq/hAbORwv0nfmGipa ZsCs7qT5ENSSHQ3vWYdvIzHS909HyGOszPYL9fpdpIZfgHkAz9JzIYElg//1BAwSWeQm bmI92y1m69bDOk8hIWwmqNwaj+cnv4xWMmI16KyqFiElyemdXFE3lJ7zLJY/lLKA59f6 5UWw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@arinc9.com header.s=zmail header.b="eTcBj5/w"; arc=pass (i=1 spf=pass spfdomain=arinc9.com dkim=pass dkdomain=arinc9.com dmarc=pass fromdomain=arinc9.com>); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n21-20020a6563d5000000b0042b90c1d31dsi13504958pgv.829.2022.09.14.02.41.24; Wed, 14 Sep 2022 02:41:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@arinc9.com header.s=zmail header.b="eTcBj5/w"; arc=pass (i=1 spf=pass spfdomain=arinc9.com dkim=pass dkdomain=arinc9.com dmarc=pass fromdomain=arinc9.com>); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230312AbiINI51 (ORCPT + 99 others); Wed, 14 Sep 2022 04:57:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37742 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230294AbiINI5A (ORCPT ); Wed, 14 Sep 2022 04:57:00 -0400 Received: from sender4-op-o14.zoho.com (sender4-op-o14.zoho.com [136.143.188.14]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BB10D74E18; Wed, 14 Sep 2022 01:56:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663145749; cv=none; d=zohomail.com; s=zohoarc; b=mHfjN647zj3jluXInpvQq24rjh9/t1GQPh7RyL8u36AgIbtLxoLOJow5agnK2dtoSV88w8Sh8JJYDQLCMkIHcecxX7+WXDemC/urtjR5qxdzRCrq6fY/K18GMMywNAwk0dwkD3nBoivERY8vKHRNeMJWaBqOYaMhWqLfc8Y+ItA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1663145749; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=7DlB2p/FOQtGMjYXmLdhrWgW0oQFWSLLmhIHeOWpKoY=; b=KQEcwTkNW58NM6GNKLY9wPOV3t6QJHYtOvotC0owouLUivEKfJO4R7fxEfzbqsZAwx2nrUEs2pcfrWYu/7XSQAu6IUemBPB8T+FKGBWdpflAYwHcS8L2NeQzM5MAGZ8UE9yMNNcOHn7+eYHNOjPEY7K5b13h3Ce/t7o4lh6cvww= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=arinc9.com; spf=pass smtp.mailfrom=arinc.unal@arinc9.com; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1663145749; s=zmail; d=arinc9.com; i=arinc.unal@arinc9.com; h=From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:Message-Id:Message-Id:In-Reply-To:References:MIME-Version:Content-Type:Content-Transfer-Encoding:Reply-To; bh=7DlB2p/FOQtGMjYXmLdhrWgW0oQFWSLLmhIHeOWpKoY=; b=eTcBj5/w6kgPIPJdO6DazqtUoSSzpPtGfckUfcqre1VI/c14AiTz0+IL9tIIWZCl TxVckcqDKleqZlmZCP0sPeMsqKVZsFPzG8iQuU6iyyXZT0NmougZuBhtJZhrWLlBuFe s3JGPmFvlPmK85JCBhhKj+ATaEt8NXIEwHbo3Qvg= Received: from arinc9-PC.lan (37.120.152.236 [37.120.152.236]) by mx.zohomail.com with SMTPS id 1663145748228839.2714814543557; Wed, 14 Sep 2022 01:55:48 -0700 (PDT) From: =?UTF-8?q?Ar=C4=B1n=C3=A7=20=C3=9CNAL?= To: Krzysztof Kozlowski , Rob Herring , Matthias Brugger , Andrew Lunn , Vivien Didelot , Florian Fainelli , Vladimir Oltean , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Thomas Bogendoerfer , Greg Kroah-Hartman , Sean Wang , Landen Chao , DENG Qingfang , Sergio Paracuellos , erkin.bozoglu@xeront.com Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, =?UTF-8?q?Ar=C4=B1n=C3=A7=20=C3=9CNAL?= , Sungbo Eo Subject: [PATCH 08/10] mips: dts: ralink: mt7621: change mt7530 switch address Date: Wed, 14 Sep 2022 11:54:49 +0300 Message-Id: <20220914085451.11723-9-arinc.unal@arinc9.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220914085451.11723-1-arinc.unal@arinc9.com> References: <20220914085451.11723-1-arinc.unal@arinc9.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-ZohoMailClient: External X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org In the case of muxing phy0 of the MT7530 switch, the switch and the phy will have the same address on the mdio bus, 0. This causes the ethernet driver to fail since devices on the mdio bus cannot share an address. Any address can be used for the switch, therefore, change the switch address to 0x1f. Suggested-by: Sungbo Eo Signed-off-by: Arınç ÜNAL --- arch/mips/boot/dts/ralink/mt7621.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/mips/boot/dts/ralink/mt7621.dtsi b/arch/mips/boot/dts/ralink/mt7621.dtsi index 50799bb1cc5d..206078bd2284 100644 --- a/arch/mips/boot/dts/ralink/mt7621.dtsi +++ b/arch/mips/boot/dts/ralink/mt7621.dtsi @@ -338,9 +338,9 @@ mdio: mdio-bus { #address-cells = <1>; #size-cells = <0>; - switch0: switch@0 { + switch0: switch@1f { compatible = "mediatek,mt7621"; - reg = <0>; + reg = <0x1f>; mediatek,mcm; resets = <&sysc MT7621_RST_MCM>; reset-names = "mcm"; -- 2.34.1