arm64: dts: ti: k3-j7200-main.dtsi: Add USB to SERDES lane MUX
authorRoger Quadros <rogerq@ti.com>
Wed, 30 Sep 2020 12:20:29 +0000 (15:20 +0300)
committerNishanth Menon <nm@ti.com>
Wed, 30 Sep 2020 12:34:02 +0000 (07:34 -0500)
The USB controller can be connected to one of the 2 lanes
of SERDES0 using a MUX. Add a MUX controller node for that.

Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Vignesh Raghavendra <vigneshr@ti.com>
Link: https://lore.kernel.org/r/20200930122032.23481-4-rogerq@ti.com
arch/arm64/boot/dts/ti/k3-j7200-main.dtsi

index 8997276..c638c3d 100644 (file)
                        mux-reg-masks = <0x4080 0x3>, <0x4084 0x3>, /* SERDES0 lane0/1 select */
                                        <0x4088 0x3>, <0x408c 0x3>; /* SERDES0 lane2/3 select */
                };
+
+               usb_serdes_mux: mux-controller@4000 {
+                       compatible = "mmio-mux";
+                       #mux-control-cells = <1>;
+                       mux-reg-masks = <0x4000 0x8000000>; /* USB0 to SERDES0 lane 1/3 mux */
+               };
        };
 
        gic500: interrupt-controller@1800000 {