[PATCH AUTOSEL 5.4 07/31] ARM: dts: imx7d: Fix coresight funnel ports
Sasha Levin
sashal at kernel.org
Tue Jan 16 12:02:16 PST 2024
From: Alexander Stein <alexander.stein at ew.tq-group.com>
[ Upstream commit 0d4ac04fa7c3f6dc263dba6f575a2ec7a2d4eca8 ]
imx7d uses two ports for 'in-ports', so the syntax port@<num> has to
be used. imx7d has both port and port at 1 nodes present, raising these
error:
funnel at 30041000: in-ports: More than one condition true in oneOf schema
funnel at 30041000: Unevaluated properties are not allowed
('in-ports' was unexpected)
Fix this by also using port at 0 for imx7s as well.
Signed-off-by: Alexander Stein <alexander.stein at ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo at kernel.org>
Signed-off-by: Sasha Levin <sashal at kernel.org>
---
arch/arm/boot/dts/imx7d.dtsi | 3 ---
arch/arm/boot/dts/imx7s.dtsi | 6 +++++-
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/arch/arm/boot/dts/imx7d.dtsi b/arch/arm/boot/dts/imx7d.dtsi
index 8b65ca8b5f30..2b9d0b1bd982 100644
--- a/arch/arm/boot/dts/imx7d.dtsi
+++ b/arch/arm/boot/dts/imx7d.dtsi
@@ -204,9 +204,6 @@ pcie: pcie at 33800000 {
};
&ca_funnel_in_ports {
- #address-cells = <1>;
- #size-cells = <0>;
-
port at 1 {
reg = <1>;
ca_funnel_in_port1: endpoint {
diff --git a/arch/arm/boot/dts/imx7s.dtsi b/arch/arm/boot/dts/imx7s.dtsi
index 7ce541fcac76..33e9c210fd2f 100644
--- a/arch/arm/boot/dts/imx7s.dtsi
+++ b/arch/arm/boot/dts/imx7s.dtsi
@@ -183,7 +183,11 @@ funnel at 30041000 {
clock-names = "apb_pclk";
ca_funnel_in_ports: in-ports {
- port {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ port at 0 {
+ reg = <0>;
ca_funnel_in_port0: endpoint {
remote-endpoint = <&etm0_out_port>;
};
--
2.43.0
More information about the linux-arm-kernel
mailing list