Switch to the new coresight bindings for hardware ports

Cc: Nicolas Ferre <[email protected]>
Cc: Alexandre Belloni <[email protected]>
Cc: Mathieu Poirier <[email protected]>
Signed-off-by: Suzuki K Poulose <[email protected]>
---
 arch/arm/boot/dts/sama5d2.dtsi | 17 ++++++++++-------
 1 file changed, 10 insertions(+), 7 deletions(-)

diff --git a/arch/arm/boot/dts/sama5d2.dtsi b/arch/arm/boot/dts/sama5d2.dtsi
index 61f68e5c48e9..f0fd2b1c04ba 100644
--- a/arch/arm/boot/dts/sama5d2.dtsi
+++ b/arch/arm/boot/dts/sama5d2.dtsi
@@ -84,10 +84,11 @@
                clocks = <&mck>;
                clock-names = "apb_pclk";
 
-               port {
-                       etb_in: endpoint {
-                               slave-mode;
-                               remote-endpoint = <&etm_out>;
+               in-ports {
+                       port {
+                               etb_in: endpoint {
+                                       remote-endpoint = <&etm_out>;
+                               };
                        };
                };
        };
@@ -99,9 +100,11 @@
                clocks = <&mck>;
                clock-names = "apb_pclk";
 
-               port {
-                       etm_out: endpoint {
-                               remote-endpoint = <&etb_in>;
+               out-ports {
+                       port {
+                               etm_out: endpoint {
+                                       remote-endpoint = <&etb_in>;
+                               };
                        };
                };
        };
-- 
2.19.0

Reply via email to