ramips: fix GB-PC1 and GB-PC2 device support
authorArınç ÜNAL <arinc.unal@arinc9.com>
Wed, 14 Sep 2022 18:31:40 +0000 (21:31 +0300)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 27 Nov 2022 15:27:37 +0000 (16:27 +0100)
commitd604032c2a50fc6228bcaae78baee1048ff9af16
treebd7eddf205be941c853509ee8b31ed874301675a
parentc58384be89a3f6666fdb206fa2c161b69630246f
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 4807bd6a00bcf44dd821047db76a2a799f403cd4)
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.4