bmips: add new target
authorÁlvaro Fernández Rojas <noltari@gmail.com>
Sun, 21 Feb 2021 09:00:18 +0000 (10:00 +0100)
committerÁlvaro Fernández Rojas <noltari@gmail.com>
Mon, 22 Feb 2021 17:29:44 +0000 (18:29 +0100)
commit029093a302c9a66b74bec46285a179abd122a40a
tree505f9d21adf4f5d9acb51e7618f72cdbbc2d2ef9
parentc27532742d8cae7b9c1a8c2fbfe5157e65a20877
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>
80 files changed:
target/linux/bmips/Makefile [new file with mode: 0644]
target/linux/bmips/base-files/etc/board.d/01_leds [new file with mode: 0755]
target/linux/bmips/base-files/etc/uci-defaults/09_fix_crc [new file with mode: 0644]
target/linux/bmips/base-files/lib/upgrade/platform.sh [new file with mode: 0644]
target/linux/bmips/config-5.10 [new file with mode: 0644]
target/linux/bmips/dts/bcm63168-comtrend-vr-3032u.dts [new file with mode: 0644]
target/linux/bmips/dts/bcm6318-comtrend-ar-5315u.dts [new file with mode: 0644]
target/linux/bmips/dts/bcm6318.dtsi [new file with mode: 0644]
target/linux/bmips/dts/bcm63268.dtsi [new file with mode: 0644]
target/linux/bmips/dts/bcm6328-comtrend-ar-5387un.dts [new file with mode: 0644]
target/linux/bmips/dts/bcm6328.dtsi [new file with mode: 0644]
target/linux/bmips/dts/bcm6358-huawei-hg556a-b.dts [new file with mode: 0644]
target/linux/bmips/dts/bcm6358.dtsi [new file with mode: 0644]
target/linux/bmips/dts/bcm6362-netgear-dgnd3700-v2.dts [new file with mode: 0644]
target/linux/bmips/dts/bcm6362.dtsi [new file with mode: 0644]
target/linux/bmips/dts/bcm6368-comtrend-vr-3025u.dts [new file with mode: 0644]
target/linux/bmips/dts/bcm6368.dtsi [new file with mode: 0644]
target/linux/bmips/files/include/dt-bindings/interrupt-controller/bcm6318-interrupt-controller.h [new file with mode: 0644]
target/linux/bmips/files/include/dt-bindings/interrupt-controller/bcm63268-interrupt-controller.h [new file with mode: 0644]
target/linux/bmips/files/include/dt-bindings/interrupt-controller/bcm6328-interrupt-controller.h [new file with mode: 0644]
target/linux/bmips/files/include/dt-bindings/interrupt-controller/bcm6358-interrupt-controller.h [new file with mode: 0644]
target/linux/bmips/files/include/dt-bindings/interrupt-controller/bcm6362-interrupt-controller.h [new file with mode: 0644]
target/linux/bmips/files/include/dt-bindings/interrupt-controller/bcm6368-interrupt-controller.h [new file with mode: 0644]
target/linux/bmips/generic/config-default [new file with mode: 0644]
target/linux/bmips/generic/target.mk [new file with mode: 0644]
target/linux/bmips/image/Makefile [new file with mode: 0644]
target/linux/bmips/image/bcm63xx_generic.mk [new file with mode: 0644]
target/linux/bmips/image/bcm63xx_nand.mk [new file with mode: 0644]
target/linux/bmips/image/lzma-loader/Makefile [new file with mode: 0644]
target/linux/bmips/image/lzma-loader/src/LzmaDecode.c [new file with mode: 0644]
target/linux/bmips/image/lzma-loader/src/LzmaDecode.h [new file with mode: 0644]
target/linux/bmips/image/lzma-loader/src/LzmaTypes.h [new file with mode: 0644]
target/linux/bmips/image/lzma-loader/src/Makefile [new file with mode: 0644]
target/linux/bmips/image/lzma-loader/src/board.c [new file with mode: 0644]
target/linux/bmips/image/lzma-loader/src/cache.c [new file with mode: 0644]
target/linux/bmips/image/lzma-loader/src/cache.h [new file with mode: 0644]
target/linux/bmips/image/lzma-loader/src/cacheops.h [new file with mode: 0644]
target/linux/bmips/image/lzma-loader/src/config.h [new file with mode: 0644]
target/linux/bmips/image/lzma-loader/src/cp0regdef.h [new file with mode: 0644]
target/linux/bmips/image/lzma-loader/src/head.S [new file with mode: 0644]
target/linux/bmips/image/lzma-loader/src/loader.c [new file with mode: 0644]
target/linux/bmips/image/lzma-loader/src/loader.lds [new file with mode: 0644]
target/linux/bmips/image/lzma-loader/src/loader2.lds [new file with mode: 0644]
target/linux/bmips/image/lzma-loader/src/lzma-data.lds [new file with mode: 0644]
target/linux/bmips/image/lzma-loader/src/printf.c [new file with mode: 0644]
target/linux/bmips/image/lzma-loader/src/printf.h [new file with mode: 0644]
target/linux/bmips/nand/config-default [new file with mode: 0644]
target/linux/bmips/nand/target.mk [new file with mode: 0644]
target/linux/bmips/patches-5.10/001-v5.12-mips-bmips-select-ARCH_HAS_RESET_CONTROLLER.patch [new file with mode: 0644]
target/linux/bmips/patches-5.10/002-v5.12-dt-bindings-reset-add-BCM6345-reset-controller-bindi.patch [new file with mode: 0644]
target/linux/bmips/patches-5.10/003-v5.12-reset-add-BCM6345-reset-controller-driver.patch [new file with mode: 0644]
target/linux/bmips/patches-5.10/004-v5.12-mips-bmips-dts-add-BCM6328-reset-controller-support.patch [new file with mode: 0644]
target/linux/bmips/patches-5.10/005-v5.12-mips-bmips-dts-add-BCM6358-reset-controller-support.patch [new file with mode: 0644]
target/linux/bmips/patches-5.10/006-v5.12-mips-bmips-dts-add-BCM6362-reset-controller-support.patch [new file with mode: 0644]
target/linux/bmips/patches-5.10/007-v5.12-mips-bmips-dts-add-BCM6368-reset-controller-support.patch [new file with mode: 0644]
target/linux/bmips/patches-5.10/008-v5.12-mips-bmips-dts-add-BCM63268-reset-controller-support.patch [new file with mode: 0644]
target/linux/bmips/patches-5.10/009-v5.12-mips-bmips-add-BCM6318-reset-controller-definitions.patch [new file with mode: 0644]
target/linux/bmips/patches-5.10/100-irqchip-add-support-for-bcm6345-style-external-inter.patch [new file with mode: 0644]
target/linux/bmips/patches-5.10/200-mips-bmips-init-clocks-earlier.patch [new file with mode: 0644]
target/linux/bmips/patches-5.10/201-serial-bcm63xx-init-uart-earlier.patch [new file with mode: 0644]
target/linux/bmips/patches-5.10/202-irqchip-bcm6345-l1-intc-fix-smp.patch [new file with mode: 0644]
target/linux/bmips/patches-5.10/203-nand-brcmnand-fix-OOB-R-W-with-Hamming-ECC.patch [new file with mode: 0644]
target/linux/bmips/patches-5.10/204-wdt-bcm7038-add-big-endian-compatibility.patch [new file with mode: 0644]
target/linux/bmips/patches-5.10/205-spi-bcm63xx-spi-disable-auto_runtime_pm.patch [new file with mode: 0644]
target/linux/bmips/patches-5.10/206-spi-bcm63xx-hsspi-disable-auto_runtime_pm.patch [new file with mode: 0644]
target/linux/bmips/patches-5.10/300-usb-host-generic-ehci-ignore-oc-device-tree.patch [new file with mode: 0644]
target/linux/bmips/patches-5.10/400-pinctrl-add-bcm63xx-base-code.patch [new file with mode: 0644]
target/linux/bmips/patches-5.10/401-Documentation-add-BCM6328-pincontroller-binding-docu.patch [new file with mode: 0644]
target/linux/bmips/patches-5.10/402-pinctrl-add-a-pincontrol-driver-for-BCM6328.patch [new file with mode: 0644]
target/linux/bmips/patches-5.10/403-Documentation-add-BCM6358-pincontroller-binding-docu.patch [new file with mode: 0644]
target/linux/bmips/patches-5.10/404-pinctrl-add-a-pincontrol-driver-for-BCM6358.patch [new file with mode: 0644]
target/linux/bmips/patches-5.10/405-Documentation-add-BCM6362-pincontroller-binding-docu.patch [new file with mode: 0644]
target/linux/bmips/patches-5.10/406-pinctrl-add-a-pincontrol-driver-for-BCM6362.patch [new file with mode: 0644]
target/linux/bmips/patches-5.10/407-Documentation-add-BCM6368-pincontroller-binding-docu.patch [new file with mode: 0644]
target/linux/bmips/patches-5.10/408-pinctrl-add-a-pincontrol-driver-for-BCM6368.patch [new file with mode: 0644]
target/linux/bmips/patches-5.10/409-Documentation-add-BCM63268-pincontroller-binding-doc.patch [new file with mode: 0644]
target/linux/bmips/patches-5.10/410-pinctrl-add-a-pincontrol-driver-for-BCM63268.patch [new file with mode: 0644]
target/linux/bmips/patches-5.10/411-Documentation-add-BCM6318-pincontroller-binding-docu.patch [new file with mode: 0644]
target/linux/bmips/patches-5.10/412-pinctrl-add-a-pincontrol-driver-for-BCM6318.patch [new file with mode: 0644]
target/linux/bmips/profiles/default.mk [new file with mode: 0644]