mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 23:42:43 +00:00
5a0a969e41
The relationship between GMAC0 and GMAC1 and the kernel devices eth0 and eth1 was reversed for many ath79 devices by commit8dde11d521
ath79: dts: drop "simple-mfd" for gmacs in SoC dtsi The GL-AR300M-Lite is a single-port device, with the "LAN" port of the GL-AR300M board unpopulated and its sole port now referenced as eth1, as a result of commit8dde11d521
. The device was unreachable on first boot or fresh config. By changing ð1 (GMAC1) to an MFD, GMAC0 is able to associate with the phy and is known by the kernel as "eth0". Thanks to Chuanhong Guo for the suggestion of "simple-mfd" Signed-off-by: Jeff Kletsky <git-commits@allycomm.com> (cherry picked from commit b90ea19860853dd538e704e3e4402686c316e43c)
26 lines
395 B
Plaintext
26 lines
395 B
Plaintext
/dts-v1/;
|
|
|
|
#include "qca9531_glinet_gl-ar300m-nor.dts"
|
|
|
|
/ {
|
|
compatible = "glinet,gl-ar300m-lite", "qca,qca9531";
|
|
model = "GL.iNet GL-AR300M-Lite";
|
|
};
|
|
|
|
// "Disable" unpopulated GMAC1
|
|
|
|
ð1 {
|
|
compatible = "syscon", "simple-mfd";
|
|
};
|
|
|
|
&led_status {
|
|
label = "gl-ar300m-lite:red:status";
|
|
};
|
|
|
|
&led_lan {
|
|
label = "gl-ar300m-lite:green:lan";
|
|
};
|
|
|
|
&led_wlan {
|
|
label = "gl-ar300m-lite:green:wlan";
|
|
}; |