mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-30 00:21:06 +00:00
7c02bc9649
The Jetson Nano Developer Kit is a Tegra X1-based development board. It is similar to Jetson TX1 but it is not pin compatible. It features 4GB of LPDDR4, a SPI NOR flash for early boot firmware and an SD card slot used for storage. HDMI 2.0 or DP 1.2 are available for display, four USB ports (3 USB 2.0 and 1 USB 3.0) can be used to attach a variety of peripherals and a PCI Ethernet controller provides onboard network connectivity. NVMe support has also been added. Env save is at the end of QSPI (4MB-8K). A 40-pin header on the board can be used to extend the capabilities and exposed interfaces of the Jetson Nano. Signed-off-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Tom Warren <twarren@nvidia.com> Tested-by: Peter Robinson <pbrobinson@gmail.com>
46 lines
1.1 KiB
C
46 lines
1.1 KiB
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* (C) Copyright 2018-2019 NVIDIA Corporation.
|
|
*/
|
|
|
|
#ifndef _P3450_0000_H
|
|
#define _P3450_0000_H
|
|
|
|
#include <linux/sizes.h>
|
|
|
|
#include "tegra210-common.h"
|
|
|
|
/* High-level configuration options */
|
|
#define CONFIG_TEGRA_BOARD_STRING "NVIDIA P3450-0000"
|
|
|
|
/* Board-specific serial config */
|
|
#define CONFIG_TEGRA_ENABLE_UARTA
|
|
|
|
/* Only MMC/PXE/DHCP for now, add USB back in later when supported */
|
|
#define BOOT_TARGET_DEVICES(func) \
|
|
func(MMC, mmc, 1) \
|
|
func(MMC, mmc, 0) \
|
|
func(PXE, pxe, na) \
|
|
func(DHCP, dhcp, na)
|
|
|
|
/* Environment at end of QSPI, in the VER partition */
|
|
#define CONFIG_ENV_SPI_MAX_HZ 48000000
|
|
#define CONFIG_ENV_SPI_MODE SPI_MODE_0
|
|
#define CONFIG_SPI_FLASH_SIZE (4 << 20)
|
|
|
|
#define CONFIG_PREBOOT
|
|
|
|
#define BOARD_EXTRA_ENV_SETTINGS \
|
|
"preboot=if test -e mmc 1:1 /u-boot-preboot.scr; then " \
|
|
"load mmc 1:1 ${scriptaddr} /u-boot-preboot.scr; " \
|
|
"source ${scriptaddr}; " \
|
|
"fi\0"
|
|
|
|
/* General networking support */
|
|
#include "tegra-common-usb-gadget.h"
|
|
#include "tegra-common-post.h"
|
|
|
|
/* Crystal is 38.4MHz. clk_m runs at half that rate */
|
|
#define COUNTER_FREQUENCY 19200000
|
|
|
|
#endif /* _P3450_0000_H */
|