Lines Matching +full:0 +full:x52000000
110 return qdev_get_gpio_in(DEVICE(&mms->cpu_irq_splitter[irqno]), 0); in OBJECT_DECLARE_TYPE()
150 return sysbus_mmio_get_region(SYS_BUS_DEVICE(uds), 0); in make_unimp_dev()
170 .addr = 0x00200000,
171 .size = 0x00800000,
175 .addr = 0x00000000,
176 .size = 0x00200000,
183 .addr = 0x00000000,
184 .size = 0x02000000,
188 .addr = 0x0a400000,
189 .size = 0x00080000,
193 .addr = 0x0a000000,
194 .size = 0x00200000,
198 .addr = 0x0a200000,
199 .size = 0x00200000,
203 .addr = 0x0a000000,
204 .size = 0x00200000,
213 * MPC 0: eFlash 0 in make_mpc()
225 int i = mpc - &mms->mpc[0]; in make_mpc()
253 downstream = sysbus_mmio_get_region(SYS_BUS_DEVICE(uds), 0); in make_mpc()
267 qdev_connect_gpio_out_named(DEVICE(mpc), "irq", 0, in make_mpc()
273 return sysbus_mmio_get_region(SYS_BUS_DEVICE(mpc), 0); in make_mpc()
283 sysbus_connect_irq(SYS_BUS_DEVICE(rtc), 0, get_sse_irq_in(mms, 39)); in make_rtc()
284 return sysbus_mmio_get_region(SYS_BUS_DEVICE(rtc), 0); in make_rtc()
291 int i = uart - &mms->uart[0]; in make_uart()
299 sysbus_connect_irq(s, 0, get_sse_irq_in(mms, irqbase + 5)); /* combined */ in make_uart()
300 sysbus_connect_irq(s, 1, get_sse_irq_in(mms, irqbase + 0)); /* RX */ in make_uart()
305 return sysbus_mmio_get_region(SYS_BUS_DEVICE(uart), 0); in make_uart()
316 * address of the PPC port region: 0x40100000, and devices appear both in make_musca_a_devs()
317 * at the 0x4... NS region and the 0x5... S region. in make_musca_a_devs()
323 { "uart0", make_uart, &mms->uart[0], 0x1000, 0x1000 }, in make_musca_a_devs()
324 { "uart1", make_uart, &mms->uart[1], 0x2000, 0x1000 }, in make_musca_a_devs()
325 { "spi", make_unimp_dev, &mms->spi, 0x3000, 0x1000 }, in make_musca_a_devs()
326 { "i2c0", make_unimp_dev, &mms->i2c[0], 0x4000, 0x1000 }, in make_musca_a_devs()
327 { "i2c1", make_unimp_dev, &mms->i2c[1], 0x5000, 0x1000 }, in make_musca_a_devs()
328 { "i2s", make_unimp_dev, &mms->i2s, 0x6000, 0x1000 }, in make_musca_a_devs()
329 { "pwm0", make_unimp_dev, &mms->pwm[0], 0x7000, 0x1000 }, in make_musca_a_devs()
330 { "rtc", make_rtc, &mms->rtc, 0x8000, 0x1000 }, in make_musca_a_devs()
331 { "qspi", make_unimp_dev, &mms->qspi, 0xa000, 0x1000 }, in make_musca_a_devs()
332 { "timer", make_unimp_dev, &mms->timer, 0xb000, 0x1000 }, in make_musca_a_devs()
333 { "scc", make_unimp_dev, &mms->scc, 0xc000, 0x1000 }, in make_musca_a_devs()
334 { "pwm1", make_unimp_dev, &mms->pwm[1], 0xe000, 0x1000 }, in make_musca_a_devs()
335 { "pwm2", make_unimp_dev, &mms->pwm[2], 0xf000, 0x1000 }, in make_musca_a_devs()
336 { "gpio", make_unimp_dev, &mms->gpio, 0x10000, 0x1000 }, in make_musca_a_devs()
337 { "mpc0", make_mpc, &mms->mpc[0], 0x12000, 0x1000 }, in make_musca_a_devs()
338 { "mpc1", make_mpc, &mms->mpc[1], 0x13000, 0x1000 }, in make_musca_a_devs()
343 for (i = 0; i < ARRAY_SIZE(devices); i++) { in make_musca_a_devs()
397 for (i = 0; i < mmc->num_irqs; i++) { in musca_init()
409 qdev_connect_gpio_out(DEVICE(splitter), 0, in musca_init()
429 qdev_connect_gpio_out_named(ssedev, "sec_resp_cfg", 0, in musca_init()
430 qdev_get_gpio_in(dev_splitter, 0)); in musca_init()
450 { "musca-devices", make_musca_a_devs, 0, 0x40100000, 0x100000 }, in musca_init()
456 * Devices listed with an 0x4.. address appear in both the NS 0x4.. region in musca_init()
457 * and the 0x5.. S region. Devices listed with an 0x5.. address appear in musca_init()
463 { "eflash0", make_unimp_dev, &mms->eflash[0], in musca_init()
464 0x52400000, 0x1000 }, in musca_init()
466 0x52500000, 0x1000 }, in musca_init()
467 { "qspi", make_unimp_dev, &mms->qspi, 0x42800000, 0x100000 }, in musca_init()
468 { "mpc0", make_mpc, &mms->mpc[0], 0x52000000, 0x1000 }, in musca_init()
469 { "mpc1", make_mpc, &mms->mpc[1], 0x52100000, 0x1000 }, in musca_init()
470 { "mpc2", make_mpc, &mms->mpc[2], 0x52200000, 0x1000 }, in musca_init()
471 { "mpc3", make_mpc, &mms->mpc[3], 0x52300000, 0x1000 }, in musca_init()
472 { "mhu0", make_unimp_dev, &mms->mhu[0], 0x42600000, 0x100000 }, in musca_init()
473 { "mhu1", make_unimp_dev, &mms->mhu[1], 0x42700000, 0x100000 }, in musca_init()
479 { "mpc4", make_mpc, &mms->mpc[4], 0x52e00000, 0x1000 }, in musca_init()
484 { "pwm0", make_unimp_dev, &mms->pwm[0], 0x40101000, 0x1000 }, in musca_init()
485 { "pwm1", make_unimp_dev, &mms->pwm[1], 0x40102000, 0x1000 }, in musca_init()
486 { "pwm2", make_unimp_dev, &mms->pwm[2], 0x40103000, 0x1000 }, in musca_init()
487 { "i2s", make_unimp_dev, &mms->i2s, 0x40104000, 0x1000 }, in musca_init()
488 { "uart0", make_uart, &mms->uart[0], 0x40105000, 0x1000 }, in musca_init()
489 { "uart1", make_uart, &mms->uart[1], 0x40106000, 0x1000 }, in musca_init()
490 { "i2c0", make_unimp_dev, &mms->i2c[0], 0x40108000, 0x1000 }, in musca_init()
491 { "i2c1", make_unimp_dev, &mms->i2c[1], 0x40109000, 0x1000 }, in musca_init()
492 { "spi", make_unimp_dev, &mms->spi, 0x4010a000, 0x1000 }, in musca_init()
493 { "scc", make_unimp_dev, &mms->scc, 0x5010b000, 0x1000 }, in musca_init()
494 { "timer", make_unimp_dev, &mms->timer, 0x4010c000, 0x1000 }, in musca_init()
495 { "rtc", make_rtc, &mms->rtc, 0x4010d000, 0x1000 }, in musca_init()
496 { "pvt", make_unimp_dev, &mms->pvt, 0x4010e000, 0x1000 }, in musca_init()
497 { "sdio", make_unimp_dev, &mms->sdio, 0x4010f000, 0x1000 }, in musca_init()
502 { }, /* port 0: unused */ in musca_init()
503 { "gpio", make_unimp_dev, &mms->gpio, 0x41000000, 0x1000 }, in musca_init()
522 for (i = 0; i < num_ppcs; i++) { in musca_init()
533 for (port = 0; port < TZ_NUM_PORTS; port++) { in musca_init()
551 for (port = 0; port < TZ_NUM_PORTS; port++) { in musca_init()
573 qdev_connect_gpio_out_named(ssedev, gpioname, 0, in musca_init()
575 "irq_enable", 0)); in musca_init()
578 qdev_connect_gpio_out_named(ssedev, gpioname, 0, in musca_init()
580 "irq_clear", 0)); in musca_init()
583 qdev_connect_gpio_out_named(ppcdev, "irq", 0, in musca_init()
585 gpioname, 0)); in musca_init()
590 "cfg_sec_resp", 0)); in musca_init()
594 0, 0x2000000); in musca_init()
619 mmc->init_svtor = 0x10200000; in musca_a_class_init()
636 * uses init_svtor = 0x1A000000. QEMU doesn't currently support that, in musca_b1_class_init()
640 mmc->init_svtor = 0x10000000; in musca_b1_class_init()