2023-05-09 12:57:19

by Thejasvi Konduru

[permalink] [raw]
Subject: [PATCH 3/3] arm64: dts: ti: k3-j7200-main: Fix node has a unit name, but no reg/ranges property

If a node has unit name, then the node must include the
reg/ranges property.

This rule is not followed in the serdes_ln_ctrl and usb_serdes_mux nodes.

Warning is fixed by adding the reg property in the serdes_ln_ctrl
and usb_serdes_mux nodes.

Fixes: 1509295295c03 ("arm64: dts: ti: k3-j7200-main: Add SERDES lane control mux")
Fixes: 9a09e6e9cfcf5 ("arm64: dts: ti: k3-j7200-main.dtsi: Add USB to SERDES lane MUX")
Signed-off-by: Thejasvi Konduru <[email protected]>
---
arch/arm64/boot/dts/ti/k3-j7200-main.dtsi | 2 ++
1 file changed, 2 insertions(+)

diff --git a/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi b/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi
index 138381f43ce4..a99077b4ca0e 100644
--- a/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi
@@ -35,6 +35,7 @@
serdes_ln_ctrl: mux-controller@4080 {
compatible = "mmio-mux";
#mux-control-cells = <1>;
+ reg = <0x4080 0x10>;
mux-reg-masks = <0x4080 0x3>, <0x4084 0x3>, /* SERDES0 lane0/1 select */
<0x4088 0x3>, <0x408c 0x3>; /* SERDES0 lane2/3 select */
};
@@ -42,6 +43,7 @@
usb_serdes_mux: mux-controller@4000 {
compatible = "mmio-mux";
#mux-control-cells = <1>;
+ reg = <0x4000 0x4>;
mux-reg-masks = <0x4000 0x8000000>; /* USB0 to SERDES0 lane 1/3 mux */
};
};
--
2.17.1