4.9 network interface customization and enable
A: The core board directly out of the eth0, such as using an Ethernet port, you can disable unused eth in the dts, dts while the setting moves to use in mdio eth below.
Development Board two RJ45 ports: CN2 is eth0; CN1 is eth1.
A network port dts Review:
&fec1 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_enet1>;
phy-mode = "rmii";
phy-handle = <ðphy0>;
phy-reset-gpios = <&gpio5 9 GPIO_ACTIVE_LOW>;
phy-reset-duration = <26>;
status = "okay";
mdio {
#address-cells = <1>;
#size-cells = <0>;
ethphy0: ethernet-phy@0 {
compatible = "ethernet-phy-ieee802.3-c22";
smsc,disable-energy-detect;
reg = <0>;
};
};
Note: this post from Mill micro-channel public number [i.MX6UL / i.MX6ULL Development Common Problems feature articles by Mir Mir electronics engineer based electronic i.MX6UL / i.MX6ULL products i.MX6UL / i.MX6ULL Development common problems finishing, want to help you.