]> git.sur5r.net Git - u-boot/blobdiff - drivers/phy/marvell/comphy_core.c
phy: marvell: mux: Support nontrivial node order in selector register
[u-boot] / drivers / phy / marvell / comphy_core.c
index 17ab39c5d0210e78fa6de511a42a76b826c71474..2622751f49b2fdf2c8a1629a759edf8837453337 100644 (file)
@@ -134,6 +134,10 @@ static int comphy_probe(struct udevice *dev)
                return -EINVAL;
        }
 
+       chip_cfg->comphy_mux_lane_order =
+               fdtdec_locate_array(blob, node, "mux-lane-order",
+                                   chip_cfg->comphy_lanes_count);
+
        if (device_is_compatible(dev, "marvell,comphy-armada-3700"))
                chip_cfg->ptr_comphy_chip_init = comphy_a3700_init;