2020-03-10 09:56:38 +00:00
|
|
|
CONFIG_ARM=y
|
|
|
|
CONFIG_ARCH_AT91=y
|
|
|
|
CONFIG_SYS_TEXT_BASE=0x66f00000
|
2020-06-02 12:14:14 +00:00
|
|
|
CONFIG_SYS_MALLOC_F_LEN=0x11000
|
2021-11-01 12:19:22 +00:00
|
|
|
CONFIG_TARGET_SAMA7G5EK=y
|
2020-07-30 13:22:53 +00:00
|
|
|
CONFIG_NR_DRAM_BANKS=1
|
2020-03-10 09:56:38 +00:00
|
|
|
CONFIG_ENV_SIZE=0x4000
|
2020-07-30 13:22:53 +00:00
|
|
|
CONFIG_DM_GPIO=y
|
2022-03-07 14:29:41 +00:00
|
|
|
CONFIG_DEFAULT_DEVICE_TREE="at91-sama7g5ek"
|
2020-03-10 09:56:38 +00:00
|
|
|
CONFIG_DEBUG_UART_BOARD_INIT=y
|
|
|
|
CONFIG_DEBUG_UART_BASE=0xe1824200
|
|
|
|
CONFIG_DEBUG_UART_CLOCK=200000000
|
2022-04-08 17:36:51 +00:00
|
|
|
CONFIG_SYS_LOAD_ADDR=0x62000000
|
2020-03-10 09:56:38 +00:00
|
|
|
CONFIG_DEBUG_UART=y
|
2022-04-01 14:33:18 +00:00
|
|
|
CONFIG_SYS_MEMTEST_START=0x60000000
|
|
|
|
CONFIG_SYS_MEMTEST_END=0x70000000
|
2020-03-10 09:56:38 +00:00
|
|
|
CONFIG_ENV_VARS_UBOOT_CONFIG=y
|
2022-05-25 16:16:03 +00:00
|
|
|
CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y
|
|
|
|
CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0x60014ef0
|
2020-03-10 09:56:38 +00:00
|
|
|
CONFIG_FIT=y
|
|
|
|
CONFIG_SD_BOOT=y
|
|
|
|
CONFIG_USE_BOOTARGS=y
|
2020-07-30 13:22:53 +00:00
|
|
|
CONFIG_BOOTARGS="console=ttyS0,115200 root=/dev/mmcblk1p2 rw rootwait"
|
2021-08-19 11:09:41 +00:00
|
|
|
CONFIG_USE_BOOTCOMMAND=y
|
|
|
|
CONFIG_BOOTCOMMAND="fatload mmc 1:1 0x61000000 at91-sama7g5ek.dtb; fatload mmc 1:1 0x62000000 zImage; bootz 0x62000000 - 0x61000000"
|
2020-03-10 09:56:38 +00:00
|
|
|
CONFIG_MISC_INIT_R=y
|
|
|
|
CONFIG_HUSH_PARSER=y
|
2022-05-11 22:01:06 +00:00
|
|
|
CONFIG_SYS_CBSIZE=256
|
2022-05-11 21:38:09 +00:00
|
|
|
CONFIG_SYS_PBSIZE=276
|
2020-03-10 09:56:38 +00:00
|
|
|
CONFIG_CMD_BOOTZ=y
|
|
|
|
# CONFIG_CMD_IMI is not set
|
|
|
|
CONFIG_CMD_MD5SUM=y
|
|
|
|
CONFIG_CMD_MEMTEST=y
|
|
|
|
CONFIG_CMD_STRINGS=y
|
|
|
|
CONFIG_CMD_DM=y
|
|
|
|
CONFIG_CMD_GPIO=y
|
|
|
|
CONFIG_CMD_I2C=y
|
|
|
|
# CONFIG_CMD_LOADS is not set
|
|
|
|
CONFIG_CMD_MMC=y
|
|
|
|
CONFIG_CMD_DHCP=y
|
2020-06-09 10:49:12 +00:00
|
|
|
CONFIG_CMD_MII=y
|
2020-03-10 09:56:38 +00:00
|
|
|
CONFIG_CMD_PING=y
|
2021-05-26 13:05:57 +00:00
|
|
|
CONFIG_CMD_HASH=y
|
|
|
|
CONFIG_HASH_VERIFY=y
|
2020-03-10 09:56:38 +00:00
|
|
|
CONFIG_CMD_EXT4=y
|
|
|
|
CONFIG_CMD_FAT=y
|
|
|
|
CONFIG_OF_CONTROL=y
|
|
|
|
CONFIG_ENV_IS_IN_FAT=y
|
2020-07-30 13:22:53 +00:00
|
|
|
CONFIG_ENV_FAT_DEVICE_AND_PART="1:1"
|
2020-03-10 09:56:38 +00:00
|
|
|
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
2022-03-11 14:12:01 +00:00
|
|
|
CONFIG_ARP_TIMEOUT=200
|
2022-03-11 14:12:02 +00:00
|
|
|
CONFIG_NET_RETRY_COUNT=50
|
2020-03-10 09:56:38 +00:00
|
|
|
CONFIG_DM=y
|
|
|
|
CONFIG_CLK=y
|
2020-06-02 12:15:55 +00:00
|
|
|
CONFIG_CLK_CCF=y
|
2020-03-10 09:56:38 +00:00
|
|
|
CONFIG_CLK_AT91=y
|
|
|
|
CONFIG_AT91_UTMI=y
|
|
|
|
CONFIG_AT91_GENERIC_CLK=y
|
2020-06-02 12:15:25 +00:00
|
|
|
CONFIG_AT91_SAM9X60_PLL=y
|
2020-06-02 12:35:12 +00:00
|
|
|
CONFIG_CPU=y
|
2020-03-10 09:56:38 +00:00
|
|
|
CONFIG_ATMEL_PIO4=y
|
|
|
|
CONFIG_DM_I2C=y
|
2020-07-31 12:21:45 +00:00
|
|
|
CONFIG_SYS_I2C_AT91=y
|
|
|
|
CONFIG_I2C_EEPROM=y
|
|
|
|
CONFIG_MICROCHIP_FLEXCOM=y
|
2020-03-10 09:56:38 +00:00
|
|
|
CONFIG_MMC_SDHCI=y
|
|
|
|
CONFIG_MMC_SDHCI_ATMEL=y
|
2020-06-09 10:48:26 +00:00
|
|
|
CONFIG_PHY_MICREL=y
|
|
|
|
CONFIG_PHY_MICREL_KSZ90X1=y
|
2020-03-10 09:56:38 +00:00
|
|
|
CONFIG_DM_ETH=y
|
|
|
|
CONFIG_MACB=y
|
|
|
|
CONFIG_PINCTRL=y
|
|
|
|
CONFIG_PINCTRL_AT91PIO4=y
|
|
|
|
CONFIG_DM_SERIAL=y
|
|
|
|
CONFIG_DEBUG_UART_ANNOUNCE=y
|
|
|
|
CONFIG_ATMEL_USART=y
|
2022-04-01 09:27:25 +00:00
|
|
|
CONFIG_SYSRESET=y
|
|
|
|
CONFIG_SYSRESET_AT91=y
|
2022-05-05 18:47:31 +00:00
|
|
|
CONFIG_TIMER=y
|
2020-06-02 15:42:59 +00:00
|
|
|
CONFIG_MCHP_PIT64B_TIMER=y
|
2020-03-10 09:56:38 +00:00
|
|
|
CONFIG_OF_LIBFDT_OVERLAY=y
|
|
|
|
# CONFIG_EFI_LOADER_HII is not set
|
configs: at91: sama7g5ek: enable CONFIG_PHANDLE_CHECK_SEQ
CONFIG_PHANDLE_CHECK_SEQ will allow different sequence number for nodes
that have the same name, but they are different.
In sama7g5ek case, there are multiple 'i2c@600' nodes which are child
nodes of different parent 'flexcom' nodes.
These are different i2c busses even if the node is the same, and have to be
differentiated.
Without this config, the sequence number 0 is reused for two i2c busses, and
this is something that we have to avoid:
Looking for 'i2c' at 4704, name i2c@600
- serial0, /ahb/apb/serial@e1824200
- i2c0, /ahb/apb/flexcom@e181c000/i2c@600
Found seq 0
i2c_post_bind: i2c@600, seq=0
Looking for 'i2c' at 6236, name i2c@600
- serial0, /ahb/apb/serial@e1824200
- i2c0, /ahb/apb/flexcom@e181c000/i2c@600
Found seq 0
i2c_post_bind: i2c@600, seq=0
After this patch:
Looking for 'i2c' at 4704, name i2c@600
- serial0, /ahb/apb/serial@e1824200
- i2c0, /ahb/apb/flexcom@e181c000/i2c@600
- i2c1, /ahb/apb/flexcom@e2818000/i2c@600
Found seq 1
Before the patch:
=> i2c bus
Bus 0: i2c@600
Bus 0: i2c@600 (active 0)
52: eeprom@52, offset len 1, flags 0
53: eeprom@53, offset len 1, flags 0
=>
After the patch:
=> i2c bus
Bus 0: i2c@600
Bus 1: i2c@600 (active 1)
52: eeprom@52, offset len 1, flags 0
53: eeprom@53, offset len 1, flags 0
Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
2022-01-04 16:25:21 +00:00
|
|
|
CONFIG_PHANDLE_CHECK_SEQ=y
|