Lines Matching +full:0 +full:x10006000

31 #define VERSATILE_FLASH_ADDR 0x34000000
68 qemu_set_irq(s->parent[s->irq], flags != 0); in vpb_sic_update()
80 qemu_set_irq(s->parent[i], (s->level & mask) != 0); in vpb_sic_update_pic()
102 case 0: /* STATUS */ in vpb_sic_read()
113 printf ("vpb_sic_read: Bad register offset 0x%x\n", (int)offset); in vpb_sic_read()
114 return 0; in vpb_sic_read()
139 s->pic_enable |= (value & 0x7fe00000); in vpb_sic_write()
147 printf ("vpb_sic_write: Bad register offset 0x%x\n", (int)offset); in vpb_sic_write()
167 for (i = 0; i < 32; i++) { in vpb_sic_init()
172 "vpb-sic", 0x1000); in vpb_sic_init()
199 if (machine->ram_size > 0x10000000) { in versatile_init()
200 /* Device starting at address 0x10000000, in versatile_init()
224 memory_region_add_subregion(sysmem, 0, machine->ram); in versatile_init()
227 qdev_prop_set_uint32(sysctl, "sys_id", 0x41007004); in versatile_init()
228 qdev_prop_set_uint32(sysctl, "proc_id", 0x02000000); in versatile_init()
230 sysbus_mmio_map(SYS_BUS_DEVICE(sysctl), 0, 0x10000000); in versatile_init()
232 dev = sysbus_create_varargs("pl190", 0x10140000, in versatile_init()
236 for (n = 0; n < 32; n++) { in versatile_init()
239 dev = sysbus_create_simple(TYPE_VERSATILE_PB_SIC, 0x10003000, NULL); in versatile_init()
240 for (n = 0; n < 32; n++) { in versatile_init()
245 sysbus_create_simple("pl050_keyboard", 0x10006000, sic[3]); in versatile_init()
246 sysbus_create_simple("pl050_mouse", 0x10007000, sic[4]); in versatile_init()
251 sysbus_mmio_map(busdev, 0, 0x10001000); /* PCI controller regs */ in versatile_init()
252 sysbus_mmio_map(busdev, 1, 0x41000000); /* PCI self-config */ in versatile_init()
253 sysbus_mmio_map(busdev, 2, 0x42000000); /* PCI config */ in versatile_init()
254 sysbus_mmio_map(busdev, 3, 0x43000000); /* PCI I/O */ in versatile_init()
255 sysbus_mmio_map(busdev, 4, 0x44000000); /* PCI memory window 1 */ in versatile_init()
256 sysbus_mmio_map(busdev, 5, 0x50000000); /* PCI memory window 2 */ in versatile_init()
257 sysbus_mmio_map(busdev, 6, 0x60000000); /* PCI memory window 3 */ in versatile_init()
258 sysbus_connect_irq(busdev, 0, sic[27]); in versatile_init()
265 smc91c111_init(0x10010000, sic[25]); in versatile_init()
273 while (n >= 0) { in versatile_init()
279 pl011_create(0x101f1000, pic[12], serial_hd(0)); in versatile_init()
280 pl011_create(0x101f2000, pic[13], serial_hd(1)); in versatile_init()
281 pl011_create(0x101f3000, pic[14], serial_hd(2)); in versatile_init()
282 pl011_create(0x10009000, sic[6], serial_hd(3)); in versatile_init()
289 sysbus_mmio_map(busdev, 0, 0x10130000); in versatile_init()
290 sysbus_connect_irq(busdev, 0, pic[17]); in versatile_init()
292 sysbus_create_simple("sp804", 0x101e2000, pic[4]); in versatile_init()
293 sysbus_create_simple("sp804", 0x101e3000, pic[5]); in versatile_init()
295 sysbus_create_simple("pl061", 0x101e4000, pic[6]); in versatile_init()
296 sysbus_create_simple("pl061", 0x101e5000, pic[7]); in versatile_init()
297 sysbus_create_simple("pl061", 0x101e6000, pic[8]); in versatile_init()
298 sysbus_create_simple("pl061", 0x101e7000, pic[9]); in versatile_init()
306 sysbus_mmio_map(SYS_BUS_DEVICE(dev), 0, 0x10120000); in versatile_init()
307 sysbus_connect_irq(SYS_BUS_DEVICE(dev), 0, pic[16]); in versatile_init()
310 qdev_connect_gpio_out(sysctl, 0, qdev_get_gpio_in(dev, 0)); in versatile_init()
312 dev = sysbus_create_varargs("pl181", 0x10005000, sic[22], sic[1], NULL); in versatile_init()
313 dinfo = drive_get(IF_SD, 0, 0); in versatile_init()
324 dev = sysbus_create_varargs("pl181", 0x1000b000, sic[23], sic[2], NULL); in versatile_init()
325 dinfo = drive_get(IF_SD, 0, 1); in versatile_init()
337 sysbus_create_simple("pl031", 0x101e8000, pic[10]); in versatile_init()
339 dev = sysbus_create_simple(TYPE_ARM_SBCON_I2C, 0x10002000, NULL); in versatile_init()
341 i2c_slave_create_simple(i2c, "ds1338", 0x68); in versatile_init()
350 sysbus_mmio_map(SYS_BUS_DEVICE(pl041), 0, 0x10004000); in versatile_init()
351 sysbus_connect_irq(SYS_BUS_DEVICE(pl041), 0, sic[24]); in versatile_init()
354 /* 0x10000000 System registers. */ in versatile_init()
355 /* 0x10001000 PCI controller config registers. */ in versatile_init()
356 /* 0x10002000 Serial bus interface. */ in versatile_init()
357 /* 0x10003000 Secondary interrupt controller. */ in versatile_init()
358 /* 0x10004000 AACI (audio). */ in versatile_init()
359 /* 0x10005000 MMCI0. */ in versatile_init()
360 /* 0x10006000 KMI0 (keyboard). */ in versatile_init()
361 /* 0x10007000 KMI1 (mouse). */ in versatile_init()
362 /* 0x10008000 Character LCD Interface. */ in versatile_init()
363 /* 0x10009000 UART3. */ in versatile_init()
364 /* 0x1000a000 Smart card 1. */ in versatile_init()
365 /* 0x1000b000 MMCI1. */ in versatile_init()
366 /* 0x10010000 Ethernet. */ in versatile_init()
367 /* 0x10020000 USB. */ in versatile_init()
368 /* 0x10100000 SSMC. */ in versatile_init()
369 /* 0x10110000 MPMC. */ in versatile_init()
370 /* 0x10120000 CLCD Controller. */ in versatile_init()
371 /* 0x10130000 DMA Controller. */ in versatile_init()
372 /* 0x10140000 Vectored interrupt controller. */ in versatile_init()
373 /* 0x101d0000 AHB Monitor Interface. */ in versatile_init()
374 /* 0x101e0000 System Controller. */ in versatile_init()
375 /* 0x101e1000 Watchdog Interface. */ in versatile_init()
376 /* 0x101e2000 Timer 0/1. */ in versatile_init()
377 /* 0x101e3000 Timer 2/3. */ in versatile_init()
378 /* 0x101e4000 GPIO port 0. */ in versatile_init()
379 /* 0x101e5000 GPIO port 1. */ in versatile_init()
380 /* 0x101e6000 GPIO port 2. */ in versatile_init()
381 /* 0x101e7000 GPIO port 3. */ in versatile_init()
382 /* 0x101e8000 RTC. */ in versatile_init()
383 /* 0x101f0000 Smart card 0. */ in versatile_init()
384 /* 0x101f1000 UART0. */ in versatile_init()
385 /* 0x101f2000 UART1. */ in versatile_init()
386 /* 0x101f3000 UART2. */ in versatile_init()
387 /* 0x101f4000 SSPI. */ in versatile_init()
388 /* 0x34000000 NOR Flash */ in versatile_init()
390 dinfo = drive_get(IF_PFLASH, 0, 0); in versatile_init()
395 4, 0x0089, 0x0018, 0x0000, 0x0, 0); in versatile_init()
404 versatile_init(machine, 0x183); in vpb_init()
409 versatile_init(machine, 0x25e); in vab_init()