From 47381aadd545bf1fb92159fac5c43e92749a10fe Mon Sep 17 00:00:00 2001 From: Deng Qingfang Date: Fri, 14 Dec 2018 18:15:52 +0800 Subject: ramips: several fixes for HC5x61 - Mark other partitions as read-only for HC5x61 - Only enable USB and PCIe for HC5761/HC5861 HC5661 doesn't have a USB port, and there is nothing attached to its PCIe. - Fix HC5761 switch ports HC5761 has only 3 ethernet ports (1x WAN + 2x LAN). Remove unused ports. - Fix HC5861 5GHz radio HC5861 has MT7612EN 5GHz WiFi chip, not MT7610EN. - Fix HC5761/HC5861 WiFi LEDs After 5GHz is enabled, it becomes wlan0. And 2.4GHz would be wlan1. - Fix HC5x61 image size It should be 15872k (0xf80000) Signed-off-by: Deng Qingfang --- target/linux/ramips/dts/HC5861.dts | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'target/linux/ramips/dts/HC5861.dts') diff --git a/target/linux/ramips/dts/HC5861.dts b/target/linux/ramips/dts/HC5861.dts index f157991d91..519996486c 100644 --- a/target/linux/ramips/dts/HC5861.dts +++ b/target/linux/ramips/dts/HC5861.dts @@ -60,6 +60,14 @@ }; }; +&ehci { + status = "okay"; +}; + +&ohci { + status = "okay"; +}; + ðernet { status = "okay"; mtd-mac-address = <&factory 0x4>; @@ -98,6 +106,10 @@ mediatek,port4 = "gmac"; }; +&pcie { + status = "okay"; +}; + &pcie0 { mt76@0,0 { reg = <0x0000 0 0 0 0>; -- cgit v1.2.3