[U-Boot] [PATCH v1 00/14] Initial Microchip PIC32MZ[DA] Support

Purna Chandra Mandal purna.mandal at microchip.com
Thu Dec 17 16:24:08 CET 2015


This patch series adds support for Microchip PIC32MZ[DA] MIPS micro-controller platform.
All drivers required to boot from MMC micro-SD card and network are included in it; pinctrl,
clock, serial, SDHCI, gpio, Ethernet. This series been tested on PIC32MZ[DA] Starter Kit.

A tree with these changes are available at [0].

[0] https://github.com/purna-mandal/u-boot/tree/pic32-upstream-v1


Cristian Birsan (1):
  MIPS: pic32: Add driver for Microchip PIC32 internal flash controller.

Purna Chandra Mandal (11):
  drivers: clk: Add clock driver for Microchip PIC32 Microcontroller.
  MIPS: Add support for Microchip PIC32MZ[DA] SoC family.
  board: Add Microchip PIC32MZ[DA]-Starter-Kit board.
  board: pic32mzdask: add flash support for environments.
  MIPS: add asm/gpio.h to fix compilation error with CONFIG_CMD_GPIO.
  drivers: gpio: add driver for Microchip PIC32 GPIO controller.
  drivers: net: phy: add SMSC LAN8740 Phy support.
  drivers: net: add Microchip PIC32 ethernet controller driver.
  board: Add gpio and ethernet support to pic32mzdask board.
  board: add SDHCI support for PIC32MZDASK board.
  board: pic32mzdask: Customize U-Boot environments for OS boot.

Sandeep Sheriker Mallikarjun (1):
  drivers: mmc: PIC32MZ[DA] SDHCI workaround when JTAG is not connected.

Sorin-Andrei Pistirica (1):
  drivers: mmc: add driver for Microchip PIC32 SDHCI controller.

 arch/mips/dts/Makefile                   |   2 +-
 arch/mips/dts/pic32mzda.dtsi             | 162 ++++++++
 arch/mips/dts/pic32mzda_sk.dts           |  50 +++
 arch/mips/include/asm/arch-pic32/pic32.h |   3 +
 arch/mips/include/asm/gpio.h             |   1 +
 arch/mips/mach-pic32/Kconfig             |  23 +-
 arch/mips/mach-pic32/Makefile            |   5 +-
 arch/mips/mach-pic32/cpu.c               | 121 +++++-
 arch/mips/mach-pic32/flash.c             | 471 ++++++++++++++++++++++
 arch/mips/mach-pic32/lowlevel_init.S     |  41 ++
 arch/mips/mach-pic32/reset.c             |  22 ++
 board/microchip/pic32mzda/Kconfig        |  13 +
 board/microchip/pic32mzda/MAINTAINERS    |   6 +
 board/microchip/pic32mzda/Makefile       |   7 +
 board/microchip/pic32mzda/README         |  22 ++
 board/microchip/pic32mzda/config.mk      |   4 +
 board/microchip/pic32mzda/ddr.c          | 389 +++++++++++++++++++
 board/microchip/pic32mzda/ddr.h          |  46 +++
 board/microchip/pic32mzda/pic32mzda.c    |  41 ++
 configs/pic32mzdask_defconfig            |  33 ++
 drivers/clk/Makefile                     |   1 +
 drivers/clk/clk-pic32.c                  | 413 ++++++++++++++++++++
 drivers/gpio/Kconfig                     |   7 +
 drivers/gpio/Makefile                    |   2 +-
 drivers/gpio/pic32_gpio.c                | 164 ++++++++
 drivers/mmc/Kconfig                      |   6 +
 drivers/mmc/Makefile                     |   2 +-
 drivers/mmc/pic32_sdhci.c                | 110 ++++++
 drivers/mmc/sdhci.c                      |  12 +
 drivers/net/Kconfig                      |   7 +
 drivers/net/Makefile                     |   1 +
 drivers/net/phy/smsc.c                   |  10 +
 drivers/net/pic32_eth.c                  | 648 +++++++++++++++++++++++++++++++
 drivers/net/pic32_eth.h                  | 184 +++++++++
 drivers/net/pic32_mdio.c                 | 143 +++++++
 include/configs/pic32mzdask.h            | 216 +++++++++++
 include/flash.h                          |   5 +-
 37 files changed, 3386 insertions(+), 7 deletions(-)
 create mode 100644 arch/mips/dts/pic32mzda.dtsi
 create mode 100644 arch/mips/dts/pic32mzda_sk.dts
 create mode 100644 arch/mips/include/asm/gpio.h
 create mode 100644 arch/mips/mach-pic32/flash.c
 create mode 100644 arch/mips/mach-pic32/lowlevel_init.S
 create mode 100644 arch/mips/mach-pic32/reset.c
 create mode 100644 board/microchip/pic32mzda/Kconfig
 create mode 100644 board/microchip/pic32mzda/MAINTAINERS
 create mode 100644 board/microchip/pic32mzda/Makefile
 create mode 100644 board/microchip/pic32mzda/README
 create mode 100644 board/microchip/pic32mzda/config.mk
 create mode 100644 board/microchip/pic32mzda/ddr.c
 create mode 100644 board/microchip/pic32mzda/ddr.h
 create mode 100644 board/microchip/pic32mzda/pic32mzda.c
 create mode 100644 configs/pic32mzdask_defconfig
 create mode 100644 drivers/clk/clk-pic32.c
 create mode 100644 drivers/gpio/pic32_gpio.c
 create mode 100644 drivers/mmc/pic32_sdhci.c
 create mode 100644 drivers/net/pic32_eth.c
 create mode 100644 drivers/net/pic32_eth.h
 create mode 100644 drivers/net/pic32_mdio.c
 create mode 100644 include/configs/pic32mzdask.h

-- 
1.8.3.1



More information about the U-Boot mailing list