1
1
openwrt/target/linux/ath79/dts/ar9344_qxwlan_e750a-v4-8m.dts
张 鹏 ebacb59a30 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>
2026-05-25 20:24:42 +02:00

58 lines
959 B
Plaintext

// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
#include <dt-bindings/leds/common.h>
#include "ar9344_qxwlan_e750x.dtsi"
/ {
model = "Qxwlan E750A v4 8M";
compatible = "qxwlan,e750a-v4-8m", "qca,ar9344";
};
&leds {
lan {
function = LED_FUNCTION_LAN;
color = <LED_COLOR_ID_GREEN>;
gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
};
wan {
function = LED_FUNCTION_WAN;
color = <LED_COLOR_ID_GREEN>;
gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
};
};
&eth0 {
status = "okay";
phy-handle = <&swphy4>;
nvmem-cells = <&macaddr_pridata_400 1>;
nvmem-cell-names = "mac-address";
};
&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>;
switch-only-mode = <1>;
};
};
&partitions {
partition@70000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x070000 0x790000>;
};
};