diff options
author | Mischa Jonker <mjonker@synopsys.com> | 2013-04-18 05:40:39 -0400 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2013-05-07 04:14:00 -0400 |
commit | a92a5d0dce5b02fa34792e313b5fe3d7d317b17b (patch) | |
tree | 736da5d91df8995fe1cec7d4676007822a4784da /arch/arc/boot | |
parent | 0dfad77d0a03ea8e716d5a97d6387a999fd324dd (diff) |
ARC: Add support for nSIM OSCI System C model
This adds support for an ARC Virtual Platform. This platform is based on the
System C standard promoted by the OSCI (Open System C Initiative) and uses
nSIM to simulate the ARC CPU core itself.
Users can build a virtual SoC by combining System C models of peripherals
and CPU cores.
Signed-off-by: Mischa Jonker <mjonker@synopsys.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/boot')
-rw-r--r-- | arch/arc/boot/dts/nsimosci.dts | 77 |
1 files changed, 77 insertions, 0 deletions
diff --git a/arch/arc/boot/dts/nsimosci.dts b/arch/arc/boot/dts/nsimosci.dts new file mode 100644 index 000000000000..ea16d782af58 --- /dev/null +++ b/arch/arc/boot/dts/nsimosci.dts | |||
@@ -0,0 +1,77 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Synopsys, Inc. (www.synopsys.com) | ||
3 | * | ||
4 | * This program is free software; you can redistribute it and/or modify | ||
5 | * it under the terms of the GNU General Public License version 2 as | ||
6 | * published by the Free Software Foundation. | ||
7 | */ | ||
8 | /dts-v1/; | ||
9 | |||
10 | /include/ "skeleton.dtsi" | ||
11 | |||
12 | / { | ||
13 | compatible = "snps,nsimosci"; | ||
14 | clock-frequency = <80000000>; /* 80 MHZ */ | ||
15 | #address-cells = <1>; | ||
16 | #size-cells = <1>; | ||
17 | interrupt-parent = <&intc>; | ||
18 | |||
19 | chosen { | ||
20 | bootargs = "console=tty0 consoleblank=0"; | ||
21 | }; | ||
22 | |||
23 | aliases { | ||
24 | serial0 = &uart0; | ||
25 | }; | ||
26 | |||
27 | memory { | ||
28 | device_type = "memory"; | ||
29 | reg = <0x80000000 0x10000000>; /* 256M */ | ||
30 | }; | ||
31 | |||
32 | fpga { | ||
33 | compatible = "simple-bus"; | ||
34 | #address-cells = <1>; | ||
35 | #size-cells = <1>; | ||
36 | |||
37 | /* child and parent address space 1:1 mapped */ | ||
38 | ranges; | ||
39 | |||
40 | intc: interrupt-controller { | ||
41 | compatible = "snps,arc700-intc"; | ||
42 | interrupt-controller; | ||
43 | #interrupt-cells = <1>; | ||
44 | }; | ||
45 | |||
46 | uart0: serial@c0000000 { | ||
47 | compatible = "snps,dw-apb-uart"; | ||
48 | reg = <0xc0000000 0x2000>; | ||
49 | interrupts = <11>; | ||
50 | #clock-frequency = <80000000>; | ||
51 | clock-frequency = <3686400>; | ||
52 | baud = <115200>; | ||
53 | reg-shift = <2>; | ||
54 | reg-io-width = <4>; | ||
55 | status = "okay"; | ||
56 | }; | ||
57 | |||
58 | pgu0: pgu@c9000000 { | ||
59 | compatible = "snps,arcpgufb"; | ||
60 | reg = <0xc9000000 0x400>; | ||
61 | }; | ||
62 | |||
63 | ps2: ps2@c9001000 { | ||
64 | compatible = "snps,arc_ps2"; | ||
65 | reg = <0xc9000400 0x14>; | ||
66 | interrupts = <13>; | ||
67 | interrupt-names = "arc_ps2_irq"; | ||
68 | }; | ||
69 | |||
70 | eth0: ethernet@c0003000 { | ||
71 | compatible = "snps,oscilan"; | ||
72 | reg = <0xc0003000 0x44>; | ||
73 | interrupts = <7>, <8>; | ||
74 | interrupt-names = "rx", "tx"; | ||
75 | }; | ||
76 | }; | ||
77 | }; | ||