ARM: dts: imx7d: Fix coresight funnel ports
authorAlexander Stein <alexander.stein@ew.tq-group.com>
Thu, 12 Oct 2023 08:15:53 +0000 (10:15 +0200)
committerShawn Guo <shawnguo@kernel.org>
Mon, 27 Nov 2023 01:47:40 +0000 (09:47 +0800)
imx7d uses two ports for 'in-ports', so the syntax port@<num> has to
be used. imx7d has both port and port@1 nodes present, raising these
error:
funnel@30041000: in-ports: More than one condition true in oneOf schema
funnel@30041000: Unevaluated properties are not allowed
('in-ports' was unexpected)

Fix this by also using port@0 for imx7s as well.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/nxp/imx/imx7d.dtsi
arch/arm/boot/dts/nxp/imx/imx7s.dtsi

index 4b94b8afb55d912a884d727d47c7a948dc4fbf5c..0484e349e064e4de58162c61efb09e6f2e5ed9f4 100644 (file)
 };
 
 &ca_funnel_in_ports {
-       #address-cells = <1>;
-       #size-cells = <0>;
-
        port@1 {
                reg = <1>;
                ca_funnel_in_port1: endpoint {
index 29b8fd03567a54431e16f239d2f3202317f16451..8e05ab545213e1b5bff52144a0a53d7167aaff9b 100644 (file)
                        clock-names = "apb_pclk";
 
                        ca_funnel_in_ports: in-ports {
-                               port {
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+
+                               port@0 {
+                                       reg = <0>;
                                        ca_funnel_in_port0: endpoint {
                                                remote-endpoint = <&etm0_out_port>;
                                        };