From patchwork Mon Sep 7 20:21:24 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Grygorii Strashko X-Patchwork-Id: 249267 Delivered-To: patch@linaro.org Received: by 2002:a92:5b9c:0:0:0:0:0 with SMTP id c28csp3973199ilg; Mon, 7 Sep 2020 13:22:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwV6BRce6MhZbt19yrqBk2vETdtOE7HSuR0uI07WIZrSn6ye2mEMDlC0DddTVqg4N1Yn0qG X-Received: by 2002:a17:906:95cd:: with SMTP id n13mr21990449ejy.297.1599510146077; Mon, 07 Sep 2020 13:22:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599510146; cv=none; d=google.com; s=arc-20160816; b=kLKzfUtauAgm7dTxpO6E0OErBbAslOHFjstN2LSjecNML27GFJTsL/IFR8RdsB8bFw fUEhSqjArgEb8i5ruRz2QWlU5H1JcXDthvlYAXABTYbxwOWa6ty6RsZ64bU2vce4bE6w I6nUxdoN8HIvurm4K1Szg5rQrsSdouRDWAPPEXkwrTijnYBznp9nL5807ODXaRUvMqqK xrK17hw+mDomAiqtr8tyfvM9wMzrTszciUy3TLc1+WLG2QyXU964ngZkMBdO5qKIuJUv Fy7z3QC9uBRMlnw7KtusrIFGvAGqrBf3NbaHpR89lkAIROtEg8G8qV/mgLuP6gNVkom5 rEpw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=A9sNX+xsTb+BdyPioA1mPvqCAGKjC7PtJvx+F5+f4CE=; b=VEFlpZAZWXDU7CCWx18rk24cYcPbq5fLeXL/EVKftdfMzJyzo5VruJt9x1tQxzXPwa yKPotvZX+hDcvfClRNdOiDzvMQS9YaPV0w+e4qrq6r0eFIX1433crrQmz23xEzYFI5YB J3vBEXZrSqxrMzNOPC1N3Uwqpm8cMrYjWkSn/CdG8DNiXzoNLwEA9zB9je4hbYOSWAn/ o1xHmz4tKGqGqCpKjfR/jOzFE5Y8M2trfDaSlXb70HraavYpBY17CTRCAFVUeNDmpj70 o5jCS8+qf9ZyW3R9UnRqau8xMl2lJ09SgZ8sZQO2YNy26DZ8erY3L+vcsy2+d9tPb6d7 f83A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=TYXT0tms; spf=pass (google.com: domain of linux-omap-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id c13si10383207edv.328.2020.09.07.13.22.25; Mon, 07 Sep 2020 13:22:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-omap-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=TYXT0tms; spf=pass (google.com: domain of linux-omap-owner@vger.kernel.org designates 23.128.96.18 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 S1730173AbgIGUWL (ORCPT + 4 others); Mon, 7 Sep 2020 16:22:11 -0400 Received: from lelv0143.ext.ti.com ([198.47.23.248]:38542 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730224AbgIGUWH (ORCPT ); Mon, 7 Sep 2020 16:22:07 -0400 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 087KM5sx070222; Mon, 7 Sep 2020 15:22:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1599510125; bh=A9sNX+xsTb+BdyPioA1mPvqCAGKjC7PtJvx+F5+f4CE=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=TYXT0tmstT3sL0Ngqfk7CTjuczfJePdEPv7afJEU/UJrJWbpNt1y6lq6GHBytBYSq gOz3Vraj5WeoejrO6gU5BLBsWK3LK1eZoAcS1Mdx4QI+pvOxYXgbkZQahJUIdTV7sr T9qKQngIFT3XmWtVPHakp3o00vDPMDOlfOr/2It4= Received: from DLEE113.ent.ti.com (dlee113.ent.ti.com [157.170.170.24]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 087KM4gF085619 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 7 Sep 2020 15:22:05 -0500 Received: from DLEE108.ent.ti.com (157.170.170.38) by DLEE113.ent.ti.com (157.170.170.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Mon, 7 Sep 2020 15:22:04 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DLEE108.ent.ti.com (157.170.170.38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3 via Frontend Transport; Mon, 7 Sep 2020 15:22:04 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 087KM3IE128334; Mon, 7 Sep 2020 15:22:04 -0500 From: Grygorii Strashko To: Tony Lindgren CC: , , Sekhar Nori , Vignesh Raghavendra , Murali Karicheri , Grygorii Strashko Subject: [PATCH next 5/6] ARM: dts: am57xx-cl-som-am57x: switch to new cpsw switch drv Date: Mon, 7 Sep 2020 23:21:24 +0300 Message-ID: <20200907202125.22943-6-grygorii.strashko@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200907202125.22943-1-grygorii.strashko@ti.com> References: <20200907202125.22943-1-grygorii.strashko@ti.com> 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 Switch CompuLab CL-SOM-AM57x board to use new cpsw switch driver. Those board configured in dual_mac mode by default. Hence, dual_mac mode has been preserved the same way between legacy and new driver it's safe to switch drivers. Signed-off-by: Grygorii Strashko --- arch/arm/boot/dts/am57xx-cl-som-am57x.dts | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) -- 2.17.1 diff --git a/arch/arm/boot/dts/am57xx-cl-som-am57x.dts b/arch/arm/boot/dts/am57xx-cl-som-am57x.dts index 34ca761aeded..0d5fe2bfb683 100644 --- a/arch/arm/boot/dts/am57xx-cl-som-am57x.dts +++ b/arch/arm/boot/dts/am57xx-cl-som-am57x.dts @@ -546,27 +546,26 @@ }; }; -&mac { +&mac_sw { status = "okay"; pinctrl-names = "default", "sleep"; pinctrl-0 = <&cpsw_pins_default>; pinctrl-1 = <&cpsw_pins_sleep>; - dual_emac; }; -&cpsw_emac0 { +&cpsw_port1 { phy-handle = <ðphy0>; phy-mode = "rgmii-txid"; - dual_emac_res_vlan = <0>; + ti,dual-emac-pvid = <1>; }; -&cpsw_emac1 { +&cpsw_port2 { phy-handle = <ðphy1>; phy-mode = "rgmii-txid"; - dual_emac_res_vlan = <1>; + ti,dual-emac-pvid = <2>; }; -&davinci_mdio { +&davinci_mdio_sw { pinctrl-names = "default", "sleep"; pinctrl-0 = <&davinci_mdio_pins_default>; pinctrl-1 = <&davinci_mdio_pins_sleep>;