Skip to content

Add support for MIPS Creator CI20

Ezequiel Garcia u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6misc: Add JZ47xx efuse driverdrivers/misc/Kconfig drivers/misc/Makefile drivers/misc/jz4780_efuse.c+107 -01 reply
1/6misc: Add JZ47xx efuse driver+0 -01 reply
2/6gpio: Add JZ47xx GPIO driverdrivers/gpio/Kconfig drivers/gpio/Makefile drivers/gpio/gpio-jz47xx.c+86 -00 replies
3/6mmc: Add JZ47xx SD/MMC controller driverdrivers/mmc/Kconfig drivers/mmc/Makefile drivers/mmc/jz_mmc. +1 more+498 -00 replies
4/6mips: Add SPL headerarch/mips/include/asm/spl.h+35 -00 replies
5/6mips: jz47xx: Add JZ4780 SoC supportarch/mips/Kconfig arch/mips/Makefile arch/mips/dts/jz4780.dtsi +12 more+2176 -00 replies
6/6mips: jz47xx: Add Creator CI20 platformarch/mips/dts/Makefile arch/mips/dts/ci20.dts arch/mips/mach-jz47xx/Kconfig +6 more+648 -00 replies

Reviews trailers per patch

None of the 7 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMarek Vasut
SeriesR-b
1/6
1/6
2/6
3/6
4/6
5/6
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [U-Boot] [PATCH 0/6] Add support for MIPS Creator CI20

As the subject says, this series adds support for CI20.

Most of the work was done by Paul Burton, and then by Marek Vasut. I've just rescued the work from the dark wastelands of Mordor, did some cleaning here and there and submitted.

Patches 1, 2, and 4 are completely untouched. I've picked them from Marek's tree.

For the MMC driver (patch 3) there is some cleanup, and some fixes for proper DM migration.

Finally, patches 5 and 6 have been changed a bit: I've cleaned up the devicetree, the board support files and the defconfig.

This is based on top of today's master (7ff485c68b7e) and has been tested by SD-card booting both U-Boot and Linux. Booting Linux via TFTP was also tested.

Please note that I've added Paul's SOB to all the patches he authored, to make the authorship chain more clear.

Reviews and tests are welcome. Bikesheds not so much! ;-)

Thanks!

Paul Burton (6):
misc: Add JZ47xx efuse driver
gpio: Add JZ47xx GPIO driver
mmc: Add JZ47xx SD/MMC controller driver
mips: Add SPL header
mips: jz47xx: Add JZ4780 SoC support
mips: jz47xx: Add Creator CI20 platform

 arch/mips/Kconfig                             |   7 +
 arch/mips/Makefile                            |   1 +
 arch/mips/dts/Makefile                        |   1 +
 arch/mips/dts/ci20.dts                        | 120 ++++
 arch/mips/dts/jz4780.dtsi                     | 162 ++++++
 arch/mips/include/asm/spl.h                   |  35 ++
 arch/mips/mach-jz47xx/Kconfig                 |  26 +
 arch/mips/mach-jz47xx/Makefile                |   7 +
 arch/mips/mach-jz47xx/include/mach/jz4780.h   | 104 ++++
 .../mach-jz47xx/include/mach/jz4780_dram.h    | 457 +++++++++++++++
 arch/mips/mach-jz47xx/jz4780/Makefile         |   5 +
 arch/mips/mach-jz47xx/jz4780/jz4780.c         | 142 +++++
 arch/mips/mach-jz47xx/jz4780/pll.c            | 528 ++++++++++++++++++
 arch/mips/mach-jz47xx/jz4780/sdram.c          | 271 +++++++++
 arch/mips/mach-jz47xx/jz4780/timer.c          | 238 ++++++++
 arch/mips/mach-jz47xx/jz4780/u-boot-spl.lds   |  52 ++
 arch/mips/mach-jz47xx/start.S                 |  99 ++++
 board/imgtec/ci20/Kconfig                     |  15 +
 board/imgtec/ci20/Makefile                    |   5 +
 board/imgtec/ci20/README                      |  10 +
 board/imgtec/ci20/ci20.c                      | 365 ++++++++++++
 configs/ci20_defconfig                        |  47 ++
 drivers/gpio/Kconfig                          |   7 +
 drivers/gpio/Makefile                         |   1 +
 drivers/gpio/gpio-jz47xx.c                    |  78 +++
 drivers/misc/Kconfig                          |   6 +
 drivers/misc/Makefile                         |   1 +
 drivers/misc/jz4780_efuse.c                   | 100 ++++
 drivers/mmc/Kconfig                           |   6 +
 drivers/mmc/Makefile                          |   1 +
 drivers/mmc/jz_mmc.                           |   0
 drivers/mmc/jz_mmc.c                          | 491 ++++++++++++++++
 include/configs/ci20.h                        |  74 +++
 include/dt-bindings/clock/jz4780-cgu.h        |  88 +++
 34 files changed, 3550 insertions(+)
 create mode 100644 arch/mips/dts/ci20.dts
 create mode 100644 arch/mips/dts/jz4780.dtsi
 create mode 100644 arch/mips/include/asm/spl.h
 create mode 100644 arch/mips/mach-jz47xx/Kconfig
 create mode 100644 arch/mips/mach-jz47xx/Makefile
 create mode 100644 arch/mips/mach-jz47xx/include/mach/jz4780.h
 create mode 100644 arch/mips/mach-jz47xx/include/mach/jz4780_dram.h
 create mode 100644 arch/mips/mach-jz47xx/jz4780/Makefile
 create mode 100644 arch/mips/mach-jz47xx/jz4780/jz4780.c
 create mode 100644 arch/mips/mach-jz47xx/jz4780/pll.c
 create mode 100644 arch/mips/mach-jz47xx/jz4780/sdram.c
 create mode 100644 arch/mips/mach-jz47xx/jz4780/timer.c
 create mode 100644 arch/mips/mach-jz47xx/jz4780/u-boot-spl.lds
 create mode 100644 arch/mips/mach-jz47xx/start.S
 create mode 100644 board/imgtec/ci20/Kconfig
 create mode 100644 board/imgtec/ci20/Makefile
 create mode 100644 board/imgtec/ci20/README
 create mode 100644 board/imgtec/ci20/ci20.c
 create mode 100644 configs/ci20_defconfig
 create mode 100644 drivers/gpio/gpio-jz47xx.c
 create mode 100644 drivers/misc/jz4780_efuse.c
 create mode 100644 drivers/mmc/jz_mmc.
 create mode 100644 drivers/mmc/jz_mmc.c
 create mode 100644 include/configs/ci20.h
 create mode 100644 include/dt-bindings/clock/jz4780-cgu.h
Signature · 1 line
2.20.0.rc2