Open main menu

DAVE Developer's Wiki β

Changes

DESK-MX6UL-L/Peripherals/Ethernet

56 bytes removed, 10:14, 16 July 2021
Peripheral Ethernet
Here below an example of device tree configuration used on standard DAVE's kit for the AXEL ULite SOM:
From <code>imx6ul-lynx-som0013axelulite.dtsi</code>:
<pre>
phy-mode = "rmii";
phy-handle = <&ethphy0>;
phy-reset-gpios = <&gpio5 1 GPIO_ACTIVE_HIGH>;
phy-reset-post-delay = <500>;
status = "okay";
fsl,dev_id = <0>;
mdio {
ethphy0: ethernet-phy@3 {
compatible = "ethernet-phy-ieee802.3-c22";
reg = <0x033>;
};
};
};
......
&iomuxc {
...
>;
};
 
...
...
===Accessing the peripheral===
[[AXEL ULite SOM]] provides the primary network interface mapped at <code>eth0</code>.
====Linux messages at boot time====
...
...
[ 2.758105744506] fec 2188000.ethernet: 2188000.ethernet supply phy not found, using dummy regulator[ 32.284051] pps pps0: new PPS source ptp0[ 3.289349829240] libphy: fec_enet_mii_bus: probed[ 32.306604846511] fec 2188000.ethernet eth0: registered PHC device 0[ 8.004148] fec 2188000..ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
...
...
8,226
edits