diff options
author | Arınç ÜNAL <arinc.unal@arinc9.com> | 2022-07-05 17:10:43 +0300 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2022-08-20 22:56:12 +0200 |
commit | 4807bd6a00bcf44dd821047db76a2a799f403cd4 (patch) | |
tree | a734ff4908f4ecda5dff555a6e0352bb61f13321 /target/linux/ramips/mt7621/base-files/etc/board.d/02_network | |
parent | 9fbb76c0470fd54f1f34909b1098d0f76078878f (diff) | |
download | upstream-4807bd6a00bcf44dd821047db76a2a799f403cd4.tar.gz upstream-4807bd6a00bcf44dd821047db76a2a799f403cd4.tar.bz2 upstream-4807bd6a00bcf44dd821047db76a2a799f403cd4.zip |
ramips: fix GB-PC1 and GB-PC2 device support
Change switch port labels to ethblack & ethblue.
Change lan1 & lan2 LEDs to ethblack_act & ethblue_act and fix GPIO pins.
Add the external phy with ethyellow label on the GB-PC2 devicetree.
Do not claim rgmii2 as gpio, it's used for ethernet with rgmii2 function.
Enable ICPlus PHY driver for IP1001 which GB-PC2 has got.
Update interface name and change netdev function.
Enable lzma compression to make up for the increased size of the kernel.
Make spi flash bindings on par with mainline Linux to fix read errors.
Tested on GB-PC2 by Petr.
Tested-by: Petr Louda <petr.louda@outlook.cz>
Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
Diffstat (limited to 'target/linux/ramips/mt7621/base-files/etc/board.d/02_network')
-rw-r--r-- | target/linux/ramips/mt7621/base-files/etc/board.d/02_network | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/target/linux/ramips/mt7621/base-files/etc/board.d/02_network b/target/linux/ramips/mt7621/base-files/etc/board.d/02_network index af493789ba..1fa6182c4d 100644 --- a/target/linux/ramips/mt7621/base-files/etc/board.d/02_network +++ b/target/linux/ramips/mt7621/base-files/etc/board.d/02_network @@ -71,9 +71,11 @@ ramips_setup_interfaces() uci add_list firewall.@zone[1].network='eth_data' uci add_list firewall.@zone[1].network='eth_om' ;; - gnubee,gb-pc1|\ + gnubee,gb-pc1) + ucidef_set_interface_lan "ethblack ethblue" + ;; gnubee,gb-pc2) - ucidef_set_interface_lan "lan1 lan2" + ucidef_set_interface_lan "ethblack ethblue ethyellow" ;; linksys,re6500|\ netgear,wac104|\ |