This series add support for the RK3566 based Xunlong Orange Pi 3B board.

rk_board_late_init() and board_fit_config_name_match() has been
implemented to set fdtfile env var and load correct FIT config based
on what hw revision is detected at runtime.

It is not possible to build DTs from both arch/arm/dts and dts/upstream
at the same time with OF_UPSTREAM=y, instead minimal DTs that include DT
from dts/upstream is used for this board to work around such issue.

Features tested on Orange Pi 3B 4GB (v1.1.1 and v2.1):
- SD-card boot
- eMMC boot
- SPI Flash boot
- Ethernet
- PCIe/NVMe
- USB host

This series depends on the following patches for a clean apply:
- board: rockchip: add Radxa ROCK 3 Model C [1]
- board: rockchip: Add Radxa ZERO 3W/3E [2]

[1] https://patchwork.ozlabs.org/patch/1963177/
[2] https://patchwork.ozlabs.org/patch/1966895/

Jonas Karlman (1):
  arm64: dts: rockchip: Add Xunlong Orange Pi 3B

Ricardo Pardini (1):
  board: rockchip: Add Xunlong Orange Pi 3B

 arch/arm/dts/rk3566-orangepi-3b-u-boot.dtsi   |  14 +
 .../dts/rk3566-orangepi-3b-v1.1-u-boot.dtsi   |   3 +
 arch/arm/dts/rk3566-orangepi-3b-v1.1.dts      |   3 +
 .../dts/rk3566-orangepi-3b-v2.1-u-boot.dtsi   |   3 +
 arch/arm/dts/rk3566-orangepi-3b-v2.1.dts      |   3 +
 arch/arm/dts/rk3566-orangepi-3b.dts           |   5 +
 arch/arm/mach-rockchip/rk3568/Kconfig         |   6 +
 board/xunlong/orangepi-3b-rk3566/Kconfig      |  12 +
 board/xunlong/orangepi-3b-rk3566/MAINTAINERS  |   6 +
 board/xunlong/orangepi-3b-rk3566/Makefile     |   3 +
 .../orangepi-3b-rk3566/orangepi-3b-rk3566.c   |  77 ++
 configs/orangepi-3b-rk3566_defconfig          |  98 +++
 doc/board/rockchip/rockchip.rst               |   1 +
 .../rockchip/rk3566-orangepi-3b-v1.1.dts      |  29 +
 .../rockchip/rk3566-orangepi-3b-v2.1.dts      |  70 ++
 .../arm64/rockchip/rk3566-orangepi-3b.dtsi    | 678 ++++++++++++++++++
 16 files changed, 1011 insertions(+)
 create mode 100644 arch/arm/dts/rk3566-orangepi-3b-u-boot.dtsi
 create mode 100644 arch/arm/dts/rk3566-orangepi-3b-v1.1-u-boot.dtsi
 create mode 100644 arch/arm/dts/rk3566-orangepi-3b-v1.1.dts
 create mode 100644 arch/arm/dts/rk3566-orangepi-3b-v2.1-u-boot.dtsi
 create mode 100644 arch/arm/dts/rk3566-orangepi-3b-v2.1.dts
 create mode 100644 arch/arm/dts/rk3566-orangepi-3b.dts
 create mode 100644 board/xunlong/orangepi-3b-rk3566/Kconfig
 create mode 100644 board/xunlong/orangepi-3b-rk3566/MAINTAINERS
 create mode 100644 board/xunlong/orangepi-3b-rk3566/Makefile
 create mode 100644 board/xunlong/orangepi-3b-rk3566/orangepi-3b-rk3566.c
 create mode 100644 configs/orangepi-3b-rk3566_defconfig
 create mode 100644 dts/upstream/src/arm64/rockchip/rk3566-orangepi-3b-v1.1.dts
 create mode 100644 dts/upstream/src/arm64/rockchip/rk3566-orangepi-3b-v2.1.dts
 create mode 100644 dts/upstream/src/arm64/rockchip/rk3566-orangepi-3b.dtsi

-- 
2.45.2

Reply via email to