diff options
author | Jeff Kletsky <git-commits@allycomm.com> | 2019-09-28 10:39:58 -0700 |
---|---|---|
committer | Christian Lamparter <chunkeey@gmail.com> | 2019-09-29 00:46:14 +0200 |
commit | eba0db95b510112eea668fa18227af94169af4f0 (patch) | |
tree | 23a830216805dd85e0b38a926f5eec34097ebfbf /target/linux/ath79 | |
parent | 474b69475d8d3241330096589c09a1422c9587ec (diff) | |
download | upstream-eba0db95b510112eea668fa18227af94169af4f0.tar.gz upstream-eba0db95b510112eea668fa18227af94169af4f0.tar.bz2 upstream-eba0db95b510112eea668fa18227af94169af4f0.zip |
ath79: Restore GL.iNet GL-AR300M-Lite first-boot connectivity
The relationship between GMAC0 and GMAC1 and the kernel devices
eth0 and eth1 was reversed for many ath79 devices by commit 8dde11d521
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 commit 8dde11d521. 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>
Diffstat (limited to 'target/linux/ath79')
-rw-r--r-- | target/linux/ath79/dts/qca9531_glinet_gl-ar300m-lite.dts | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/target/linux/ath79/dts/qca9531_glinet_gl-ar300m-lite.dts b/target/linux/ath79/dts/qca9531_glinet_gl-ar300m-lite.dts index fba08e4295..e29af5411d 100644 --- a/target/linux/ath79/dts/qca9531_glinet_gl-ar300m-lite.dts +++ b/target/linux/ath79/dts/qca9531_glinet_gl-ar300m-lite.dts @@ -7,7 +7,11 @@ model = "GL.iNet GL-AR300M-Lite"; }; -// GL-AR300M-Lite has different LED colors than the non-Lite version +// "Disable" unpopulated GMAC1 + +ð1 { + compatible = "syscon", "simple-mfd"; +}; &led_status { label = "gl-ar300m-lite:red:status"; |