Lines Matching +full:0 +full:- +full:23
1 /* SPDX-License-Identifier: GPL-2.0+ */
14 /* The first stage boot loader expects u-boot running at this address. */
30 #define CONFIG_SRAM_BASE 0x00300000 /*AT91SAM9XE_SRAM_BASE */
32 #define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SRAM_BASE + CONFIG_SRAM_SIZE - \
36 #define CONFIG_SYS_SDRAM_BASE 0x20000000
43 - CONFIG_SYS_MALLOC_LEN)
45 /* 512kB on-chip NOR flash */
47 # define CONFIG_SYS_FLASH_BASE 0x00200000 /* AT91SAM9XE_FLASH_BASE */
53 /* bootstrap + u-boot + env + linux in dataflash on CS0 */
54 #define CONFIG_ENV_OFFSET 0x3DE000
61 #define CONFIG_SYS_NAND_BASE 0x40000000
80 #define CONFIG_PHY_ID 0
95 #define CONFIG_SYS_USB_OHCI_REGS_BASE 0x00500000
103 #define CONFIG_SYS_I2C_RTC_ADDR 0x51
110 #define CONFIG_SYS_I2C_SOFT /* I2C bit-banged */
112 #define CONFIG_SYS_I2C_SOFT_SLAVE 0
117 #define GPIO_I2C_SDA AT91_PIO_PORTA, 23
120 at91_set_pio_periph(AT91_PIO_PORTA, 23, 0); \
121 at91_set_pio_multi_drive(AT91_PIO_PORTA, 23, 1); \
122 at91_set_pio_periph(AT91_PIO_PORTA, 24, 0); \
123 at91_set_pio_output(AT91_PIO_PORTA, 24, 0); \
127 #define I2C_ACTIVE at91_set_pio_output(AT91_PIO_PORTA, 23, 0)
128 #define I2C_TRISTATE at91_set_pio_input(AT91_PIO_PORTA, 23, 0)
130 #define I2C_SDA(bit) at91_set_pio_value(AT91_PIO_PORTA, 23, bit)
132 #define I2C_READ at91_get_pio_value(AT91_PIO_PORTA, 23)
146 #define CONFIG_BOOTCOMMAND "sf probe 0:0; " \
147 "sf read 0x22000000 0xc6000 0x294000; " \
148 "bootm 0x22000000"
150 /* Misc. u-boot settings */