aristainetos.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * (C) Copyright 2015
  4. * (C) Copyright 2014
  5. * Heiko Schocher, DENX Software Engineering, hs@denx.de.
  6. *
  7. * Based on:
  8. * Copyright (C) 2012 Freescale Semiconductor, Inc.
  9. *
  10. * Configuration settings for the Freescale i.MX6Q SabreSD board.
  11. */
  12. #ifndef __ARISTAINETOS_CONFIG_H
  13. #define __ARISTAINETOS_CONFIG_H
  14. #define CONFIG_SYS_BOARD_VERSION 1
  15. #define CONFIG_HOSTNAME "aristainetos"
  16. #define CONFIG_BOARDNAME "aristainetos"
  17. #define CONFIG_MXC_UART_BASE UART5_BASE
  18. #define CONSOLE_DEV "ttymxc4"
  19. #define CONFIG_FEC_XCV_TYPE RMII
  20. #define CONFIG_EXTRA_ENV_BOARD_SETTINGS \
  21. "board_type=aristainetos7@1\0" \
  22. "mtdids=nand0=gpmi-nand,nor0=spi3.0\0" \
  23. "mtdparts=mtdparts=spi3.0:832k(u-boot),64k(env),64k(env-red)," \
  24. "-(rescue-system);gpmi-nand:-(ubi)\0" \
  25. "addmisc=setenv bootargs ${bootargs} consoleblank=0\0" \
  26. "addmtd=setenv bootargs ${bootargs} ${mtdparts}\0" \
  27. "ubiargs=setenv bootargs console=${console},${baudrate} " \
  28. "ubi.mtd=0,2048 root=ubi0:rootfs rootfstype=ubifs\0 " \
  29. "ubifs_load_fit=sf probe;ubi part ubi 2048;ubifsmount ubi:rootfs;" \
  30. "ubifsload ${fit_addr_r} /boot/system.itb; " \
  31. "imi ${fit_addr_r}\0 "
  32. #define ARISTAINETOS_USB_OTG_PWR IMX_GPIO_NR(4, 15)
  33. #define ARISTAINETOS_USB_H1_PWR IMX_GPIO_NR(3, 31)
  34. #define CONFIG_GPIO_ENABLE_SPI_FLASH IMX_GPIO_NR(2, 15)
  35. #include "aristainetos-common.h"
  36. #endif /* __ARISTAINETOS_CONFIG_H */