From patchwork Fri Jun 26 18:39:05 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Daniel_Gonz=C3=A1lez_Cabanelas?= X-Patchwork-Id: 11628435 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 32F6A618 for ; Fri, 26 Jun 2020 18:41:18 +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 0C891207E8 for ; Fri, 26 Jun 2020 18:41:18 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="FMlc5vfd"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="TCCO7aSY" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0C891207E8 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.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=OTDvlNVrM1qUQ8unylIJ9dDNdSWYh6Vttp/TD2amW6o=; b=FMlc5vfdn0buzApMkv3t7kBKzb cy9Hma1pthOrRLmsByi3B8fxZkpdV+CwaoUFLdaN2/rDkI+cLcCi0JEgTaPmX4KR9/KgxTJXfl95g jOCMODh8WEPjWZGHIKLv9/HFWOUkuDz8Ds4WFfgRFDVuyE9hHEtZGgT+Fl3Qpkfb8ArODKMa3hdxw s9VwIsTOK+TJLUJnB1sWL5gzpIc1A1+Aey+D3CgMeDI/VVqtpkSjxu1ujjClobV6Em7qufr74kQ5V flkIFaIxlLo7VjXfJ7uQxLr09MgdRbUXqIbWCbmgFiJ2Qd/Bp/mL4NavrUCvqqkxLbDd/f+CpPzkn XgFt+7AQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jotGJ-0003gw-Gq; Fri, 26 Jun 2020 18:39:43 +0000 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jotGB-0003fd-Dz for linux-arm-kernel@lists.infradead.org; Fri, 26 Jun 2020 18:39:36 +0000 Received: by mail-wr1-x444.google.com with SMTP id b6so10395573wrs.11 for ; Fri, 26 Jun 2020 11:39:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=GMDuwUNRs+EOO6BCVWiN596G+KVOPQeVgYe+K4ZjvT4=; b=TCCO7aSY8BJU1krb1NDt6A93pmACuYX6CLcNKLUqE5K1TuGD68Ba5bZKyj6t/YyLao kxaAgirKKS/B7znVCLSWEUuIZDodn1O49sQz17M8+G5zmEvfI/slWHqe2EYL7Z69cOby DrPzYvbB7qJYxuz1aJwPHghvPDVKi2VTMIDIGINZ7U1zyz6rzj+s9ziMq9X482t56iVr euF6u+3tGAhgn4wi04xERtBQkRETNn0KyuAdghF08ql41QqWA5VneUeVxGMvAgeW2mTH Kb6e95doqC+//a7gtbyH4WQzkuNm57O16bkyY5cdXcLTo4ayo7U5qbFI0aRxiKiegtov d4sw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=GMDuwUNRs+EOO6BCVWiN596G+KVOPQeVgYe+K4ZjvT4=; b=f4NbcOka+ZOuhPxHV423zVL7vJ3h8mSjfuZFZw84mgdUyMiLrbcYARuBvE5z+z91uu iII4uG5a22G/7j0vfeHAvq54FL7jKs/QfGKiiQl7OWd08SnF/4sl13vpWMVfUXHOxkDx 2NnWqE35SKznaEiOsz2yilxOVDAdggqyecEJs0OiYNwTGimt2NrsdXvERGrPhHojsmUy bHjregD2JBnq9eRNyw/q4OK283p+xrL0wGBybXO0qm8uDTzR4qEe5WcJz/YUQWCpxbCN sS9M0x/4Q97j7hzNpMfQ68Xn2Y7daARw/F460BErba3gCVPgMwHWKYEYwRuy78JO4FGJ 7fiw== X-Gm-Message-State: AOAM533SJ6wYeyWJ+6hRpp3BLznO6/DtUPCpKKLcXitxHEIeq+Y7YtAL bEByho3OEG+d0NA0Bj2wwMg= X-Google-Smtp-Source: ABdhPJzZstgecs1WxLIZHjOJnUEHcC+lmy4vIreQNJKXFZwzU7wmJQ89HrJbWsOJm+TWnRoOaVKpEQ== X-Received: by 2002:adf:ce85:: with SMTP id r5mr5632120wrn.157.1593196772886; Fri, 26 Jun 2020 11:39:32 -0700 (PDT) Received: from tool.localnet ([213.177.196.114]) by smtp.googlemail.com with ESMTPSA id u10sm18047670wml.29.2020.06.26.11.39.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jun 2020 11:39:32 -0700 (PDT) From: Daniel =?iso-8859-1?q?Gonz=E1lez?= Cabanelas To: jason@lakedaemon.net Subject: [PATCH] ARM: dts: dlink-dns327l: fix reg-init PHY Date: Fri, 26 Jun 2020 20:39:05 +0200 Message-ID: <10150060.RLU44xrj3c@tool> MIME-Version: 1.0 X-Spam-Note: CRM114 invocation failed X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:444 listed in] [list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [dgcbueu[at]gmail.com] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 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: devicetree@vger.kernel.org, andrew@lunn.ch, gregory.clement@bootlin.com, robh+dt@kernel.org, linux-arm-kernel@lists.infradead.org, sebastian.hesselbarth@gmail.com Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org The marvell PHY reg-init registers for the D-Link DNS-327L are wrong. Currently the first field is used to set the page 2, but this is pointless. The usage is not correct, and we are setting the wrong registers. Fix it. Signed-off-by: Daniel González Cabanelas Reviewed-by: Andrew Lunn --- arch/arm/boot/dts/armada-370-dlink-dns327l.dts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/armada-370-dlink-dns327l.dts b/arch/arm/boot/dts/armada-370-dlink-dns327l.dts index baa459dd5..2008c6eaa 100644 --- a/arch/arm/boot/dts/armada-370-dlink-dns327l.dts +++ b/arch/arm/boot/dts/armada-370-dlink-dns327l.dts @@ -247,9 +247,8 @@ &uart1 { &mdio { phy0: ethernet-phy@0 { /* Marvell 88E1318 */ reg = <0>; - marvell,reg-init = <0x0 0x16 0x0 0x0002>, - <0x0 0x19 0x0 0x0077>, - <0x0 0x18 0x0 0x5747>; + marvell,reg-init = <0x2 0x19 0x0 0x0077>, + <0x2 0x18 0x0 0x5747>; }; };