arm64: dts: ti: k3-j721s2: Convert serdes_ln_ctrl node into reg-mux
authorAndrew Davis <afd@ti.com>
Wed, 24 Jan 2024 18:47:19 +0000 (12:47 -0600)
committerVignesh Raghavendra <vigneshr@ti.com>
Wed, 14 Feb 2024 09:06:56 +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-8-afd@ti.com
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi

index 51922ca..47c58b9 100644 (file)
                };
 
                serdes_ln_ctrl: mux-controller@80 {
-                       compatible = "mmio-mux";
+                       compatible = "reg-mux";
                        reg = <0x80 0x10>;
                        #mux-control-cells = <1>;
-                       mux-reg-masks = <0x80 0x3>, <0x84 0x3>, /* SERDES0 lane0/1 select */
-                                       <0x88 0x3>, <0x8c 0x3>; /* SERDES0 lane2/3 select */
+                       mux-reg-masks = <0x0 0x3>, <0x4 0x3>, /* SERDES0 lane0/1 select */
+                                       <0x8 0x3>, <0xc 0x3>; /* SERDES0 lane2/3 select */
                };
 
                ehrpwm_tbclk: clock-controller@140 {