From patchwork Sat Sep 8 22:33:40 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Grygorii Strashko X-Patchwork-Id: 146244 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp955969ljw; Sat, 8 Sep 2018 15:33:51 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZdMv+J2agrTAP8/zWKfQB1adWwW5HgSc5WQsjxds+e5rPB27q+Zksu2EbJt+bRdKfFo9cs X-Received: by 2002:a17:902:7606:: with SMTP id k6-v6mr14264639pll.300.1536446030908; Sat, 08 Sep 2018 15:33:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536446030; cv=none; d=google.com; s=arc-20160816; b=K37FIoO1FNQEIHbHBeDYmAcNtZc+5FNitbzI7EydddnzIfy/teLvzmadWvxMu5h25l jBsbE68EDSvzEgKrVwcbAxV8ZODeXS8mmZtTjei1SDyQWYwSIEhROjoe3IXjc5lYxTFF uVPV+hItx3TrAhrhd570beKSH3kn45TteldlSYxjH/9R30xVHHr0wWE2nKb1zatQTLo6 MPTWSH7eU5qsnI+ysM+cUI68KwReCCcGgACiAy4rY174vcQOppldbiOrOSy9NX9TKvgs 5KmbSp9Vx0uT6AEXZ+j2UkuAzMch7flgJVmTBACMcUsWv7ZlK6YckG55CwAJ2cofQ3K/ UgIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=EA8fPTPn6OcRyk7Mazm3ZMnUGKb+G9Oo3hzbqs3Vpjw=; b=obnYbDRv7gxRJKDIMcQUtjZMRe0UzM3q2Lua0GS/4kA9VcIoetCx83u8OQS3KNf1zs 9FbWYv0Z5GhTHSNKQHY0WrpDXdBbjw2F6fFT/oL5tUZiVdjOoSsJUt7CAe96gegYVLhh ZmQR/m+2YUc1eFK9AilCnlt9fO8EQCgVIoVumbbmwrpyBOjaHpodSyVzsS8LG5ou8Xo2 BwrsyPIdDhWnV0IcF7vtLclRZpeULpvQqtoYzljbXUOe7uoSih1ZN5Kp51QqlbW0qgpM PY3nCEEdOMduKKPRC/O04vWAjJCW1KW+j4bDg0r4RveKaQCDLP247glG1myZYLVxQ1D6 QXbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=KgSYGGut; spf=pass (google.com: best guess record for domain of linux-omap-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-omap-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g128-v6si12271360pfc.339.2018.09.08.15.33.50; Sat, 08 Sep 2018 15:33:50 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-omap-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=KgSYGGut; spf=pass (google.com: best guess record for domain of linux-omap-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-omap-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727735AbeIIDVH (ORCPT + 5 others); Sat, 8 Sep 2018 23:21:07 -0400 Received: from fllv0016.ext.ti.com ([198.47.19.142]:36152 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727675AbeIIDVH (ORCPT ); Sat, 8 Sep 2018 23:21:07 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id w88MXk2d127858; Sat, 8 Sep 2018 17:33:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1536446026; bh=EA8fPTPn6OcRyk7Mazm3ZMnUGKb+G9Oo3hzbqs3Vpjw=; h=From:To:CC:Subject:Date; b=KgSYGGutJ+h1D518fTAgt2CIzR86h+I2ewjOpWhXCle3nA1a0//rBr8e6zmFPbXNo jcd6Og8JgKl65kxYIl0F6V9cv7dkwri8n1Z5PlgQdRJEmeN+WRSDYSXj0DM+5YVRqd DSkG5PWllNH6NuWs8llyNSeeYdDohAFuyHCPdiC4= Received: from DLEE111.ent.ti.com (dlee111.ent.ti.com [157.170.170.22]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id w88MXkXv004304; Sat, 8 Sep 2018 17:33:46 -0500 Received: from DLEE111.ent.ti.com (157.170.170.22) by DLEE111.ent.ti.com (157.170.170.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Sat, 8 Sep 2018 17:33:46 -0500 Received: from dlep33.itg.ti.com (157.170.170.75) by DLEE111.ent.ti.com (157.170.170.22) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Sat, 8 Sep 2018 17:33:46 -0500 Received: from legion.dal.design.ti.com (legion.dal.design.ti.com [128.247.22.53]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id w88MXkLD005523; Sat, 8 Sep 2018 17:33:46 -0500 Received: from localhost (uda0226610.dhcp.ti.com [128.247.59.147]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id w88MXkx28826; Sat, 8 Sep 2018 17:33:46 -0500 (CDT) From: Grygorii Strashko To: Tony Lindgren CC: , Grygorii Strashko Subject: [PATCH] ARM: dts: am335x-evm: fix number of cpsw Date: Sat, 8 Sep 2018 17:33:40 -0500 Message-ID: <20180908223340.15393-1-grygorii.strashko@ti.com> X-Mailer: git-send-email 2.10.5 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org am335x-evm has only one CPSW external port physically wired, but DT defines 2 ext. ports. As result, PHY connection failure reported for the second ext. port. Update DT to reflect am335x-evm board HW configuration, and, while here, switch to use phy-handle instead of phy_id. Signed-off-by: Grygorii Strashko --- arch/arm/boot/dts/am335x-evm.dts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) -- 2.10.5 diff --git a/arch/arm/boot/dts/am335x-evm.dts b/arch/arm/boot/dts/am335x-evm.dts index 1356fd6..d71f52c 100644 --- a/arch/arm/boot/dts/am335x-evm.dts +++ b/arch/arm/boot/dts/am335x-evm.dts @@ -713,6 +713,7 @@ pinctrl-0 = <&cpsw_default>; pinctrl-1 = <&cpsw_sleep>; status = "okay"; + slaves = <1>; }; &davinci_mdio { @@ -720,15 +721,14 @@ pinctrl-0 = <&davinci_mdio_default>; pinctrl-1 = <&davinci_mdio_sleep>; status = "okay"; -}; -&cpsw_emac0 { - phy_id = <&davinci_mdio>, <0>; - phy-mode = "rgmii-txid"; + ethphy0: ethernet-phy@0 { + reg = <0>; + }; }; -&cpsw_emac1 { - phy_id = <&davinci_mdio>, <1>; +&cpsw_emac0 { + phy-handle = <ðphy0>; phy-mode = "rgmii-txid"; };