Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3449479pxk; Mon, 7 Sep 2020 13:23:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxvpHxYz+8bosW9TbQs6ZakcdjaJNIXIZ68EQrdsieD+aDPsjwgAraEzbSEnT9Lqxn7Tv7f X-Received: by 2002:a17:906:d11a:: with SMTP id b26mr21846572ejz.191.1599510198548; Mon, 07 Sep 2020 13:23:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599510198; cv=none; d=google.com; s=arc-20160816; b=BxjML+exqHyKdHeO8+llTy0qRqHm3PzLu9s4Bc+7MTCRS2GkxudH83xyVIQJLZQtKr DOFxjMk27/zxxHPQakNfRjkiCuA/9Oa+rz1vnxpsrh/RVhvBWSSk3xIlx8CyzolE4xuY WL2mtrdSlNKeADgSYa3b5o0+Llf+eb5CMLTL6yixV1qlvedLkMO2p8Tf2XiccURU4+E2 9tU36o1KFHH8neT4bQkMrIRZb/nojmVntYTN0E/CJ074DDZAqBaL0jwBuj8aVn01waA9 h9899FjVaMAb6JJ/SP+I9XfG+UEyDkxBSF4mmxJgUblDJqaIrJ/2eP6ZxFzfJWl7EBn0 gXdA== 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=DndXHxrHBEGJZ0P3K7dz8g+iOjJ6ahMtkEMkEAT5I00=; b=kIjgVatA2+Nu3DwqxThBrx1LI04CUawMRE1N10QNPl8ZPp+gIAQPT2Twxo3Zhic7Qh CW0mJ9WWtTeyo5J6htyq1iGpGWBnGQ0h4+0GVzNoO0xtXHgXaRNRePqHTYSSYR76t/97 HmeIixnlvdgL0LM62U/PKtMqPxgZxKytDoCnCc/LAzHMEbeyhXaGXU+TUuP2V+C5mDQc JhhziSVYGKmKMrsY+ikr9fIkDqDiy93mUy2wykL2C/KHLT+G8uOdtHfvv37jhnPJcAfa 8sM6lyp4b3ZqKjbKdeTC1EjWTdSgNURBP4ylAX47XThb5vqpS1xuI+VjmzxPmQc6j6N4 m2WA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=t8NWtSsB; 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 c1si10383059eds.366.2020.09.07.13.22.56; Mon, 07 Sep 2020 13:23:18 -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=t8NWtSsB; 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 S1729667AbgIGUVw (ORCPT + 99 others); Mon, 7 Sep 2020 16:21:52 -0400 Received: from lelv0143.ext.ti.com ([198.47.23.248]:38518 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729862AbgIGUVs (ORCPT ); Mon, 7 Sep 2020 16:21:48 -0400 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 087KLfUZ070178; Mon, 7 Sep 2020 15:21:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1599510101; bh=DndXHxrHBEGJZ0P3K7dz8g+iOjJ6ahMtkEMkEAT5I00=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=t8NWtSsBZSLR+EiU4TjlwI+uDryR9/0ALqMkKOsVyjSdJKXdtiAHt8ppZdQK4g4tw /APuROXjdRZCTtkuo35jBvCxrMNpRzs7FseE6bc4Ej8EX59fwl15iSTBXEJq4aAaU7 ARlWJAVvswtk872srbB63bUhmthf8Tr4W9SDeK2s= Received: from DLEE108.ent.ti.com (dlee108.ent.ti.com [157.170.170.38]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTP id 087KLfZg115715; Mon, 7 Sep 2020 15:21:41 -0500 Received: from DLEE101.ent.ti.com (157.170.170.31) 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; Mon, 7 Sep 2020 15:21:41 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DLEE101.ent.ti.com (157.170.170.31) 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:40 -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 087KLebs127278; Mon, 7 Sep 2020 15:21:40 -0500 From: Grygorii Strashko To: Tony Lindgren CC: , , Sekhar Nori , Vignesh Raghavendra , Murali Karicheri , Grygorii Strashko Subject: [PATCH next 1/6] ARM: dts: am5729: beagleboneai: switch to new cpsw switch drv Date: Mon, 7 Sep 2020 23:21:20 +0300 Message-ID: <20200907202125.22943-2-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 BeagleBone AI to use new cpsw switch driver. It has one Ext. port only and fits dual_mac mode with no issues. Signed-off-by: Grygorii Strashko --- arch/arm/boot/dts/am5729-beagleboneai.dts | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/arch/arm/boot/dts/am5729-beagleboneai.dts b/arch/arm/boot/dts/am5729-beagleboneai.dts index e9c7f44126e7..149cfafb90bf 100644 --- a/arch/arm/boot/dts/am5729-beagleboneai.dts +++ b/arch/arm/boot/dts/am5729-beagleboneai.dts @@ -488,25 +488,29 @@ status = "okay"; }; -&davinci_mdio { +&davinci_mdio_sw { reset-gpios = <&gpio2 23 GPIO_ACTIVE_LOW>; reset-delay-us = <2>; - phy0: ethernet-phy@1 { + phy0: ethernet-phy@4 { reg = <4>; eee-broken-100tx; eee-broken-1000t; }; }; -&mac { - slaves = <1>; +&mac_sw { status = "okay"; }; -&cpsw_emac0 { +&cpsw_port1 { phy-handle = <&phy0>; phy-mode = "rgmii-rxid"; + ti,dual-emac-pvid = <1>; +}; + +&cpsw_port2 { + status = "disabled"; }; &ocp { -- 2.17.1