aristainetos2.h 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * (C) Copyright 2015
  4. * Heiko Schocher, DENX Software Engineering, hs@denx.de.
  5. *
  6. * Based on:
  7. * Copyright (C) 2012 Freescale Semiconductor, Inc.
  8. *
  9. * Configuration settings for the Freescale i.MX6DL aristainetos2 board.
  10. */
  11. #ifndef __ARISTAINETOS2_CONFIG_H
  12. #define __ARISTAINETOS2_CONFIG_H
  13. #define CONFIG_SYS_BOARD_VERSION 2
  14. #define CONFIG_HOSTNAME "aristainetos2"
  15. #define CONFIG_BOARDNAME "aristainetos2"
  16. #define CONFIG_MXC_UART_BASE UART2_BASE
  17. #define CONSOLE_DEV "ttymxc1"
  18. #define CONFIG_FEC_XCV_TYPE RGMII
  19. #define CONFIG_EXTRA_ENV_BOARD_SETTINGS \
  20. "board_type=aristainetos2_7@1\0" \
  21. "nor_bootdelay=-2\0" \
  22. "mtdids=nand0=gpmi-nand,nor0=spi3.1\0" \
  23. "mtdparts=mtdparts=spi3.1:832k(u-boot),64k(env),64k(env-red)," \
  24. "-(rescue-system);gpmi-nand:-(ubi)\0" \
  25. "addmisc=setenv bootargs ${bootargs} net.ifnames=0 consoleblank=0\0" \
  26. "ubiargs=setenv bootargs console=${console},${baudrate} " \
  27. "ubi.mtd=0,4096 root=ubi0:rootfs rootfstype=ubifs\0 " \
  28. "ubifs_load_fit=sf probe;ubi part ubi 4096;ubifsmount ubi:rootfs;" \
  29. "ubifsload ${fit_addr_r} /boot/system.itb; " \
  30. "imi ${fit_addr_r}\0 "
  31. #define CONFIG_SYS_I2C_MXC_I2C4 /* enable I2C bus 4 */
  32. #define ARISTAINETOS_USB_OTG_PWR IMX_GPIO_NR(4, 15)
  33. #define ARISTAINETOS_USB_H1_PWR IMX_GPIO_NR(1, 0)
  34. #define CONFIG_GPIO_ENABLE_SPI_FLASH IMX_GPIO_NR(2, 15)
  35. /* Framebuffer */
  36. #define CONFIG_SYS_LDB_CLOCK 33246000
  37. #define CONFIG_LG4573
  38. #define CONFIG_LG4573_BUS 0
  39. #define CONFIG_LG4573_CS 0
  40. #include "aristainetos-common.h"
  41. #endif /* __ARISTAINETOS2_CONFIG_H */