arm64: dts: k3-am6: Add mux-controller DT node required for muxing SERDES
authorKishon Vijay Abraham I <kishon@ti.com>
Wed, 29 May 2019 09:18:08 +0000 (14:48 +0530)
committerTero Kristo <t-kristo@ti.com>
Mon, 17 Jun 2019 14:58:43 +0000 (17:58 +0300)
Add mux-controller DT node as a child node of scm_conf. This is
required for muxing SERDES between USB, PCIe and ICSS2 SGMII.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Tero Kristo <t-kristo@ti.com>
arch/arm64/boot/dts/ti/k3-am65-main.dtsi

index 27dedca0edfae7592889132690a90af485954a39..877597f2c8dc84ab6f3faf3f16abf656c2057886 100644 (file)
                #address-cells = <1>;
                #size-cells = <1>;
                ranges = <0x0 0x0 0x00100000 0x1c000>;
+
+               serdes_mux: mux-controller {
+                       compatible = "mmio-mux";
+                       #mux-control-cells = <1>;
+                       mux-reg-masks = <0x4080 0x3>, /* SERDES0 lane select */
+                                       <0x4090 0x3>; /* SERDES1 lane select */
+               };
        };
 
        dwc3_0: dwc3@4000000 {