Now, that the support for e750a/e600g/e600gac is merged, enable link state
reporting for the Fast Ethernet port attached through the built-in switch,
so it can generate netifd and hotplug events as well, for example -
- to control DHCP client.
Signed-off-by: 张 鹏 <sd20@qxwlan.com>
Link: https://github.com/openwrt/openwrt/pull/9971
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
ð1 {
status = "okay";
+ phy-handle = <&swphy0>;
+
nvmem-cells = <&macaddr_pridata_400 0>;
nvmem-cell-names = "mac-address";
+ /delete-node/ fixed-link;
gmac-config {
device = <&gmac>;
switch-phy-swap = <0>;
ð1 {
status = "okay";
+ phy-handle = <&swphy0>;
+
nvmem-cells = <&macaddr_pridata_400 0>;
nvmem-cell-names = "mac-address";
+ /delete-node/ fixed-link;
gmac-config {
device = <&gmac>;
switch-phy-swap = <0>;
};
ð1 {
+ phy-handle = <&swphy0>;
+
nvmem-cells = <&macaddr_pridata_400 0>;
nvmem-cell-names = "mac-address";
+
+ /delete-node/ fixed-link;
};
&wmac {