arm64: dts: imx8mq: Move funnel outside from soc
authorFabio Estevam <festevam@denx.de>
Wed, 6 Sep 2023 11:54:44 +0000 (08:54 -0300)
committerShawn Guo <shawnguo@kernel.org>
Mon, 25 Sep 2023 01:40:25 +0000 (09:40 +0800)
The 'funnel' node does not contain a register range, so it should
be placed outside of the soc node to fix schema warnings from
simple-bus.yaml.

Signed-off-by: Fabio Estevam <festevam@denx.de>
Acked-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8mq.dtsi

index 35f07dfb4ca8df1b58fa5888224ae10a14380891..4b1ce9fc1758474b4bff5cca6473e5f9eb4cacbc 100644 (file)
                };
        };
 
+       funnel {
+               /*
+                * non-configurable funnel don't show up on the AMBA
+                * bus.  As such no need to add "arm,primecell".
+                */
+               compatible = "arm,coresight-static-funnel";
+
+               in-ports {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+
+                       port@0 {
+                               reg = <0>;
+
+                               ca_funnel_in_port0: endpoint {
+                                       remote-endpoint = <&etm0_out_port>;
+                               };
+                       };
+
+                       port@1 {
+                               reg = <1>;
+
+                               ca_funnel_in_port1: endpoint {
+                                       remote-endpoint = <&etm1_out_port>;
+                               };
+                       };
+
+                       port@2 {
+                               reg = <2>;
+
+                               ca_funnel_in_port2: endpoint {
+                                       remote-endpoint = <&etm2_out_port>;
+                               };
+                       };
+
+                       port@3 {
+                               reg = <3>;
+
+                               ca_funnel_in_port3: endpoint {
+                                       remote-endpoint = <&etm3_out_port>;
+                               };
+                       };
+               };
+
+               out-ports {
+                       port {
+                               ca_funnel_out_port0: endpoint {
+                                       remote-endpoint = <&hugo_funnel_in_port0>;
+                               };
+                       };
+               };
+       };
+
        pmu {
                compatible = "arm,cortex-a53-pmu";
                interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_HIGH>;
                        };
                };
 
-               funnel {
-                       /*
-                        * non-configurable funnel don't show up on the AMBA
-                        * bus.  As such no need to add "arm,primecell".
-                        */
-                       compatible = "arm,coresight-static-funnel";
-
-                       in-ports {
-                               #address-cells = <1>;
-                               #size-cells = <0>;
-
-                               port@0 {
-                                       reg = <0>;
-
-                                       ca_funnel_in_port0: endpoint {
-                                               remote-endpoint = <&etm0_out_port>;
-                                       };
-                               };
-
-                               port@1 {
-                                       reg = <1>;
-
-                                       ca_funnel_in_port1: endpoint {
-                                               remote-endpoint = <&etm1_out_port>;
-                                       };
-                               };
-
-                               port@2 {
-                                       reg = <2>;
-
-                                       ca_funnel_in_port2: endpoint {
-                                               remote-endpoint = <&etm2_out_port>;
-                                       };
-                               };
-
-                               port@3 {
-                                       reg = <3>;
-
-                                       ca_funnel_in_port3: endpoint {
-                                               remote-endpoint = <&etm3_out_port>;
-                                       };
-                               };
-                       };
-
-                       out-ports {
-                               port {
-                                       ca_funnel_out_port0: endpoint {
-                                               remote-endpoint = <&hugo_funnel_in_port0>;
-                                       };
-                               };
-                       };
-               };
-
                funnel@28c03000 {
                        compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
                        reg = <0x28c03000 0x1000>;