diff options
author | Roger Pueyo Centelles <roger.pueyo@guifi.net> | 2020-08-28 13:51:48 +0200 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-08-31 17:41:21 +0200 |
commit | 781d4bfb397cdd12ee0151eb66c577f470e3377d (patch) | |
tree | 2740394ce661756a15c8c89cead9496b0a9df706 /target/linux/ath79/dts | |
parent | 0348a02c7cda8206ed865b8218adfe40f2a5c0a2 (diff) | |
download | upstream-781d4bfb397cdd12ee0151eb66c577f470e3377d.tar.gz upstream-781d4bfb397cdd12ee0151eb66c577f470e3377d.tar.bz2 upstream-781d4bfb397cdd12ee0151eb66c577f470e3377d.zip |
ath79: mikrotik: fix network setup for lhg-hb platform
This network setup for MikroTik devices based on the LHG-HB platform
avoids using the integrated switch and connects the single Ethernet
port directly. This way, link speed (10/100 Mbps) is properly repor-
ted by eth0.
Fixes: FS#3309
Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>
Diffstat (limited to 'target/linux/ath79/dts')
-rw-r--r-- | target/linux/ath79/dts/qca9533_mikrotik_routerboard-lhg-hb.dtsi | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/target/linux/ath79/dts/qca9533_mikrotik_routerboard-lhg-hb.dtsi b/target/linux/ath79/dts/qca9533_mikrotik_routerboard-lhg-hb.dtsi index 86249398c9..f54e757c62 100644 --- a/target/linux/ath79/dts/qca9533_mikrotik_routerboard-lhg-hb.dtsi +++ b/target/linux/ath79/dts/qca9533_mikrotik_routerboard-lhg-hb.dtsi @@ -67,12 +67,21 @@ }; }; -ð1 { +ð0 { + status = "okay"; + + phy-handle = <&swphy0>; + gmac-config { device = <&gmac>; + switch-phy-swap = <1>; }; }; +ð1 { + compatible = "syscon", "simple-mfd"; +}; + &pinmux { led_wan_pin: pinmux_led_wan_pin { pinctrl-single,bits = <0x4 0x0 0xff>; |