]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
arm64: dts: ti: k3-j721e-main.dtsi: Add USB to SERDES MUX
authorRoger Quadros <rogerq@ti.com>
Mon, 29 Jun 2020 12:52:52 +0000 (15:52 +0300)
committerTero Kristo <t-kristo@ti.com>
Fri, 17 Jul 2020 07:35:07 +0000 (10:35 +0300)
The USB controllers can be connected to one of the 2 SERDESes
using a MUX. Add a MUX controller node fot that.

Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Tero Kristo <t-kristo@ti.com>
arch/arm64/boot/dts/ti/k3-j721e-main.dtsi

index 93f83a2d0935eb90f3f5d4b09bf82e847b434210..d14060207f0097f31dd106bc945720d4eaa4e719 100644 (file)
                                      <MUX_IDLE_AS_IS>, <SERDES3_LANE1_USB3_0>,
                                      <SERDES4_LANE0_EDP_LANE0>, <SERDES4_LANE1_EDP_LANE1>, <SERDES4_LANE2_EDP_LANE2>, <SERDES4_LANE3_EDP_LANE3>;
                };
+
+               usb_serdes_mux: mux-controller@4000 {
+                       compatible = "mmio-mux";
+                       #mux-control-cells = <1>;
+                       mux-reg-masks = <0x4000 0x8000000>, /* USB0 to SERDES0/3 mux */
+                                       <0x4010 0x8000000>; /* USB1 to SERDES1/2 mux */
+           };
        };
 
        gic500: interrupt-controller@1800000 {