[U-Boot] [PATCH V3 0/6] Tegra210/P2571 initial support

Tom Warren twarren at nvidia.com
Sat Jul 25 00:00:54 CEST 2015


This patch series adds support for the Tegra210
SoC and the P2571 board. Most of the T210 info
is identical to T124 at this point, so I just 
cloned Venice2/Jetson-TK1 board files and T124
header/SoC code. Pinmux is the major area of
difference at this time, but other changes will
be made as more features of the board are brought
up.

Changes in V3:
- moved DTSI file into SoC patch, made DTS files conform with 64-bit FDT
- removed untested/unneeded DT nodes like APBDMA, PWM, etc.
- used common ARMV7 Kconfig option for 32-bit T210 Tegra SoCs
- removed funcmux UART init on T210 - pinmux_init does it all
- fix redundant strings in xusb-padctl.c
- updated tegra210-car dt binding from treding
- fix/update PLLU/ehci-tegra support for T210: USB works now
- roll in some 64-bit Tegra fixes from treding/swarren
- add fdt_high/initrd_high 64-bit fix from treading/swarren
- fix COUNTER_FREQUENCY to match T210/P2571 OSC freq (38.4)

Changes in V2:
- minor fixes as per swarren review

Tom Warren (6):
  Tegra210: Fix 64-bit build warning about save_boot_params_ret()
  Tegra: Rework KConfig options to allow 64-bit builds (T210)
  ARM: Tegra210: Add SoC code/include files for T210
  ARM: Tegra210: Add support to common Tegra source/config files
  P2571: dts: Add DT file for Tegra210 P2571 board
  T210: Add support for 64-bit T210-based P2571 board

 arch/arm/Kconfig                                  |   11 -
 arch/arm/dts/Makefile                             |    3 +-
 arch/arm/dts/tegra210-p2571.dts                   |  106 ++
 arch/arm/dts/tegra210.dtsi                        |  283 ++++++
 arch/arm/include/asm/arch-tegra/ap.h              |    6 +-
 arch/arm/include/asm/arch-tegra/clk_rst.h         |   36 +-
 arch/arm/include/asm/arch-tegra/gp_padctrl.h      |    3 +-
 arch/arm/include/asm/arch-tegra/pmc.h             |    7 +-
 arch/arm/include/asm/arch-tegra/tegra.h           |    4 +-
 arch/arm/include/asm/arch-tegra/usb.h             |    3 +
 arch/arm/include/asm/arch-tegra210/ahb.h          |   91 ++
 arch/arm/include/asm/arch-tegra210/clock-tables.h |  566 +++++++++++
 arch/arm/include/asm/arch-tegra210/clock.h        |   27 +
 arch/arm/include/asm/arch-tegra210/flow.h         |   45 +
 arch/arm/include/asm/arch-tegra210/funcmux.h      |   23 +
 arch/arm/include/asm/arch-tegra210/gp_padctrl.h   |   74 ++
 arch/arm/include/asm/arch-tegra210/gpio.h         |  303 ++++++
 arch/arm/include/asm/arch-tegra210/mc.h           |   72 ++
 arch/arm/include/asm/arch-tegra210/pmu.h          |   14 +
 arch/arm/include/asm/arch-tegra210/powergate.h    |   12 +
 arch/arm/include/asm/arch-tegra210/sysctr.h       |   26 +
 arch/arm/include/asm/arch-tegra210/tegra.h        |   32 +
 arch/arm/mach-tegra/Kconfig                       |   30 +
 arch/arm/mach-tegra/Makefile                      |    5 +-
 arch/arm/mach-tegra/ap.c                          |   11 +-
 arch/arm/mach-tegra/board.c                       |   12 +-
 arch/arm/mach-tegra/board2.c                      |    3 +
 arch/arm/mach-tegra/cache.c                       |    2 +
 arch/arm/mach-tegra/clock.c                       |   30 +-
 arch/arm/mach-tegra/cpu.c                         |   55 +-
 arch/arm/mach-tegra/cpu.h                         |   10 +-
 arch/arm/mach-tegra/lowlevel_init.S               |   15 +
 arch/arm/mach-tegra/tegra210/Kconfig              |   18 +
 arch/arm/mach-tegra/tegra210/Makefile             |   11 +
 arch/arm/mach-tegra/tegra210/clock.c              | 1091 +++++++++++++++++++++
 arch/arm/mach-tegra/tegra210/funcmux.c            |   40 +
 arch/arm/mach-tegra/tegra210/xusb-padctl.c        |  495 ++++++++++
 board/nvidia/p2571/Kconfig                        |   12 +
 board/nvidia/p2571/MAINTAINERS                    |    6 +
 board/nvidia/p2571/Makefile                       |    9 +
 board/nvidia/p2571/max77620_init.c                |   85 ++
 board/nvidia/p2571/max77620_init.h                |   67 ++
 board/nvidia/p2571/p2571.c                        |   41 +
 board/nvidia/p2571/pinmux-config-p2571.h          |  237 +++++
 configs/p2571_defconfig                           |   16 +
 drivers/mmc/tegra_mmc.c                           |   12 +-
 drivers/usb/host/ehci-tegra.c                     |   31 +-
 include/configs/p2571.h                           |   78 ++
 include/configs/tegra-common-post.h               |   12 +-
 include/configs/tegra210-common.h                 |   76 ++
 include/dt-bindings/clock/tegra210-car.h          |  342 +++++++
 include/fdtdec.h                                  |    3 +
 lib/fdtdec.c                                      |    2 +
 53 files changed, 4974 insertions(+), 55 deletions(-)
 create mode 100644 arch/arm/dts/tegra210-p2571.dts
 create mode 100644 arch/arm/dts/tegra210.dtsi
 create mode 100644 arch/arm/include/asm/arch-tegra210/ahb.h
 create mode 100644 arch/arm/include/asm/arch-tegra210/clock-tables.h
 create mode 100644 arch/arm/include/asm/arch-tegra210/clock.h
 create mode 100644 arch/arm/include/asm/arch-tegra210/flow.h
 create mode 100644 arch/arm/include/asm/arch-tegra210/funcmux.h
 create mode 100644 arch/arm/include/asm/arch-tegra210/gp_padctrl.h
 create mode 100644 arch/arm/include/asm/arch-tegra210/gpio.h
 create mode 100644 arch/arm/include/asm/arch-tegra210/mc.h
 create mode 100644 arch/arm/include/asm/arch-tegra210/pmu.h
 create mode 100644 arch/arm/include/asm/arch-tegra210/powergate.h
 create mode 100644 arch/arm/include/asm/arch-tegra210/sysctr.h
 create mode 100644 arch/arm/include/asm/arch-tegra210/tegra.h
 create mode 100644 arch/arm/mach-tegra/tegra210/Kconfig
 create mode 100644 arch/arm/mach-tegra/tegra210/Makefile
 create mode 100644 arch/arm/mach-tegra/tegra210/clock.c
 create mode 100644 arch/arm/mach-tegra/tegra210/funcmux.c
 create mode 100644 arch/arm/mach-tegra/tegra210/xusb-padctl.c
 create mode 100644 board/nvidia/p2571/Kconfig
 create mode 100644 board/nvidia/p2571/MAINTAINERS
 create mode 100644 board/nvidia/p2571/Makefile
 create mode 100644 board/nvidia/p2571/max77620_init.c
 create mode 100644 board/nvidia/p2571/max77620_init.h
 create mode 100644 board/nvidia/p2571/p2571.c
 create mode 100644 board/nvidia/p2571/pinmux-config-p2571.h
 create mode 100644 configs/p2571_defconfig
 create mode 100644 include/configs/p2571.h
 create mode 100644 include/configs/tegra210-common.h
 create mode 100644 include/dt-bindings/clock/tegra210-car.h

-- 
1.8.2.1.610.g562af5b



More information about the U-Boot mailing list