]> rtime.felk.cvut.cz Git - l4.git/blob - l4/pkg/io/config/arm-rv-eb-mc.devs
update
[l4.git] / l4 / pkg / io / config / arm-rv-eb-mc.devs
1 -- vim:set ft=lua:
2 --
3 -- (c) 2008-2009 Technische Universität Dresden
4 -- This file is part of TUD:OS and distributed under the terms of the
5 -- GNU General Public License 2.
6 -- Please see the COPYING-GPL-2 file for details.
7
8 -- multi-core EB (PB11MP)
9
10 local Hw = Io.Hw
11 local Res = Io.Res
12
13 Io.hw_add_devices
14 {
15   CTRL = Hw.Device
16   {
17     hid = "System Control";
18     Res.mmio(0x10000000, 0x10000fff);
19   },
20
21   LCD = Hw.Device
22   {
23     hid = "AMBA PL110";
24     Res.mmio(0x10020000, 0x10020fff);
25   },
26
27   KBD = Hw.Device
28   {
29     hid = "AMBA KMI Kbd";
30     Res.irq(39);
31     Res.mmio(0x10006000, 0x10006fff);
32   },
33
34   MOUSE = Hw.Device
35   {
36     hid = "AMBA KMI mou";
37     Res.mmio(0x10007000, 0x10007fff);
38     Res.irq(40);
39   },
40
41   GPIO0 = Hw.Device
42   {
43     hid = "AMBA PL061 dev0";
44     Res.mmio(0x10013000, 0x10013fff);
45     Res.irq(6);
46   },
47
48   GPIO1 = Hw.Device
49   {
50     hid = "AMBA PL061 dev1";
51     Res.mmio(0x10014000, 0x10014fff);
52     Res.irq(7);
53   },
54
55   COMPACTFLASH = Hw.Device
56   {
57     hid = "compactflash"; -- FIXME: should be "XXX flash" or something
58     Res.mmio(0x18000000, 0x180000ff);
59     Res.mmio(0x18000100, 0x180003ff);
60   },
61
62   AACI = Hw.Device
63   {
64     hid = "aaci";
65     Res.mmio(0x10004000, 0x10004fff);
66     Res.irq(32);
67   },
68
69   NIC = Hw.Device
70   {
71     hid = "smsc911x";
72     Res.mmio(0x4e000000, 0x4e000fff);
73     Res.irq(41);
74   },
75
76   MEM1 = Hw.Device
77   {
78     hid = "foomem";
79     Io.Mmio_data_space(0x10000, 0);
80   },
81 }