Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3450085pxk; Mon, 7 Sep 2020 13:24:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzuXJjFReoio+hnpqME+fhNTnGKsJuUy2V0XlENiF/4mbt9/+qGaosJ/w0egLiFWC4WM3hY X-Received: by 2002:a17:907:2115:: with SMTP id qn21mr22495180ejb.278.1599510291912; Mon, 07 Sep 2020 13:24:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599510291; cv=none; d=google.com; s=arc-20160816; b=0u/wAOnFtsIqDi/U64STg6H2ed2qbah4zLZ1FbH8wlJxOvJQwRnf7h2L8ZrjGFwYO4 rdzMily0LCsV3ICQ9VSKWYbI62vANTx78QxKYuNfiiAiPbwH/Oxz0w1rCchfeXRVX0Ky MjMUN+WggRDknsiaCSGqHw/0mvoADirkiAEG5YCsUMHZ8ZKi+idvRhTtir2RLhoWlC36 69odR9z4aYzP6/N1wEm6aF5YlugECmNlgEJtvJBaarbs2jBAQVvyQ88oaoDO2zTnkpp1 6O+KKRGalZbTDpJ1AdALBcMDKacZUQlpXJIQzlKUbltiGT1th6DQ5W1PUIHhBspQNTae bR9w== 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=HaLMfItALcXWMj0Ouc1ztcuJ8ixf6dGwNMR6GUBD5hA=; b=e4G2k8ixhHXHItpcYvGN5xMPJ5EgmmjXQDuuW8it8UyKOpOVzeC1H7XYyGU1VA46do FMDDm0B8Y4wxJAOTV06BgHxVQOtRe+gYGXCxqrga/bL6T2bYgsW/AyWbJTpiTbKhC4Vj 0cc0Pmx8vGOP0hNgqXaP5G77IUT0q1i6Ua8lDA+MP7fWkf8eHSqsGp5SQj/vRGa7+Abp Nm+h1gJhiAWZoD1GT6+WQrpDpY/iENZP8ICV2qkteejJDfTNAeRWaNBsn+14XRM/yoYw vC8kjyni8hlzZGTfsEaXasjQQvrLsqZ8Icq22PITGDLICGRAlYetbRS+F6eFeaP1cFwf sEYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=T0OoCdl8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 g4si1395573ejs.268.2020.09.07.13.24.29; Mon, 07 Sep 2020 13:24:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=T0OoCdl8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 S1730158AbgIGUV7 (ORCPT + 99 others); Mon, 7 Sep 2020 16:21:59 -0400 Received: from lelv0142.ext.ti.com ([198.47.23.249]:37374 "EHLO lelv0142.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729938AbgIGUVw (ORCPT ); Mon, 7 Sep 2020 16:21:52 -0400 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 087KLorm103768; Mon, 7 Sep 2020 15:21:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1599510110; bh=HaLMfItALcXWMj0Ouc1ztcuJ8ixf6dGwNMR6GUBD5hA=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=T0OoCdl8tXcvGXoQGpSF5aotA6R0PF71kcG/+o4nctguCWMd1IcyrhShgSeJfLzs9 1rGt5FH3pCE0sX1aYlTbjn4YkReoqhMQBAkbPKIAT4tAtwF8CBQ7Sz+IdRMIqAjwnm +Hb+/znrguiK/t7UrwVBjugeBlWUN4DAVYLGGpC4= Received: from DLEE115.ent.ti.com (dlee115.ent.ti.com [157.170.170.26]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 087KLo5i049473 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 7 Sep 2020 15:21:50 -0500 Received: from DLEE100.ent.ti.com (157.170.170.30) by DLEE115.ent.ti.com (157.170.170.26) 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:21:49 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE100.ent.ti.com (157.170.170.30) 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:21:50 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 087KLmoZ053185; Mon, 7 Sep 2020 15:21:49 -0500 From: Grygorii Strashko To: Tony Lindgren CC: , , Sekhar Nori , Vignesh Raghavendra , Murali Karicheri , Grygorii Strashko Subject: [PATCH next 3/6] ARM: dts: beagle-x15: switch to new cpsw switch drv Date: Mon, 7 Sep 2020 23:21:22 +0300 Message-ID: <20200907202125.22943-4-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 Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Switch all TI AM5728 BeagleBoard-X15 boards to use new cpsw switch driver. Those boards have 2 Ext. port wired and 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-beagle-x15-common.dtsi | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/arch/arm/boot/dts/am57xx-beagle-x15-common.dtsi b/arch/arm/boot/dts/am57xx-beagle-x15-common.dtsi index b3a0206ebd6c..79338fb7dbee 100644 --- a/arch/arm/boot/dts/am57xx-beagle-x15-common.dtsi +++ b/arch/arm/boot/dts/am57xx-beagle-x15-common.dtsi @@ -451,7 +451,7 @@ <&dra7_pmx_core 0x3f8>; }; -&davinci_mdio { +&davinci_mdio_sw { phy0: ethernet-phy@1 { reg = <1>; }; @@ -461,21 +461,20 @@ }; }; -&mac { +&mac_sw { status = "okay"; - dual_emac; }; -&cpsw_emac0 { +&cpsw_port1 { phy-handle = <&phy0>; phy-mode = "rgmii-rxid"; - dual_emac_res_vlan = <1>; + ti,dual-emac-pvid = <1>; }; -&cpsw_emac1 { +&cpsw_port2 { phy-handle = <&phy1>; phy-mode = "rgmii-rxid"; - dual_emac_res_vlan = <2>; + ti,dual-emac-pvid = <2>; }; &mmc1 { -- 2.17.1