Álvaro Fernández Rojas
a3b863dc9f
bmips: automatically detect CPU frequency
...
Some BCM63xx SoCs support multiple CPU frequencies depending on HW
configuration.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2021-03-08 09:45:32 +01:00
Álvaro Fernández Rojas
05a2fcc1b3
bmips: switch to upstream brcmnand patch
...
This patch has been accepted upstream for v5.13.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2021-03-02 18:05:32 +01:00
Álvaro Fernández Rojas
584ce6b2a0
bmips: switch to upstream SMP CPU mappings patch
...
The patch has been accepted upstream with some minor modifications.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2021-03-01 17:26:59 +01:00
Álvaro Fernández Rojas
5c223fb43f
bmips: add BCM63268 timer clock and reset support
...
We need this to fix USB support on BCM63268.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2021-02-25 20:40:02 +01:00
Álvaro Fernández Rojas
e2448e5e03
bmips: rewrite pin controllers
...
This is needed in order to upstream them.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2021-02-25 20:40:02 +01:00
Álvaro Fernández Rojas
a0eff5ddff
bmips: add SPI accepted PM patches
...
These patches have been accepted upstream.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2021-02-24 18:20:04 +01:00
Álvaro Fernández Rojas
4dd5845f49
bmips: fix SMP CPU mapping
...
SMP isn't supported on BCM6358 since it has a shared TLB. Some boards boot
with CPU #1 instead of CPU #0 , and this is currently not supported do to a
smp-bmips bug.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2021-02-23 15:25:13 +01:00
Álvaro Fernández Rojas
c015d18cd7
bmips: switch to accepted upstream patch
...
This patch has been accepted and is going to be in linux v5.12.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2021-02-23 15:22:27 +01:00
Álvaro Fernández Rojas
de3066bef7
bmips: rename upstream patches
...
These patches were applied in linux v5.11, not v5.12.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2021-02-23 15:14:41 +01:00
Álvaro Fernández Rojas
f0d5eb149e
bmips: remove unneeded downstream serial patch
...
Disabling CONFIG_SERIAL_8250 makes the upstream serial driver work OOB.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2021-02-23 12:35:52 +01:00
Álvaro Fernández Rojas
09bbf55817
bmips: bcm6358: fix EHCI/OHCI kernel panics
...
ARCH_HAS_SYNC_DMA_FOR_CPU_ALL is causing kernel panics when EHCI or OHCI are
enabled.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2021-02-23 10:52:06 +01:00
Álvaro Fernández Rojas
117b833d61
bmips: add JFFS2 unaligned access patch
...
This patch is also needed on bmips if SMP is enabled.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2021-02-22 21:37:56 +01:00
Álvaro Fernández Rojas
626add3394
bmips: bcm6368: fix bcm2835-rng
...
IPSEC needs a reset before using its HW RNG.
Otherwise, the numbers generated won't be random at all.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2021-02-22 21:37:56 +01:00
Álvaro Fernández Rojas
029093a302
bmips: add new target
...
This target has full device tree support, thus reducing the number of
patches needed for bcm63xx, in which there's a patch for every board.
The intention is to start with a minimal amount of downstream patches and
start upstreaming all of them.
Current status:
- Enabling EHCI/OHCI on BCM6358 causes a kernel panic.
- BCM63268 lacks Timer Clocks/Reset support.
- No PCI/PCIe drivers.
- No ethernet drivers.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Acked-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2021-02-22 18:29:44 +01:00