Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp3859662imm; Tue, 11 Sep 2018 03:18:37 -0700 (PDT) X-Google-Smtp-Source: ANB0Vdaxy1/hsJVLQTDEif8H2lpm/y5dFvdzqL2gjX+zwLPkdG3ahFNsoIEgpHl5d6Hspps5FOzK X-Received: by 2002:a17:902:d706:: with SMTP id w6-v6mr26639940ply.158.1536661117598; Tue, 11 Sep 2018 03:18:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536661117; cv=none; d=google.com; s=arc-20160816; b=V9elPrUkeuBJ5ELcbytZ8UnUAWWib3NkVKf9HiRKb+ZkiSGGvGKzZzvQErcf8prnpn Sesfn8MhdGKdtAw4CoZOqWheumROanp0h1p1fUv+Wx0bIMIhuw7cIwM3Ajxv9RMO8v+H zRcYlWbsvJIo7R3OPgqyUAiYf56S3/6/9oF6bViFThKqeYXyZt+GZsNEq+zo7ee3I1ul MCwpsugvXTClNQsCgHH598WdF6kr8mi8vTECzPTKvDY6+kDP/plOgZ90CN3L3r89yOdk wYjixeZkRSVlQN/czzyYCcDcL06VNLV15OrlqbcXhrwEnF7OPli6hKz/MY6UKSOKI8a0 TVbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=NQM0fFQQ8XarHOH9uTlgIJgcFjXn//LvrNnE94LVMjc=; b=VR1NXpMm5FRE1T+dDPTnxgZfFBUuO9W7uvYM4ShxRqqcUmnrK/l7K4jR3uCAo/OWs/ CgRcE2XVmDVlv/mziqY+53amc72nMBfPRmwH1Cjm2R+00Csm7Qe0gve6VLBKkIxLvyhb T6R71OU8If1T5IfoTj6Gt+J81FS2kTAzmOuAL0JHzSi1s9Vk/iKb7QXIBOu33FTzDO2n jz2q/lqPV/zITqHRk2BLUMmHnKsQ5GdChRtPYV6+aisVo83RY81+UR4OG7zgmhk3qCJj shNLT4eO3c2YuuOHHkLKoZ1O5U0311v+Y5joOqWrzS1lQ+fOIi0iDT6Qtjy9HpTQRneI hifA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l12-v6si18689686plt.440.2018.09.11.03.18.21; Tue, 11 Sep 2018 03:18:37 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727959AbeIKPQp (ORCPT + 99 others); Tue, 11 Sep 2018 11:16:45 -0400 Received: from foss.arm.com ([217.140.101.70]:41352 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726808AbeIKPQo (ORCPT ); Tue, 11 Sep 2018 11:16:44 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 649AD1688; Tue, 11 Sep 2018 03:18:06 -0700 (PDT) Received: from en101.Emea.Arm.com (en101.emea.arm.com [10.4.13.23]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 751A43F557; Tue, 11 Sep 2018 03:18:04 -0700 (PDT) From: Suzuki K Poulose To: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org, robh@kernel.org, frowand.list@gmail.com, devicetree@vger.kernel.org, mathieu.poirier@linaro.org, arm@kernel.org, sudeep.holla@arm.com, Suzuki K Poulose , Liviu Dudau , Lorenzo Pieralisi Subject: [PATCH 11/11] dts: tc2: Update coresight bindings for hardware ports Date: Tue, 11 Sep 2018 11:17:12 +0100 Message-Id: <1536661032-30481-12-git-send-email-suzuki.poulose@arm.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1536661032-30481-1-git-send-email-suzuki.poulose@arm.com> References: <1536661032-30481-1-git-send-email-suzuki.poulose@arm.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Switch to the new coresight bindings Cc: Liviu Dudau Cc: Sudeep Holla Cc: Lorenzo Pieralisi Cc: Mathieu Poirier Signed-off-by: Suzuki K Poulose --- arch/arm/boot/dts/vexpress-v2p-ca15_a7.dts | 90 +++++++++++++++++------------- 1 file changed, 51 insertions(+), 39 deletions(-) diff --git a/arch/arm/boot/dts/vexpress-v2p-ca15_a7.dts b/arch/arm/boot/dts/vexpress-v2p-ca15_a7.dts index ac6b90e..3a50906 100644 --- a/arch/arm/boot/dts/vexpress-v2p-ca15_a7.dts +++ b/arch/arm/boot/dts/vexpress-v2p-ca15_a7.dts @@ -393,10 +393,11 @@ clocks = <&oscclk6a>; clock-names = "apb_pclk"; - port { - etb_in_port: endpoint { - slave-mode; - remote-endpoint = <&replicator_out_port0>; + in-ports { + port { + etb_in_port: endpoint { + remote-endpoint = <&replicator_out_port0>; + }; }; }; }; @@ -407,10 +408,11 @@ clocks = <&oscclk6a>; clock-names = "apb_pclk"; - port { - tpiu_in_port: endpoint { - slave-mode; - remote-endpoint = <&replicator_out_port1>; + in-ports { + port { + tpiu_in_port: endpoint { + remote-endpoint = <&replicator_out_port1>; + }; }; }; }; @@ -421,11 +423,10 @@ */ compatible = "arm,coresight-replicator"; - ports { + out-ports { #address-cells = <1>; #size-cells = <0>; - /* replicator output ports */ port@0 { reg = <0>; replicator_out_port0: endpoint { @@ -439,12 +440,15 @@ remote-endpoint = <&tpiu_in_port>; }; }; + }; - /* replicator input port */ - port@2 { + in-ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { reg = <0>; replicator_in_port0: endpoint { - slave-mode; remote-endpoint = <&funnel_out_port0>; }; }; @@ -457,11 +461,10 @@ clocks = <&oscclk6a>; clock-names = "apb_pclk"; - ports { + out-ports { #address-cells = <1>; #size-cells = <0>; - /* funnel output port */ port@0 { reg = <0>; funnel_out_port0: endpoint { @@ -469,28 +472,29 @@ <&replicator_in_port0>; }; }; + }; - /* funnel input ports */ - port@1 { + in-ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { reg = <0>; funnel_in_port0: endpoint { - slave-mode; remote-endpoint = <&ptm0_out_port>; }; }; - port@2 { + port@1 { reg = <1>; funnel_in_port1: endpoint { - slave-mode; remote-endpoint = <&ptm1_out_port>; }; }; - port@3 { + port@2 { reg = <2>; funnel_in_port2: endpoint { - slave-mode; remote-endpoint = <&etm0_out_port>; }; }; @@ -500,7 +504,6 @@ port@4 { reg = <4>; funnel_in_port4: endpoint { - slave-mode; remote-endpoint = <&etm1_out_port>; }; }; @@ -508,7 +511,6 @@ port@5 { reg = <5>; funnel_in_port5: endpoint { - slave-mode; remote-endpoint = <&etm2_out_port>; }; }; @@ -522,9 +524,11 @@ cpu = <&cpu0>; clocks = <&oscclk6a>; clock-names = "apb_pclk"; - port { - ptm0_out_port: endpoint { - remote-endpoint = <&funnel_in_port0>; + out-ports { + port { + ptm0_out_port: endpoint { + remote-endpoint = <&funnel_in_port0>; + }; }; }; }; @@ -536,9 +540,11 @@ cpu = <&cpu1>; clocks = <&oscclk6a>; clock-names = "apb_pclk"; - port { - ptm1_out_port: endpoint { - remote-endpoint = <&funnel_in_port1>; + out-ports { + port { + ptm1_out_port: endpoint { + remote-endpoint = <&funnel_in_port1>; + }; }; }; }; @@ -550,9 +556,11 @@ cpu = <&cpu2>; clocks = <&oscclk6a>; clock-names = "apb_pclk"; - port { - etm0_out_port: endpoint { - remote-endpoint = <&funnel_in_port2>; + out-ports { + port { + etm0_out_port: endpoint { + remote-endpoint = <&funnel_in_port2>; + }; }; }; }; @@ -564,9 +572,11 @@ cpu = <&cpu3>; clocks = <&oscclk6a>; clock-names = "apb_pclk"; - port { - etm1_out_port: endpoint { - remote-endpoint = <&funnel_in_port4>; + out-ports { + port { + etm1_out_port: endpoint { + remote-endpoint = <&funnel_in_port4>; + }; }; }; }; @@ -578,9 +588,11 @@ cpu = <&cpu4>; clocks = <&oscclk6a>; clock-names = "apb_pclk"; - port { - etm2_out_port: endpoint { - remote-endpoint = <&funnel_in_port5>; + out-ports { + port { + etm2_out_port: endpoint { + remote-endpoint = <&funnel_in_port5>; + }; }; }; }; -- 2.7.4