diff options
author | Deng Qingfang <dengqf6@mail2.sysu.edu.cn> | 2018-12-14 18:15:52 +0800 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2018-12-15 20:02:07 +0100 |
commit | 47381aadd545bf1fb92159fac5c43e92749a10fe (patch) | |
tree | 88782f819392a615684eb5fb29bf6637d8434d49 /target/linux/ramips/dts/HC5X61.dtsi | |
parent | 10ad6d6e07d3e5c98029df51558200429e23fbbf (diff) | |
download | upstream-47381aadd545bf1fb92159fac5c43e92749a10fe.tar.gz upstream-47381aadd545bf1fb92159fac5c43e92749a10fe.tar.bz2 upstream-47381aadd545bf1fb92159fac5c43e92749a10fe.zip |
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 <dengqf6@mail2.sysu.edu.cn>
Diffstat (limited to 'target/linux/ramips/dts/HC5X61.dtsi')
-rw-r--r-- | target/linux/ramips/dts/HC5X61.dtsi | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/target/linux/ramips/dts/HC5X61.dtsi b/target/linux/ramips/dts/HC5X61.dtsi index 256d94a250..8da05adeef 100644 --- a/target/linux/ramips/dts/HC5X61.dtsi +++ b/target/linux/ramips/dts/HC5X61.dtsi @@ -67,6 +67,7 @@ partition@0 { label = "u-boot"; reg = <0x0 0x30000>; + read-only; }; partition@30000 { @@ -78,6 +79,7 @@ factory: partition@40000 { label = "factory"; reg = <0x40000 0x10000>; + read-only; }; partition@50000 { @@ -89,29 +91,24 @@ partition@fd0000 { label = "hwf_config"; reg = <0xfd0000 0x10000>; + read-only; }; bdinfo: partition@fe0000 { label = "bdinfo"; reg = <0xfe0000 0x10000>; + read-only; }; partition@ff0000 { label = "backup"; reg = <0xff0000 0x10000>; + read-only; }; }; }; }; -&ehci { - status = "okay"; -}; - -&ohci { - status = "okay"; -}; - ðernet { pinctrl-names = "default"; pinctrl-0 = <&ephy_pins>; @@ -129,10 +126,6 @@ pinctrl-0 = <&pa_pins>; }; -&pcie { - status = "okay"; -}; - &pinctrl { state_default: pinctrl0 { gpio { |