Lines Matching +full:0 +full:x40013000

36 static const uint32_t timer_addr[STM_NUM_TIMERS] = { 0x40000000, 0x40000400,
37 0x40000800, 0x40000C00 };
38 static const uint32_t usart_addr[STM_NUM_USARTS] = { 0x40011000, 0x40004400,
39 0x40004800, 0x40004C00, 0x40005000, 0x40011400 };
40 static const uint32_t adc_addr[STM_NUM_ADCS] = { 0x40012000, 0x40012100,
41 0x40012200 };
42 static const uint32_t spi_addr[STM_NUM_SPIS] = { 0x40013000, 0x40003800,
43 0x40003C00 };
59 for (i = 0; i < STM_NUM_USARTS; i++) { in stm32f205_soc_initfn()
64 for (i = 0; i < STM_NUM_TIMERS; i++) { in stm32f205_soc_initfn()
71 for (i = 0; i < STM_NUM_ADCS; i++) { in stm32f205_soc_initfn()
75 for (i = 0; i < STM_NUM_SPIS; i++) { in stm32f205_soc_initfn()
79 s->sysclk = qdev_init_clock_in(DEVICE(s), "sysclk", NULL, NULL, 0); in stm32f205_soc_initfn()
80 s->refclk = qdev_init_clock_in(DEVICE(s), "refclk", NULL, NULL, 0); in stm32f205_soc_initfn()
119 "STM32F205.flash.alias", &s->flash, 0, FLASH_SIZE); in stm32f205_soc_realize()
122 memory_region_add_subregion(system_memory, 0, &s->flash_alias); in stm32f205_soc_realize()
147 sysbus_mmio_map(busdev, 0, 0x40013800); in stm32f205_soc_realize()
150 for (i = 0; i < STM_NUM_USARTS; i++) { in stm32f205_soc_realize()
157 sysbus_mmio_map(busdev, 0, usart_addr[i]); in stm32f205_soc_realize()
158 sysbus_connect_irq(busdev, 0, qdev_get_gpio_in(armv7m, usart_irq[i])); in stm32f205_soc_realize()
162 for (i = 0; i < STM_NUM_TIMERS; i++) { in stm32f205_soc_realize()
169 sysbus_mmio_map(busdev, 0, timer_addr[i]); in stm32f205_soc_realize()
170 sysbus_connect_irq(busdev, 0, qdev_get_gpio_in(armv7m, timer_irq[i])); in stm32f205_soc_realize()
179 qdev_connect_gpio_out(DEVICE(s->adc_irqs), 0, in stm32f205_soc_realize()
182 for (i = 0; i < STM_NUM_ADCS; i++) { in stm32f205_soc_realize()
188 sysbus_mmio_map(busdev, 0, adc_addr[i]); in stm32f205_soc_realize()
189 sysbus_connect_irq(busdev, 0, in stm32f205_soc_realize()
194 for (i = 0; i < STM_NUM_SPIS; i++) { in stm32f205_soc_realize()
200 sysbus_mmio_map(busdev, 0, spi_addr[i]); in stm32f205_soc_realize()
201 sysbus_connect_irq(busdev, 0, qdev_get_gpio_in(armv7m, spi_irq[i])); in stm32f205_soc_realize()