]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
ath79: enable link state reporting for eth1 on Qxwlan e750a/e600g/e600gac 9971/head
author张 鹏 <sd20@qxwlan.com>
Mon, 12 Jun 2023 09:21:28 +0000 (17:21 +0800)
committerHauke Mehrtens <hauke@hauke-m.de>
Mon, 25 May 2026 18:24:42 +0000 (20:24 +0200)
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>
target/linux/ath79/dts/ar9344_qxwlan_e750a-v4-16m.dts
target/linux/ath79/dts/ar9344_qxwlan_e750a-v4-8m.dts
target/linux/ath79/dts/qca9531_qxwlan_e600g.dtsi

index 6762264d35828eaf4b1efc95a28574460f6b175c..b259d6733bef6d05268977640d398ed1eca5a723 100644 (file)
 &eth1 {
        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>;
index 999030a9cdd77d119dde687f8da765769ff40d02..197befeaa5e13585360855023381dfa8a67a7596 100644 (file)
 &eth1 {
        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>;
index a376a930467a53b3d93222be5f6b8c099e9ebd64..70aac5c62c30e78d486dc9870df7b972b72c2b4e 100644 (file)
 };
 
 &eth1 {
+       phy-handle = <&swphy0>;
+
        nvmem-cells = <&macaddr_pridata_400 0>;
        nvmem-cell-names = "mac-address";
+
+       /delete-node/ fixed-link;
 };
 
 &wmac {