forked from mirror/openwrt
ramips: fix Gigabit Ethernet port of the HiWiFi HC5861
HiWiFi HC5861 has a GbE port which connected to the RTL8211E PHY
chip. This patch adds the missing Realtek PHY driver package and
sets the correct external PHYs base address to make it work again.
Signed-off-by: Shiji Yang <yangshiji66@qq.com>
(cherry picked from commit f025135f16)
This commit is contained in:
parent
26164312b4
commit
ed6e13649d
2 changed files with 6 additions and 2 deletions
|
|
@ -70,7 +70,7 @@
|
|||
|
||||
ðernet {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&rgmii1_pins &mdio_pins>;
|
||||
pinctrl-0 = <&mdio_pins>, <&rgmii1_pins>;
|
||||
|
||||
nvmem-cells = <&macaddr_factory_4>;
|
||||
nvmem-cell-names = "mac-address";
|
||||
|
|
@ -93,6 +93,10 @@
|
|||
};
|
||||
};
|
||||
|
||||
&gsw {
|
||||
mediatek,ephy-base = /bits/ 8 <12>;
|
||||
};
|
||||
|
||||
&pcie {
|
||||
status = "okay";
|
||||
};
|
||||
|
|
|
|||
|
|
@ -549,7 +549,7 @@ define Device/hiwifi_hc5861
|
|||
DEVICE_VENDOR := HiWiFi
|
||||
DEVICE_MODEL := HC5861
|
||||
DEVICE_PACKAGES := kmod-mt76x2 kmod-usb2 kmod-usb-ohci kmod-sdhci-mt7620 \
|
||||
kmod-usb-ledtrig-usbport
|
||||
kmod-phy-realtek kmod-usb-ledtrig-usbport
|
||||
SUPPORTED_DEVICES += hc5861
|
||||
endef
|
||||
TARGET_DEVICES += hiwifi_hc5861
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue