ath79: enable link state reporting for eth1 on Qxwlan e750a/e600g/e600gac
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>
This commit is contained in:
parent
17203d6752
commit
ebacb59a30
@ -35,9 +35,12 @@
|
|||||||
ð1 {
|
ð1 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
|
phy-handle = <&swphy0>;
|
||||||
|
|
||||||
nvmem-cells = <&macaddr_pridata_400 0>;
|
nvmem-cells = <&macaddr_pridata_400 0>;
|
||||||
nvmem-cell-names = "mac-address";
|
nvmem-cell-names = "mac-address";
|
||||||
|
|
||||||
|
/delete-node/ fixed-link;
|
||||||
gmac-config {
|
gmac-config {
|
||||||
device = <&gmac>;
|
device = <&gmac>;
|
||||||
switch-phy-swap = <0>;
|
switch-phy-swap = <0>;
|
||||||
|
|||||||
@ -35,9 +35,12 @@
|
|||||||
ð1 {
|
ð1 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
|
phy-handle = <&swphy0>;
|
||||||
|
|
||||||
nvmem-cells = <&macaddr_pridata_400 0>;
|
nvmem-cells = <&macaddr_pridata_400 0>;
|
||||||
nvmem-cell-names = "mac-address";
|
nvmem-cell-names = "mac-address";
|
||||||
|
|
||||||
|
/delete-node/ fixed-link;
|
||||||
gmac-config {
|
gmac-config {
|
||||||
device = <&gmac>;
|
device = <&gmac>;
|
||||||
switch-phy-swap = <0>;
|
switch-phy-swap = <0>;
|
||||||
|
|||||||
@ -136,8 +136,12 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
ð1 {
|
ð1 {
|
||||||
|
phy-handle = <&swphy0>;
|
||||||
|
|
||||||
nvmem-cells = <&macaddr_pridata_400 0>;
|
nvmem-cells = <&macaddr_pridata_400 0>;
|
||||||
nvmem-cell-names = "mac-address";
|
nvmem-cell-names = "mac-address";
|
||||||
|
|
||||||
|
/delete-node/ fixed-link;
|
||||||
};
|
};
|
||||||
|
|
||||||
&wmac {
|
&wmac {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user