From patchwork Mon Sep 7 20:21:25 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Grygorii Strashko X-Patchwork-Id: 249266 Delivered-To: patch@linaro.org Received: by 2002:a92:5b9c:0:0:0:0:0 with SMTP id c28csp3973142ilg; Mon, 7 Sep 2020 13:22:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxV8nf+rJMqU+8QrALwUQHgIggThbHsgpBARo+FkkGrnZSXQD8lF/O5vBX4A1kRdyvm6VLb X-Received: by 2002:aa7:da10:: with SMTP id r16mr23997154eds.333.1599510137328; Mon, 07 Sep 2020 13:22:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599510137; cv=none; d=google.com; s=arc-20160816; b=RXWUZQijHkIL+Vb/NllPrfoBWwaqBk/26pH5tggVKg3ZYh5V750hHxqQCIJCEQAjNL 83bBmlMzwnfXG9T6QN6UsqBavnpcbBq256PkpaO4bNcoPg88FyyR6llQdqvx3bHylLCD OaworommuGP/aQzxE85imvsOO0VKfMurkFw2wqBbNQ1eBwX7NBdAHJRVM2e//cABiw5b VKuEluyg/Vo0m4l17pTh9pFE60ucHbx5UNiFvp56y3hs5BX66Jcpkl1oqJc7qyGKAZzT HP8HGVcVlueav1QPTm/kIOH8AzE2DX6Fwn3F1NFWBm+UEGT1/C32QJS7nGAwWmwOx1sa 8OrA== 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=QU39mscjtPHjuuKEj11p2GA7hSHd5TgWJ0hXRoHNo28=; b=BUtCz4Npjbb0QsCp3kgH/umBW3u7VzWtJ2TZParBNYnMV2pDfJXClcM4cLdGD3H+k4 TBJCgpWXmb1/Akp40T6Jv54tKTCd0XERrZUaPitRPiy+mgAxj/fkLnNPa+E0OGJ2mdVl +Ak+kK1af4RkMCG/OlD364Hanb3VbeQpDu6iO9boJXo65XW/WLe1hqeE5TN99YUlZaKX e5fJjdxmPorHVN+02neCnDR2I/w5zUDVeotxdZC1Ohd+CqXg/SnefWrKBIHk4dP664nV Bu6ixz+S+IIizPFo94TK970WzZUN49wAXo71eVJ3NSpPKKLHU9iuFZu6KOb0UZjiOpIE fd+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=mG0m9VDA; 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.17; Mon, 07 Sep 2020 13:22:17 -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=mG0m9VDA; 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 S1730274AbgIGUWP (ORCPT + 4 others); Mon, 7 Sep 2020 16:22:15 -0400 Received: from fllv0015.ext.ti.com ([198.47.19.141]:50918 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730261AbgIGUWP (ORCPT ); Mon, 7 Sep 2020 16:22:15 -0400 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 087KMCMT036338; Mon, 7 Sep 2020 15:22:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1599510132; bh=QU39mscjtPHjuuKEj11p2GA7hSHd5TgWJ0hXRoHNo28=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=mG0m9VDAz31i0ZbCKd2NNbv7d3UcotdLLNcoZPW4kGRLkoVtK3apMhkvHi0sH/+7w xrucWHIBh7lTBNnbvNcMc/cQf0rwl1b2Ch1Se8aIpbF4MAGwECWxx9HLevIz81Aujp 1LrM5zcLdkC8Dv5x8bYmjWqFsA4OT6DIEE1ZUa/8= Received: from DFLE115.ent.ti.com (dfle115.ent.ti.com [10.64.6.36]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 087KMCwJ085929 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 7 Sep 2020 15:22:12 -0500 Received: from DFLE100.ent.ti.com (10.64.6.21) by DFLE115.ent.ti.com (10.64.6.36) 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:11 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE100.ent.ti.com (10.64.6.21) 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:11 -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 087KMAcb054519; Mon, 7 Sep 2020 15:22:11 -0500 From: Grygorii Strashko To: Tony Lindgren CC: , , Sekhar Nori , Vignesh Raghavendra , Murali Karicheri , Grygorii Strashko Subject: [PATCH next 6/6] ARM: dts: dra7: drop legacy cpsw dt node Date: Mon, 7 Sep 2020 23:21:25 +0300 Message-ID: <20200907202125.22943-7-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 All dra7/am57 boards converted to use new driver, so drop legacy cpsw dt node. Signed-off-by: Grygorii Strashko --- arch/arm/boot/dts/dra7-l4.dtsi | 54 ---------------------------------- arch/arm/boot/dts/dra7.dtsi | 4 +-- 2 files changed, 2 insertions(+), 56 deletions(-) -- 2.17.1 diff --git a/arch/arm/boot/dts/dra7-l4.dtsi b/arch/arm/boot/dts/dra7-l4.dtsi index 27a6a83cc60c..703ba6a26272 100644 --- a/arch/arm/boot/dts/dra7-l4.dtsi +++ b/arch/arm/boot/dts/dra7-l4.dtsi @@ -3038,60 +3038,6 @@ */ ti,no-idle; - mac: ethernet@0 { - compatible = "ti,dra7-cpsw","ti,cpsw"; - clocks = <&gmac_main_clk>, <&gmac_clkctrl DRA7_GMAC_GMAC_CLKCTRL 25>; - clock-names = "fck", "cpts"; - cpdma_channels = <8>; - ale_entries = <1024>; - bd_ram_size = <0x2000>; - mac_control = <0x20>; - slaves = <2>; - active_slave = <0>; - cpts_clock_mult = <0x784CFE14>; - cpts_clock_shift = <29>; - reg = <0x0 0x1000 - 0x1200 0x2e00>; - #address-cells = <1>; - #size-cells = <1>; - - /* - * rx_thresh_pend - * rx_pend - * tx_pend - * misc_pend - */ - interrupts = , - , - , - ; - ranges = <0 0 0x4000>; - syscon = <&scm_conf>; - status = "disabled"; - - davinci_mdio: mdio@1000 { - compatible = "ti,cpsw-mdio","ti,davinci_mdio"; - clocks = <&gmac_main_clk>; - clock-names = "fck"; - #address-cells = <1>; - #size-cells = <0>; - bus_freq = <1000000>; - reg = <0x1000 0x100>; - }; - - cpsw_emac0: slave@200 { - /* Filled in by U-Boot */ - mac-address = [ 00 00 00 00 00 00 ]; - phys = <&phy_gmii_sel 1>; - }; - - cpsw_emac1: slave@300 { - /* Filled in by U-Boot */ - mac-address = [ 00 00 00 00 00 00 ]; - phys = <&phy_gmii_sel 2>; - }; - }; - mac_sw: switch@0 { compatible = "ti,dra7-cpsw-switch","ti,cpsw-switch"; reg = <0x0 0x4000>; diff --git a/arch/arm/boot/dts/dra7.dtsi b/arch/arm/boot/dts/dra7.dtsi index cca6b123856f..4e1bbc0198eb 100644 --- a/arch/arm/boot/dts/dra7.dtsi +++ b/arch/arm/boot/dts/dra7.dtsi @@ -37,8 +37,8 @@ serial7 = &uart8; serial8 = &uart9; serial9 = &uart10; - ethernet0 = &cpsw_emac0; - ethernet1 = &cpsw_emac1; + ethernet0 = &cpsw_port1; + ethernet1 = &cpsw_port2; d_can0 = &dcan1; d_can1 = &dcan2; spi0 = &qspi;