[PATCH 1/2] bcm63xx: kernel: fix up bcm63268 roboswitch gpio registers

2022-12-19 Thread Daniel González Cabanelas
Some BCM63268 bootloaders may leave gpio registers, related to the roboswitch, disabled before loading the OpenWrt firmware. As result of this the switch won't work. These registers, if not enabled, probably avoid forwarding packets. Fix it. Signed-off-by: Daniel González Cabanelas --- ...IPS-

[PATCH 2/2] bcm63xx: kernel: power cycle the bcm6358 USB PLL

2022-12-19 Thread Daniel González Cabanelas
Some BCM6358 based boards may detect USB2.0 high speed devices as USB1.1 full speed. This is an old well known bug, but nobody cared about it. It is quite random and hard to track. With the latest versions of Openwrt, one user confirmed that the bug is still there (tested router: HG556a). Power c