forked from Ivasoft/openwrt
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>
(cherry picked from commit 4807bd6a00)
This commit is contained in:
committed by
Hauke Mehrtens
parent
0197cc553a
commit
d1f14d17aa
@@ -52,8 +52,8 @@ dlink,dir-882-r1)
|
||||
;;
|
||||
gnubee,gb-pc1|\
|
||||
gnubee,gb-pc2)
|
||||
ucidef_set_led_netdev "lan1" "lan1" "green:lan1" "lan1"
|
||||
ucidef_set_led_netdev "lan2" "lan2" "green:lan2" "lan2"
|
||||
ucidef_set_led_netdev "ethblack_act" "ethblack act" "green:ethblack_act" "ethblack" "tx rx"
|
||||
ucidef_set_led_netdev "ethblue_act" "ethblue act" "green:ethblue_act" "ethblue" "tx rx"
|
||||
;;
|
||||
linksys,e5600)
|
||||
ucidef_set_led_netdev "wan" "wan link" "blue:wan" "wan" "link"
|
||||
|
||||
@@ -63,9 +63,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)
|
||||
|
||||
Reference in New Issue
Block a user