ramips: fix GB-PC1 and GB-PC2 device support
authorArınç ÜNAL <arinc.unal@arinc9.com>
Tue, 5 Jul 2022 14:10:43 +0000 (17:10 +0300)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 20 Aug 2022 20:56:12 +0000 (22:56 +0200)
commit4807bd6a00bcf44dd821047db76a2a799f403cd4
treea734ff4908f4ecda5dff555a6e0352bb61f13321
parent9fbb76c0470fd54f1f34909b1098d0f76078878f
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>
target/linux/ramips/dts/mt7621_gnubee_gb-pc1.dts
target/linux/ramips/dts/mt7621_gnubee_gb-pc2.dts
target/linux/ramips/image/mt7621.mk
target/linux/ramips/mt7621/base-files/etc/board.d/01_leds
target/linux/ramips/mt7621/base-files/etc/board.d/02_network
target/linux/ramips/mt7621/config-5.10
target/linux/ramips/mt7621/config-5.15