Lines Matching +full:0 +full:x12200000
27 [ASPEED_DEV_SPI_BOOT] = 0x400000000,
28 [ASPEED_DEV_SRAM] = 0x10000000,
29 [ASPEED_DEV_SDMC] = 0x12C00000,
30 [ASPEED_DEV_SCU] = 0x12C02000,
31 [ASPEED_DEV_SCUIO] = 0x14C02000,
32 [ASPEED_DEV_UART0] = 0X14C33000,
33 [ASPEED_DEV_UART1] = 0X14C33100,
34 [ASPEED_DEV_UART2] = 0X14C33200,
35 [ASPEED_DEV_UART3] = 0X14C33300,
36 [ASPEED_DEV_UART4] = 0X12C1A000,
37 [ASPEED_DEV_UART5] = 0X14C33400,
38 [ASPEED_DEV_UART6] = 0X14C33500,
39 [ASPEED_DEV_UART7] = 0X14C33600,
40 [ASPEED_DEV_UART8] = 0X14C33700,
41 [ASPEED_DEV_UART9] = 0X14C33800,
42 [ASPEED_DEV_UART10] = 0X14C33900,
43 [ASPEED_DEV_UART11] = 0X14C33A00,
44 [ASPEED_DEV_UART12] = 0X14C33B00,
45 [ASPEED_DEV_WDT] = 0x14C37000,
46 [ASPEED_DEV_VUART] = 0X14C30000,
47 [ASPEED_DEV_FMC] = 0x14000000,
48 [ASPEED_DEV_SPI0] = 0x14010000,
49 [ASPEED_DEV_SPI1] = 0x14020000,
50 [ASPEED_DEV_SPI2] = 0x14030000,
51 [ASPEED_DEV_SDRAM] = 0x400000000,
52 [ASPEED_DEV_MII1] = 0x14040000,
53 [ASPEED_DEV_MII2] = 0x14040008,
54 [ASPEED_DEV_MII3] = 0x14040010,
55 [ASPEED_DEV_ETH1] = 0x14050000,
56 [ASPEED_DEV_ETH2] = 0x14060000,
57 [ASPEED_DEV_ETH3] = 0x14070000,
58 [ASPEED_DEV_EMMC] = 0x12090000,
59 [ASPEED_DEV_INTC] = 0x12100000,
60 [ASPEED_DEV_SLI] = 0x12C17000,
61 [ASPEED_DEV_SLIIO] = 0x14C1E000,
62 [ASPEED_GIC_DIST] = 0x12200000,
63 [ASPEED_GIC_REDIST] = 0x12280000,
64 [ASPEED_DEV_ADC] = 0x14C00000,
65 [ASPEED_DEV_I2C] = 0x14C0F000,
66 [ASPEED_DEV_GPIO] = 0x14C0B000,
67 [ASPEED_DEV_RTC] = 0x12C0F000,
68 [ASPEED_DEV_SDHCI] = 0x14080000,
89 [ASPEED_DEV_SDMC] = 0,
122 [ASPEED_DEV_LPC] = 0,
129 [ASPEED_DEV_I2C] = 0,
136 [ASPEED_DEV_I3C] = 0,
144 [ASPEED_DEV_ETH1] = 0,
191 for (i = 0; i < ARRAY_SIZE(aspeed_soc_ast2700_gic_intcmap); i++) { in aspeed_soc_ast2700_get_irq()
209 for (i = 0; i < ARRAY_SIZE(aspeed_soc_ast2700_gic_intcmap); i++) { in aspeed_soc_ast2700_get_irq_index()
227 "%s: DRAM read out of ram size, addr:0x%" PRIx64 "\n", in aspeed_ram_capacity_read()
229 return 0; in aspeed_ram_capacity_read()
242 assert(ram_size > 0); in aspeed_ram_capacity_write()
253 "%s: DRAM write failed, addr:0x%" HWADDR_PRIx in aspeed_ram_capacity_write()
254 ", data :0x%" PRIx64 "\n", in aspeed_ram_capacity_write()
287 memory_region_add_subregion(&s->dram_container, 0, s->dram_mr); in aspeed_soc_ast2700_dram_init()
322 for (i = 0; i < sc->num_cpus; i++) { in aspeed_soc_ast2700_init()
346 for (i = 0; i < sc->spis_num; i++) { in aspeed_soc_ast2700_init()
356 for (i = 0; i < sc->wdts_num; i++) { in aspeed_soc_ast2700_init()
361 for (i = 0; i < sc->macs_num; i++) { in aspeed_soc_ast2700_init()
368 for (i = 0; i < sc->uarts_num; i++) { in aspeed_soc_ast2700_init()
393 &s->sdhci.slots[0], TYPE_SYSBUS_SDHCI); in aspeed_soc_ast2700_init()
398 object_initialize_child(obj, "emmc-controller.sdhci", &s->emmc.slots[0], in aspeed_soc_ast2700_init()
403 * ASPEED ast2700 has 0x0 as cluster ID
409 return (0x0 << ARM_AFF1_SHIFT) | cpu; in aspeed_calc_affinity()
435 sysbus_mmio_map(gicbusdev, 0, sc->memmap[ASPEED_GIC_DIST]); in aspeed_soc_ast2700_gic_realize()
438 for (i = 0; i < sc->num_cpus; i++) { in aspeed_soc_ast2700_gic_realize()
450 for (j = 0; j < ARRAY_SIZE(timer_irq); j++) { in aspeed_soc_ast2700_gic_realize()
458 0, irq); in aspeed_soc_ast2700_gic_realize()
459 qdev_connect_gpio_out_named(cpudev, "pmu-interrupt", 0, in aspeed_soc_ast2700_gic_realize()
486 "aspeed.spi_boot_container", 0x400000000); in aspeed_soc_ast2700_realize()
491 for (i = 0; i < sc->num_cpus; i++) { in aspeed_soc_ast2700_realize()
515 aspeed_mmio_map(s, SYS_BUS_DEVICE(&a->intc), 0, in aspeed_soc_ast2700_realize()
519 for (i = 0; i < ic->num_ints; i++) { in aspeed_soc_ast2700_realize()
520 qdev_connect_gpio_out(DEVICE(&a->intc.orgates[i]), 0, in aspeed_soc_ast2700_realize()
528 sram_name = g_strdup_printf("aspeed.sram.%d", CPU(&a->cpu[0])->cpu_index); in aspeed_soc_ast2700_realize()
540 aspeed_mmio_map(s, SYS_BUS_DEVICE(&s->scu), 0, sc->memmap[ASPEED_DEV_SCU]); in aspeed_soc_ast2700_realize()
546 aspeed_mmio_map(s, SYS_BUS_DEVICE(&s->scuio), 0, in aspeed_soc_ast2700_realize()
563 aspeed_mmio_map(s, SYS_BUS_DEVICE(&s->fmc), 0, sc->memmap[ASPEED_DEV_FMC]); in aspeed_soc_ast2700_realize()
566 sysbus_connect_irq(SYS_BUS_DEVICE(&s->fmc), 0, in aspeed_soc_ast2700_realize()
570 MemoryRegion *fmc0_mmio = &s->fmc.flashes[0].mmio; in aspeed_soc_ast2700_realize()
572 fmc0_mmio, 0, memory_region_size(fmc0_mmio)); in aspeed_soc_ast2700_realize()
573 memory_region_add_subregion(&s->spi_boot_container, 0x0, &s->spi_boot); in aspeed_soc_ast2700_realize()
576 for (i = 0; i < sc->spis_num; i++) { in aspeed_soc_ast2700_realize()
582 aspeed_mmio_map(s, SYS_BUS_DEVICE(&s->spi[i]), 0, in aspeed_soc_ast2700_realize()
600 aspeed_mmio_map(s, SYS_BUS_DEVICE(&s->sdmc), 0, in aspeed_soc_ast2700_realize()
609 for (i = 0; i < sc->macs_num; i++) { in aspeed_soc_ast2700_realize()
617 aspeed_mmio_map(s, SYS_BUS_DEVICE(&s->ftgmac100[i]), 0, in aspeed_soc_ast2700_realize()
619 sysbus_connect_irq(SYS_BUS_DEVICE(&s->ftgmac100[i]), 0, in aspeed_soc_ast2700_realize()
628 aspeed_mmio_map(s, SYS_BUS_DEVICE(&s->mii[i]), 0, in aspeed_soc_ast2700_realize()
633 for (i = 0; i < sc->wdts_num; i++) { in aspeed_soc_ast2700_realize()
642 aspeed_mmio_map(s, SYS_BUS_DEVICE(&s->wdt[i]), 0, wdt_offset); in aspeed_soc_ast2700_realize()
649 aspeed_mmio_map(s, SYS_BUS_DEVICE(&s->sli), 0, sc->memmap[ASPEED_DEV_SLI]); in aspeed_soc_ast2700_realize()
654 aspeed_mmio_map(s, SYS_BUS_DEVICE(&s->sliio), 0, in aspeed_soc_ast2700_realize()
661 aspeed_mmio_map(s, SYS_BUS_DEVICE(&s->adc), 0, sc->memmap[ASPEED_DEV_ADC]); in aspeed_soc_ast2700_realize()
662 sysbus_connect_irq(SYS_BUS_DEVICE(&s->adc), 0, in aspeed_soc_ast2700_realize()
671 aspeed_mmio_map(s, SYS_BUS_DEVICE(&s->i2c), 0, sc->memmap[ASPEED_DEV_I2C]); in aspeed_soc_ast2700_realize()
672 for (i = 0; i < ASPEED_I2C_GET_CLASS(&s->i2c)->num_busses; i++) { in aspeed_soc_ast2700_realize()
676 * from bit 0 to bit 15. in aspeed_soc_ast2700_realize()
677 * I2C bus 0 is connected to GICINT130_INTC at bit 0. in aspeed_soc_ast2700_realize()
681 sysbus_connect_irq(SYS_BUS_DEVICE(&s->i2c.busses[i]), 0, irq); in aspeed_soc_ast2700_realize()
688 aspeed_mmio_map(s, SYS_BUS_DEVICE(&s->gpio), 0, in aspeed_soc_ast2700_realize()
690 sysbus_connect_irq(SYS_BUS_DEVICE(&s->gpio), 0, in aspeed_soc_ast2700_realize()
697 aspeed_mmio_map(s, SYS_BUS_DEVICE(&s->rtc), 0, sc->memmap[ASPEED_DEV_RTC]); in aspeed_soc_ast2700_realize()
698 sysbus_connect_irq(SYS_BUS_DEVICE(&s->rtc), 0, in aspeed_soc_ast2700_realize()
705 aspeed_mmio_map(s, SYS_BUS_DEVICE(&s->sdhci), 0, in aspeed_soc_ast2700_realize()
707 sysbus_connect_irq(SYS_BUS_DEVICE(&s->sdhci), 0, in aspeed_soc_ast2700_realize()
714 aspeed_mmio_map(s, SYS_BUS_DEVICE(&s->emmc), 0, in aspeed_soc_ast2700_realize()
716 sysbus_connect_irq(SYS_BUS_DEVICE(&s->emmc), 0, in aspeed_soc_ast2700_realize()
719 create_unimplemented_device("ast2700.dpmcu", 0x11000000, 0x40000); in aspeed_soc_ast2700_realize()
720 create_unimplemented_device("ast2700.iomem0", 0x12000000, 0x01000000); in aspeed_soc_ast2700_realize()
721 create_unimplemented_device("ast2700.iomem1", 0x14000000, 0x01000000); in aspeed_soc_ast2700_realize()
722 create_unimplemented_device("ast2700.ltpi", 0x30000000, 0x1000000); in aspeed_soc_ast2700_realize()
723 create_unimplemented_device("ast2700.io", 0x0, 0x4000000); in aspeed_soc_ast2700_realize()
742 sc->sram_size = 0x20000; in aspeed_soc_ast2700_class_init()