mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-12-19 16:31:27 +01:00
imx: kontron-sl-mx6ul: Enable second ethernet interface
This ensures both interfaces can be used in U-Boot and both MAC addresses are exported to the Linux kernel devicetree. Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>
This commit is contained in:
parent
8addeb94c7
commit
048fdda977
@ -30,9 +30,6 @@
|
|||||||
* in Linux we can't assign the shared reset GPIO to the PHYs, as this
|
* in Linux we can't assign the shared reset GPIO to the PHYs, as this
|
||||||
* would cause Linux to reset both PHYs every time one of them gets
|
* would cause Linux to reset both PHYs every time one of them gets
|
||||||
* reinitialized.
|
* reinitialized.
|
||||||
*
|
|
||||||
* Also we disable the second ethernet as it currently doesn't work with
|
|
||||||
* the devicetree setup in U-Boot.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
&fec1 {
|
&fec1 {
|
||||||
@ -53,11 +50,16 @@
|
|||||||
clocks = <&clks IMX6UL_CLK_ENET_REF>;
|
clocks = <&clks IMX6UL_CLK_ENET_REF>;
|
||||||
clock-names = "rmii-ref";
|
clock-names = "rmii-ref";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
ethphy2: ethernet-phy@2 {
|
||||||
|
reg = <2>;
|
||||||
|
micrel,led-mode = <0>;
|
||||||
|
clocks = <&clks IMX6UL_CLK_ENET2_REF>;
|
||||||
|
clock-names = "rmii-ref";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
&fec2 {
|
&fec2 {
|
||||||
status = "disabled";
|
|
||||||
/delete-property/ phy-handle;
|
|
||||||
/delete-node/ mdio;
|
/delete-node/ mdio;
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user