arm64: dts: ti: k3-j7200: Convert usb_serdes_mux node into reg-mux
authorAndrew Davis <afd@ti.com>
Wed, 24 Jan 2024 18:47:15 +0000 (12:47 -0600)
committerVignesh Raghavendra <vigneshr@ti.com>
Wed, 14 Feb 2024 09:06:55 +0000 (14:36 +0530)
This removes a dependency on the parent node being a syscon node.
Convert from mmio-mux to reg-mux adjusting node name and properties
as needed.

Signed-off-by: Andrew Davis <afd@ti.com>
Link: https://lore.kernel.org/r/20240124184722.150615-4-afd@ti.com
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
arch/arm64/boot/dts/ti/k3-j7200-main.dtsi

index 809a04f658423738f709e8cc07de955e6623d5ca..657f9cc9f4ea017f034a3d83ac30a8b5325b9dab 100644 (file)
                };
 
                usb_serdes_mux: mux-controller@4000 {
-                       compatible = "mmio-mux";
+                       compatible = "reg-mux";
+                       reg = <0x4000 0x4>;
                        #mux-control-cells = <1>;
-                       mux-reg-masks = <0x4000 0x8000000>; /* USB0 to SERDES0 lane 1/3 mux */
+                       mux-reg-masks = <0x0 0x8000000>; /* USB0 to SERDES0 lane 1/3 mux */
                };
        };