Skip to content

Commit

Permalink
ARM: dts: imx7d: Fix coresight funnel ports
Browse files Browse the repository at this point in the history
[ Upstream commit 0d4ac04 ]

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 <[email protected]>
Signed-off-by: Shawn Guo <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
  • Loading branch information
tq-steina authored and gregkh committed Feb 5, 2024
1 parent 58b9d49 commit 62b5830
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 0 additions & 3 deletions arch/arm/boot/dts/nxp/imx/imx7d.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -217,9 +217,6 @@
};

&ca_funnel_in_ports {
#address-cells = <1>;
#size-cells = <0>;

port@1 {
reg = <1>;
ca_funnel_in_port1: endpoint {
Expand Down
6 changes: 5 additions & 1 deletion arch/arm/boot/dts/nxp/imx/imx7s.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,11 @@
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>;
};
Expand Down

0 comments on commit 62b5830

Please sign in to comment.