arm: dts: ste: Update coresight bindings for hardware port
authorSuzuki K Poulose <suzuki.poulose@arm.com>
Wed, 12 Sep 2018 13:53:52 +0000 (14:53 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 20 Sep 2018 22:01:22 +0000 (15:01 -0700)
Switch to the new coresight bindings

Cc: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/boot/dts/ste-dbx5x0.dtsi

index da01c61..48b3323 100644 (file)
                        clocks = <&prcmu_clk PRCMU_APETRACECLK>, <&prcmu_clk PRCMU_APEATCLK>;
                        clock-names = "apb_pclk", "atclk";
                        cpu = <&CPU0>;
-                       port {
-                               ptm0_out_port: endpoint {
-                                       remote-endpoint = <&funnel_in_port0>;
+                       out-ports {
+                               port {
+                                       ptm0_out_port: endpoint {
+                                               remote-endpoint = <&funnel_in_port0>;
+                                       };
                                };
                        };
                };
                        clocks = <&prcmu_clk PRCMU_APETRACECLK>, <&prcmu_clk PRCMU_APEATCLK>;
                        clock-names = "apb_pclk", "atclk";
                        cpu = <&CPU1>;
-                       port {
-                               ptm1_out_port: endpoint {
-                                       remote-endpoint = <&funnel_in_port1>;
+                       out-ports {
+                               port {
+                                       ptm1_out_port: endpoint {
+                                               remote-endpoint = <&funnel_in_port1>;
+                                       };
                                };
                        };
                };
 
                        clocks = <&prcmu_clk PRCMU_APETRACECLK>, <&prcmu_clk PRCMU_APEATCLK>;
                        clock-names = "apb_pclk", "atclk";
-                       ports {
-                               #address-cells = <1>;
-                               #size-cells = <0>;
-
-                               /* funnel output ports */
-                               port@0 {
-                                       reg = <0>;
+                       out-ports {
+                               port {
                                        funnel_out_port: endpoint {
                                                remote-endpoint =
                                                        <&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>;
                                        };
                                };
                        clocks = <&prcmu_clk PRCMU_APEATCLK>;
                        clock-names = "atclk";
 
-                       ports {
+                       out-ports {
                                #address-cells = <1>;
                                #size-cells = <0>;
 
-                               /* replicator output ports */
                                port@0 {
                                        reg = <0>;
                                        replicator_out_port0: endpoint {
                                                remote-endpoint = <&etb_in_port>;
                                        };
                                };
+                       };
 
-                               /* replicator input port */
-                               port@2 {
-                                       reg = <0>;
+                       in-ports {
+                               port {
                                        replicator_in_port0: endpoint {
-                                               slave-mode;
                                                remote-endpoint = <&funnel_out_port>;
                                        };
                                };
 
                        clocks = <&prcmu_clk PRCMU_APETRACECLK>, <&prcmu_clk PRCMU_APEATCLK>;
                        clock-names = "apb_pclk", "atclk";
-                       port {
-                               tpiu_in_port: endpoint {
-                                       slave-mode;
-                                       remote-endpoint = <&replicator_out_port0>;
+                       in-ports {
+                               port {
+                                       tpiu_in_port: endpoint {
+                                               remote-endpoint = <&replicator_out_port0>;
+                                       };
                                };
                        };
                };
 
                        clocks = <&prcmu_clk PRCMU_APETRACECLK>, <&prcmu_clk PRCMU_APEATCLK>;
                        clock-names = "apb_pclk", "atclk";
-                       port {
-                               etb_in_port: endpoint {
-                                       slave-mode;
-                                       remote-endpoint = <&replicator_out_port1>;
+                       in-ports {
+                               port {
+                                       etb_in_port: endpoint {
+                                               remote-endpoint = <&replicator_out_port1>;
+                                       };
                                };
                        };
                };