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

Lars Povlsen lars.povlsen at microchip.com
Thu Dec 20 08:56:01 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.

v1 => v2 changes:
 - squashed first and two last patches for bisectability

Lars Povlsen (4):
  mips: mscc: Add generic PHY MIIM utility functions
  mips: mscc: Add generic GPIO control utility function
  mips: luton: DT: Add pcb090
  mips: mscc: luton+ocelot: Remove board config options, do probing

 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