From patchwork Wed Feb 17 11:38:08 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Ferre X-Patchwork-Id: 12091409 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 350A5C433DB for ; Wed, 17 Feb 2021 11:44:50 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 DE9E364DA1 for ; Wed, 17 Feb 2021 11:44:49 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DE9E364DA1 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=microchip.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject: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=te6DFL3nRo7Fw2XAGkqzU4kz1BSFyVuzNJZL1a7PtF0=; b=m8VV/QByGc1FVKF8tL/GlNqiZ3 UwDCozd5fAyP6LhjpAgVP/Dklbt0lwbJnknmADsE1huwz3R6x6KOD0pCmqVxw2NuBGzqvlxQQ0UeD Oe/IYnr4z3wHDA3u1brMhVnQ/uaAeZY9UBDbusehHB2WeOknVMrDHlNwIC8Ph6u9ea2pM/jn426+P gEPbLZsnPt8tsWR+j6S1umKRj8f6WvGefT6G6chKn2MQPbuqITeDzmk4KAa3GXCd5rFsewhSVZSJt ANhy2NhCVI5GVieoqpEe+V0z2NKk+p/2DQJ9XQyA33JyxcHXvmLl1LP74KS5BZofrDRDlS2n/Dbv+ V2+7ohgQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1lCLEG-0003dg-GM; Wed, 17 Feb 2021 11:42:48 +0000 Received: from esa.microchip.iphmx.com ([68.232.154.123]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1lCLEC-0003cb-1E for linux-arm-kernel@lists.infradead.org; Wed, 17 Feb 2021 11:42:46 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1613562164; x=1645098164; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=Jl4y3ZlhMvzv9b8hTjQYiNoHCcntFG8rcdnKDae4ZZA=; b=I4MOpXGX+zNGmgdH5VrCgt2J7BJ032VPPKXmJ9bBGJYVlPrak47Ed8Je 5o5UFCOa5CE16t4cfKaEYCAd8ggRalo49Mq/BuXTcM7lG3IYyysAl1KS4 j8eGGyJyl8AXlE+Bgn43JAJkPmLTtd24kQteFnOjhFx5QFcbWZHWjPXUR Jw/9LZefQ0LOSKvaNAQ458/mBw0EYQmSUIqtunyX1qI9UlXA565FPcqBJ OhZEOvERVf0hdxdnUlH56KTeoq5FJYv/4zxS0PJwBZiAZcQSjwHActO6w AGonBdIiTe1cXJeKsG5JxfGVD5pCZ8JakHYi+orB6W3+hQPYJ68D9RZul g==; IronPort-SDR: pMa6jG/6ubIZ+l+HnJRHa4XfI1mfHsGwgQKSQYTCFSzocE7f/kgBJ55lOCiP9iBCw33eAEoagx rtJkl85HwTnulow9kmiQwdGPqJlvjoGb9xo51f6vh07vaQtGA3jz4p1IfW1oTaSY5VTsduZegk Td0mv9BTmYCjhRQvS5GNxdffnLK1isLq05a5Sd0xjMCIVsM6YoasMiwKoS5RceSFxvi3vuEjXQ TNq17n+bqPPrVGJoa0UX7znn1JpkJDQDb0qmEBDwuhXZ6e2+iTQO3CmJ3xtyfyJqyooUiqcbQ/ xEo= X-IronPort-AV: E=Sophos;i="5.81,184,1610434800"; d="scan'208";a="44425857" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa6.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 17 Feb 2021 04:42:40 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1979.3; Wed, 17 Feb 2021 04:42:40 -0700 Received: from localhost.localdomain (10.10.115.15) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.1979.3 via Frontend Transport; Wed, 17 Feb 2021 04:42:37 -0700 From: To: , , Alexandre Belloni , Ludovic Desroches Subject: [PATCH] ARM: dts: at91-sama5d27_som1: fix phy address to 7 Date: Wed, 17 Feb 2021 12:38:08 +0100 Message-ID: <20210217113808.21804-1-nicolas.ferre@microchip.com> X-Mailer: git-send-email 2.30.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210217_064244_307025_587BEC84 X-CRM114-Status: GOOD ( 11.13 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Claudiu Beznea , stable@vger.kernel.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Claudiu Beznea Fix the phy address to 7 for Ethernet PHY on SAMA5D27 SOM1. No connection established if phy address 0 is used. The board uses the 24 pins version of the KSZ8081RNA part, KSZ8081RNA pin 16 REFCLK as PHYAD bit [2] has weak internal pull-down. But at reset, connected to PD09 of the MPU it's connected with an internal pull-up forming PHYAD[2:0] = 7. Signed-off-by: Claudiu Beznea Fixes: 2f61929eb10a ("ARM: dts: at91: at91-sama5d27_som1: fix PHY ID") Cc: Ludovic Desroches Signed-off-by: Nicolas Ferre Cc: # 4.14+ Tested-by: Alexander Dahl Reviewed-by: Ahmad Fatoum --- arch/arm/boot/dts/at91-sama5d27_som1.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/at91-sama5d27_som1.dtsi b/arch/arm/boot/dts/at91-sama5d27_som1.dtsi index 1b1163858b1d..e3251f3e3eaa 100644 --- a/arch/arm/boot/dts/at91-sama5d27_som1.dtsi +++ b/arch/arm/boot/dts/at91-sama5d27_som1.dtsi @@ -84,8 +84,8 @@ macb0: ethernet@f8008000 { pinctrl-0 = <&pinctrl_macb0_default>; phy-mode = "rmii"; - ethernet-phy@0 { - reg = <0x0>; + ethernet-phy@7 { + reg = <0x7>; interrupt-parent = <&pioA>; interrupts = ; pinctrl-names = "default";