[PATCH 0/3] Add Broadcom Northstar basic support

Linus Walleij linus.walleij at linaro.org
Thu Feb 2 00:37:42 CET 2023


This adds the device trees and minimal code needed to run
U-Boot on Broadcom Northstar SoCs.

This is needed to properly boot the D-Link DIR-890L router
as it refuse to directly boot compressed kernels bigger
than 2MB, and well our compressed kernel is bigger than
2MB so let's put in U-Boot.

While it is a bit tailored to this usecase (it can probably
also be used with the DIR-885L without modifications) it
forms a base that can be used to support more Northstar
boards.

I have this working with DIR-890L and OpenWrt:
https://dflund.se/~triad/krad/dlink-dir-890l/


Linus Walleij (3):
  arm: dts: Import device tree for Broadcom Northstar
  arm: Add support for the Broadcom Northstar SoCs
  board: Add new Broadcom Northstar board

 arch/arm/Kconfig                    |  22 +-
 arch/arm/dts/Makefile               |   2 +
 arch/arm/dts/bcm5301x.dtsi          | 581 ++++++++++++++++++++++++++++
 arch/arm/dts/ns-board.dts           |  57 +++
 board/broadcom/bcmns/Kconfig        |  12 +
 board/broadcom/bcmns/MAINTAINERS    |   6 +
 board/broadcom/bcmns/Makefile       |   2 +
 board/broadcom/bcmns/ns.c           |  60 +++
 configs/bcmns_defconfig             |  41 ++
 include/configs/bcmns.h             |  49 +++
 include/dt-bindings/clock/bcm-nsp.h |  51 +++
 11 files changed, 882 insertions(+), 1 deletion(-)
 create mode 100644 arch/arm/dts/bcm5301x.dtsi
 create mode 100644 arch/arm/dts/ns-board.dts
 create mode 100644 board/broadcom/bcmns/Kconfig
 create mode 100644 board/broadcom/bcmns/MAINTAINERS
 create mode 100644 board/broadcom/bcmns/Makefile
 create mode 100644 board/broadcom/bcmns/ns.c
 create mode 100644 configs/bcmns_defconfig
 create mode 100644 include/configs/bcmns.h
 create mode 100644 include/dt-bindings/clock/bcm-nsp.h

-- 
2.39.1



More information about the U-Boot mailing list