MIPS: mscc: ocelot: add SerDes mux DT node
authorQuentin Schulz <quentin.schulz@bootlin.com>
Thu, 4 Oct 2018 12:22:05 +0000 (14:22 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 5 Oct 2018 21:36:44 +0000 (14:36 -0700)
The Microsemi Ocelot has a set of register for SerDes/switch port muxing
as well as PCIe muxing for a specific SerDes, so let's add the device
and all SerDes in the Device Tree.

Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Acked-by: Paul Burton <paul.burton@mips.com>
Signed-off-by: Quentin Schulz <quentin.schulz@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/mips/boot/dts/mscc/ocelot.dtsi

index 149b1a7e709104e54f08f524968b9ec8bed12266..8ce317c5b9edcf6ad665534ba327be0cfe3f15d7 100644 (file)
                hsio: syscon@10d0000 {
                        compatible = "mscc,ocelot-hsio", "syscon", "simple-mfd";
                        reg = <0x10d0000 0x10000>;
+
+                       serdes: serdes {
+                               compatible = "mscc,vsc7514-serdes";
+                               #phy-cells = <2>;
+                       };
                };
        };
 };