[U-Boot] [PATCH 0/6] mips: mscc: Add multi-dtb support to luton+ocelot

Lars Povlsen lars.povlsen at microchip.com
Wed Dec 19 12:42:27 UTC 2018


This patch series add support for using multi-dtb on the MSCC luton
and ocelot SOC reference boards. The appropriate board will be
determined during startup, and the right DT will be selected.

The patch is based off u-boot-mips repo.

Lars Povlsen (6):
  mips: luton+ocelot: Remove board-specific config options
  mips: mscc: Add generic PHY MIIM utility functions
  mips: mscc: Add generic GPIO control utility function
  mips: luton: DT: Add pcb090
  mips: luton: Add multi-dtb support
  mips: ocelot: Add multi-dtb support

 arch/mips/dts/Makefile                        |  2 +
 arch/mips/dts/luton_pcb090.dts                | 36 +++++++++
 arch/mips/mach-mscc/Kconfig                   | 38 +++-------
 arch/mips/mach-mscc/Makefile                  |  2 +-
 arch/mips/mach-mscc/gpio.c                    | 33 +++++++++
 arch/mips/mach-mscc/include/mach/common.h     | 22 ++++++
 .../include/mach/luton/luton_devcpu_gcb.h     |  4 +
 .../mach/luton/luton_devcpu_gcb_miim_regs.h   | 26 +++++++
 .../include/mach/ocelot/ocelot_devcpu_gcb.h   |  2 +
 .../mach/ocelot/ocelot_devcpu_gcb_miim_regs.h | 25 +++++++
 arch/mips/mach-mscc/phy.c                     | 73 +++++++++++++++++++
 board/mscc/luton/luton.c                      | 46 +++++++++++-
 board/mscc/ocelot/ocelot.c                    | 52 +++++++++++--
 configs/mscc_luton_defconfig                  |  7 +-
 configs/mscc_ocelot_defconfig                 |  7 +-
 configs/mscc_ocelot_pcb120_defconfig          | 60 ---------------
 include/configs/vcoreiii.h                    |  2 +
 17 files changed, 333 insertions(+), 104 deletions(-)
 create mode 100644 arch/mips/dts/luton_pcb090.dts
 create mode 100644 arch/mips/mach-mscc/gpio.c
 create mode 100644 arch/mips/mach-mscc/include/mach/luton/luton_devcpu_gcb_miim_regs.h
 create mode 100644 arch/mips/mach-mscc/include/mach/ocelot/ocelot_devcpu_gcb_miim_regs.h
 create mode 100644 arch/mips/mach-mscc/phy.c
 delete mode 100644 configs/mscc_ocelot_pcb120_defconfig

-- 
2.19.2



More information about the U-Boot mailing list