diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2015-03-09 05:00:19 -0400 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2015-06-24 20:30:19 -0400 |
commit | a12ebe16a5cea66c17a621ece3a557b8afda2361 (patch) | |
tree | c8f27f1b6effa09026023d68f4f03fb919d5359c | |
parent | 65bfbcdfdec5c6ba055302e25506aaf67ce3c5c7 (diff) |
ARCv2: [nsim*hs*] Support simulation platforms for HS38x cores
Cc: Grant Likely <grant.likely@linaro.org>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: devicetree@vger.kernel.org
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
-rw-r--r-- | arch/arc/boot/dts/nsim_hs.dts | 53 | ||||
-rw-r--r-- | arch/arc/boot/dts/nsim_hs_idu.dts | 72 | ||||
-rw-r--r-- | arch/arc/boot/dts/nsimosci_hs.dts | 80 | ||||
-rw-r--r-- | arch/arc/boot/dts/nsimosci_hs_idu.dts | 101 | ||||
-rw-r--r-- | arch/arc/configs/nsim_hs_defconfig | 64 | ||||
-rw-r--r-- | arch/arc/configs/nsim_hs_smp_defconfig | 63 | ||||
-rw-r--r-- | arch/arc/configs/nsimosci_hs_defconfig | 73 | ||||
-rw-r--r-- | arch/arc/configs/nsimosci_hs_smp_defconfig | 93 | ||||
-rw-r--r-- | arch/arc/plat-sim/platform.c | 2 |
9 files changed, 601 insertions, 0 deletions
diff --git a/arch/arc/boot/dts/nsim_hs.dts b/arch/arc/boot/dts/nsim_hs.dts new file mode 100644 index 000000000000..911f069e0540 --- /dev/null +++ b/arch/arc/boot/dts/nsim_hs.dts | |||
@@ -0,0 +1,53 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2014-15 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,nsim_hs"; | ||
14 | interrupt-parent = <&core_intc>; | ||
15 | |||
16 | chosen { | ||
17 | bootargs = "earlycon=arc_uart,mmio32,0xc0fc1000,115200n8 console=ttyARC0,115200n8"; | ||
18 | }; | ||
19 | |||
20 | aliases { | ||
21 | serial0 = &arcuart0; | ||
22 | }; | ||
23 | |||
24 | fpga { | ||
25 | compatible = "simple-bus"; | ||
26 | #address-cells = <1>; | ||
27 | #size-cells = <1>; | ||
28 | |||
29 | /* child and parent address space 1:1 mapped */ | ||
30 | ranges; | ||
31 | |||
32 | core_intc: core-interrupt-controller { | ||
33 | compatible = "snps,archs-intc"; | ||
34 | interrupt-controller; | ||
35 | #interrupt-cells = <1>; | ||
36 | }; | ||
37 | |||
38 | arcuart0: serial@c0fc1000 { | ||
39 | compatible = "snps,arc-uart"; | ||
40 | reg = <0xc0fc1000 0x100>; | ||
41 | interrupts = <24>; | ||
42 | clock-frequency = <80000000>; | ||
43 | current-speed = <115200>; | ||
44 | status = "okay"; | ||
45 | }; | ||
46 | |||
47 | arcpct0: pct { | ||
48 | compatible = "snps,archs-pct"; | ||
49 | #interrupt-cells = <1>; | ||
50 | interrupts = <20>; | ||
51 | }; | ||
52 | }; | ||
53 | }; | ||
diff --git a/arch/arc/boot/dts/nsim_hs_idu.dts b/arch/arc/boot/dts/nsim_hs_idu.dts new file mode 100644 index 000000000000..46ab31975612 --- /dev/null +++ b/arch/arc/boot/dts/nsim_hs_idu.dts | |||
@@ -0,0 +1,72 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2014-15 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,nsim_hs"; | ||
14 | interrupt-parent = <&core_intc>; | ||
15 | |||
16 | chosen { | ||
17 | bootargs = "earlycon=arc_uart,mmio32,0xc0fc1000,115200n8 console=ttyARC0,115200n8"; | ||
18 | }; | ||
19 | |||
20 | aliases { | ||
21 | serial0 = &arcuart0; | ||
22 | }; | ||
23 | |||
24 | fpga { | ||
25 | compatible = "simple-bus"; | ||
26 | #address-cells = <1>; | ||
27 | #size-cells = <1>; | ||
28 | |||
29 | /* child and parent address space 1:1 mapped */ | ||
30 | ranges; | ||
31 | |||
32 | core_intc: core-interrupt-controller { | ||
33 | compatible = "snps,archs-intc"; | ||
34 | interrupt-controller; | ||
35 | #interrupt-cells = <1>; | ||
36 | }; | ||
37 | |||
38 | idu_intc: idu-interrupt-controller { | ||
39 | compatible = "snps,archs-idu-intc"; | ||
40 | interrupt-controller; | ||
41 | interrupt-parent = <&core_intc>; | ||
42 | |||
43 | /* | ||
44 | * <hwirq distribution> | ||
45 | * distribution: 0=RR; 1=cpu0, 2=cpu1, 4=cpu2, 8=cpu3 | ||
46 | */ | ||
47 | #interrupt-cells = <2>; | ||
48 | |||
49 | /* | ||
50 | * upstream irqs to core intc - downstream these are | ||
51 | * "COMMON" irq 0,1.. | ||
52 | */ | ||
53 | interrupts = <24 25 26 27 28 29 30 31>; | ||
54 | }; | ||
55 | |||
56 | arcuart0: serial@c0fc1000 { | ||
57 | compatible = "snps,arc-uart"; | ||
58 | reg = <0xc0fc1000 0x100>; | ||
59 | interrupt-parent = <&idu_intc>; | ||
60 | interrupts = <0 0>; | ||
61 | clock-frequency = <80000000>; | ||
62 | current-speed = <115200>; | ||
63 | status = "okay"; | ||
64 | }; | ||
65 | |||
66 | arcpct0: pct { | ||
67 | compatible = "snps,archs-pct"; | ||
68 | #interrupt-cells = <1>; | ||
69 | interrupts = <20>; | ||
70 | }; | ||
71 | }; | ||
72 | }; | ||
diff --git a/arch/arc/boot/dts/nsimosci_hs.dts b/arch/arc/boot/dts/nsimosci_hs.dts new file mode 100644 index 000000000000..d64a96f8515a --- /dev/null +++ b/arch/arc/boot/dts/nsimosci_hs.dts | |||
@@ -0,0 +1,80 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2014-15 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_hs"; | ||
14 | clock-frequency = <20000000>; /* 20 MHZ */ | ||
15 | #address-cells = <1>; | ||
16 | #size-cells = <1>; | ||
17 | interrupt-parent = <&core_intc>; | ||
18 | |||
19 | chosen { | ||
20 | /* this is for console on PGU */ | ||
21 | /* bootargs = "console=tty0 consoleblank=0"; */ | ||
22 | /* this is for console on serial */ | ||
23 | bootargs = "earlycon=uart8250,mmio32,0xf0000000,115200n8 console=tty0 console=ttyS0,115200n8 consoleblank=0 debug"; | ||
24 | }; | ||
25 | |||
26 | aliases { | ||
27 | serial0 = &uart0; | ||
28 | }; | ||
29 | |||
30 | fpga { | ||
31 | compatible = "simple-bus"; | ||
32 | #address-cells = <1>; | ||
33 | #size-cells = <1>; | ||
34 | |||
35 | /* child and parent address space 1:1 mapped */ | ||
36 | ranges; | ||
37 | |||
38 | core_intc: core-interrupt-controller { | ||
39 | compatible = "snps,archs-intc"; | ||
40 | interrupt-controller; | ||
41 | #interrupt-cells = <1>; | ||
42 | }; | ||
43 | |||
44 | uart0: serial@f0000000 { | ||
45 | compatible = "ns8250"; | ||
46 | reg = <0xf0000000 0x2000>; | ||
47 | interrupts = <24>; | ||
48 | clock-frequency = <3686400>; | ||
49 | baud = <115200>; | ||
50 | reg-shift = <2>; | ||
51 | reg-io-width = <4>; | ||
52 | no-loopback-test = <1>; | ||
53 | }; | ||
54 | |||
55 | pgu0: pgu@f9000000 { | ||
56 | compatible = "snps,arcpgufb"; | ||
57 | reg = <0xf9000000 0x400>; | ||
58 | }; | ||
59 | |||
60 | ps2: ps2@f9001000 { | ||
61 | compatible = "snps,arc_ps2"; | ||
62 | reg = <0xf9000400 0x14>; | ||
63 | interrupts = <27>; | ||
64 | interrupt-names = "arc_ps2_irq"; | ||
65 | }; | ||
66 | |||
67 | eth0: ethernet@f0003000 { | ||
68 | compatible = "snps,oscilan"; | ||
69 | reg = <0xf0003000 0x44>; | ||
70 | interrupts = <25>, <26>; | ||
71 | interrupt-names = "rx", "tx"; | ||
72 | }; | ||
73 | |||
74 | arcpct0: pct { | ||
75 | compatible = "snps,archs-pct"; | ||
76 | #interrupt-cells = <1>; | ||
77 | interrupts = <20>; | ||
78 | }; | ||
79 | }; | ||
80 | }; | ||
diff --git a/arch/arc/boot/dts/nsimosci_hs_idu.dts b/arch/arc/boot/dts/nsimosci_hs_idu.dts new file mode 100644 index 000000000000..f6bf0ca95a57 --- /dev/null +++ b/arch/arc/boot/dts/nsimosci_hs_idu.dts | |||
@@ -0,0 +1,101 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2014-15 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_hs"; | ||
14 | clock-frequency = <5000000>; /* 5 MHZ */ | ||
15 | #address-cells = <1>; | ||
16 | #size-cells = <1>; | ||
17 | interrupt-parent = <&core_intc>; | ||
18 | |||
19 | chosen { | ||
20 | /* this is for console on serial */ | ||
21 | bootargs = "earlycon=uart8250,mmio32,0xf0000000,115200n8 console=tty0 console=ttyS0,115200n8 consoleblan=0 debug"; | ||
22 | }; | ||
23 | |||
24 | aliases { | ||
25 | serial0 = &uart0; | ||
26 | }; | ||
27 | |||
28 | fpga { | ||
29 | compatible = "simple-bus"; | ||
30 | #address-cells = <1>; | ||
31 | #size-cells = <1>; | ||
32 | |||
33 | /* child and parent address space 1:1 mapped */ | ||
34 | ranges; | ||
35 | |||
36 | core_intc: core-interrupt-controller { | ||
37 | compatible = "snps,archs-intc"; | ||
38 | interrupt-controller; | ||
39 | #interrupt-cells = <1>; | ||
40 | /* interrupts = <16 17 18 19 20 21 22 23 24 25>; */ | ||
41 | }; | ||
42 | |||
43 | idu_intc: idu-interrupt-controller { | ||
44 | compatible = "snps,archs-idu-intc"; | ||
45 | interrupt-controller; | ||
46 | interrupt-parent = <&core_intc>; | ||
47 | |||
48 | /* | ||
49 | * <hwirq distribution> | ||
50 | * distribution: 0=RR; 1=cpu0, 2=cpu1, 4=cpu2, 8=cpu3 | ||
51 | */ | ||
52 | #interrupt-cells = <2>; | ||
53 | |||
54 | /* | ||
55 | * upstream irqs to core intc - downstream these are | ||
56 | * "COMMON" irq 0,1.. | ||
57 | */ | ||
58 | interrupts = <24 25 26 27 28 29 30 31>; | ||
59 | }; | ||
60 | |||
61 | uart0: serial@f0000000 { | ||
62 | compatible = "ns8250"; | ||
63 | reg = <0xf0000000 0x2000>; | ||
64 | interrupt-parent = <&idu_intc>; | ||
65 | interrupts = <0 0>; /* cmn irq 0 -> cpu irq 24 | ||
66 | RR distribute to all cpus */ | ||
67 | clock-frequency = <3686400>; | ||
68 | baud = <115200>; | ||
69 | reg-shift = <2>; | ||
70 | reg-io-width = <4>; | ||
71 | no-loopback-test = <1>; | ||
72 | }; | ||
73 | |||
74 | pgu0: pgu@f9000000 { | ||
75 | compatible = "snps,arcpgufb"; | ||
76 | reg = <0xf9000000 0x400>; | ||
77 | }; | ||
78 | |||
79 | ps2: ps2@f9001000 { | ||
80 | compatible = "snps,arc_ps2"; | ||
81 | reg = <0xf9000400 0x14>; | ||
82 | interrupts = <3 0>; | ||
83 | interrupt-parent = <&idu_intc>; | ||
84 | interrupt-names = "arc_ps2_irq"; | ||
85 | }; | ||
86 | |||
87 | eth0: ethernet@f0003000 { | ||
88 | compatible = "snps,oscilan"; | ||
89 | reg = <0xf0003000 0x44>; | ||
90 | interrupt-parent = <&idu_intc>; | ||
91 | interrupts = <1 2>, <2 2>; | ||
92 | interrupt-names = "rx", "tx"; | ||
93 | }; | ||
94 | |||
95 | arcpct0: pct { | ||
96 | compatible = "snps,archs-pct"; | ||
97 | #interrupt-cells = <1>; | ||
98 | interrupts = <20>; | ||
99 | }; | ||
100 | }; | ||
101 | }; | ||
diff --git a/arch/arc/configs/nsim_hs_defconfig b/arch/arc/configs/nsim_hs_defconfig new file mode 100644 index 000000000000..f761a7c70761 --- /dev/null +++ b/arch/arc/configs/nsim_hs_defconfig | |||
@@ -0,0 +1,64 @@ | |||
1 | CONFIG_CROSS_COMPILE="arc-linux-uclibc-" | ||
2 | # CONFIG_LOCALVERSION_AUTO is not set | ||
3 | CONFIG_DEFAULT_HOSTNAME="ARCLinux" | ||
4 | # CONFIG_SWAP is not set | ||
5 | CONFIG_SYSVIPC=y | ||
6 | CONFIG_POSIX_MQUEUE=y | ||
7 | # CONFIG_CROSS_MEMORY_ATTACH is not set | ||
8 | CONFIG_HIGH_RES_TIMERS=y | ||
9 | CONFIG_IKCONFIG=y | ||
10 | CONFIG_IKCONFIG_PROC=y | ||
11 | CONFIG_NAMESPACES=y | ||
12 | # CONFIG_UTS_NS is not set | ||
13 | # CONFIG_PID_NS is not set | ||
14 | CONFIG_BLK_DEV_INITRD=y | ||
15 | CONFIG_INITRAMFS_SOURCE="../arc_initramfs_hs/" | ||
16 | CONFIG_KALLSYMS_ALL=y | ||
17 | CONFIG_EMBEDDED=y | ||
18 | # CONFIG_SLUB_DEBUG is not set | ||
19 | # CONFIG_COMPAT_BRK is not set | ||
20 | CONFIG_KPROBES=y | ||
21 | CONFIG_MODULES=y | ||
22 | # CONFIG_LBDAF is not set | ||
23 | # CONFIG_BLK_DEV_BSG is not set | ||
24 | # CONFIG_IOSCHED_DEADLINE is not set | ||
25 | # CONFIG_IOSCHED_CFQ is not set | ||
26 | CONFIG_ARC_PLAT_SIM=y | ||
27 | CONFIG_ISA_ARCV2=y | ||
28 | CONFIG_ARC_BUILTIN_DTB_NAME="nsim_hs" | ||
29 | CONFIG_PREEMPT=y | ||
30 | # CONFIG_COMPACTION is not set | ||
31 | CONFIG_NET=y | ||
32 | CONFIG_PACKET=y | ||
33 | CONFIG_UNIX=y | ||
34 | CONFIG_UNIX_DIAG=y | ||
35 | CONFIG_NET_KEY=y | ||
36 | CONFIG_INET=y | ||
37 | # CONFIG_IPV6 is not set | ||
38 | # CONFIG_STANDALONE is not set | ||
39 | # CONFIG_PREVENT_FIRMWARE_BUILD is not set | ||
40 | # CONFIG_FIRMWARE_IN_KERNEL is not set | ||
41 | # CONFIG_BLK_DEV is not set | ||
42 | # CONFIG_INPUT_MOUSEDEV_PSAUX is not set | ||
43 | # CONFIG_INPUT_KEYBOARD is not set | ||
44 | # CONFIG_INPUT_MOUSE is not set | ||
45 | # CONFIG_SERIO is not set | ||
46 | # CONFIG_LEGACY_PTYS is not set | ||
47 | # CONFIG_DEVKMEM is not set | ||
48 | CONFIG_SERIAL_ARC=y | ||
49 | CONFIG_SERIAL_ARC_CONSOLE=y | ||
50 | # CONFIG_HW_RANDOM is not set | ||
51 | # CONFIG_HWMON is not set | ||
52 | # CONFIG_VGA_CONSOLE is not set | ||
53 | # CONFIG_HID is not set | ||
54 | # CONFIG_USB_SUPPORT is not set | ||
55 | # CONFIG_IOMMU_SUPPORT is not set | ||
56 | CONFIG_EXT2_FS=y | ||
57 | CONFIG_EXT2_FS_XATTR=y | ||
58 | CONFIG_TMPFS=y | ||
59 | # CONFIG_MISC_FILESYSTEMS is not set | ||
60 | CONFIG_NFS_FS=y | ||
61 | # CONFIG_ENABLE_WARN_DEPRECATED is not set | ||
62 | # CONFIG_ENABLE_MUST_CHECK is not set | ||
63 | # CONFIG_DEBUG_PREEMPT is not set | ||
64 | CONFIG_XZ_DEC=y | ||
diff --git a/arch/arc/configs/nsim_hs_smp_defconfig b/arch/arc/configs/nsim_hs_smp_defconfig new file mode 100644 index 000000000000..dc6f74f41283 --- /dev/null +++ b/arch/arc/configs/nsim_hs_smp_defconfig | |||
@@ -0,0 +1,63 @@ | |||
1 | CONFIG_CROSS_COMPILE="arc-linux-uclibc-" | ||
2 | # CONFIG_LOCALVERSION_AUTO is not set | ||
3 | CONFIG_DEFAULT_HOSTNAME="ARCLinux" | ||
4 | # CONFIG_SWAP is not set | ||
5 | CONFIG_HIGH_RES_TIMERS=y | ||
6 | CONFIG_IKCONFIG=y | ||
7 | CONFIG_IKCONFIG_PROC=y | ||
8 | CONFIG_NAMESPACES=y | ||
9 | # CONFIG_UTS_NS is not set | ||
10 | # CONFIG_PID_NS is not set | ||
11 | CONFIG_BLK_DEV_INITRD=y | ||
12 | CONFIG_INITRAMFS_SOURCE="../arc_initramfs_hs/" | ||
13 | CONFIG_KALLSYMS_ALL=y | ||
14 | CONFIG_EMBEDDED=y | ||
15 | # CONFIG_SLUB_DEBUG is not set | ||
16 | # CONFIG_COMPAT_BRK is not set | ||
17 | CONFIG_KPROBES=y | ||
18 | CONFIG_MODULES=y | ||
19 | # CONFIG_LBDAF is not set | ||
20 | # CONFIG_BLK_DEV_BSG is not set | ||
21 | # CONFIG_IOSCHED_DEADLINE is not set | ||
22 | # CONFIG_IOSCHED_CFQ is not set | ||
23 | CONFIG_ARC_PLAT_SIM=y | ||
24 | CONFIG_ARC_BOARD_ML509=y | ||
25 | CONFIG_ISA_ARCV2=y | ||
26 | CONFIG_SMP=y | ||
27 | CONFIG_ARC_BUILTIN_DTB_NAME="nsim_hs_idu" | ||
28 | CONFIG_PREEMPT=y | ||
29 | # CONFIG_COMPACTION is not set | ||
30 | # CONFIG_CROSS_MEMORY_ATTACH is not set | ||
31 | CONFIG_NET=y | ||
32 | CONFIG_PACKET=y | ||
33 | CONFIG_UNIX=y | ||
34 | CONFIG_UNIX_DIAG=y | ||
35 | CONFIG_NET_KEY=y | ||
36 | CONFIG_INET=y | ||
37 | # CONFIG_IPV6 is not set | ||
38 | # CONFIG_STANDALONE is not set | ||
39 | # CONFIG_PREVENT_FIRMWARE_BUILD is not set | ||
40 | # CONFIG_FIRMWARE_IN_KERNEL is not set | ||
41 | # CONFIG_BLK_DEV is not set | ||
42 | # CONFIG_INPUT_MOUSEDEV_PSAUX is not set | ||
43 | # CONFIG_INPUT_KEYBOARD is not set | ||
44 | # CONFIG_INPUT_MOUSE is not set | ||
45 | # CONFIG_SERIO is not set | ||
46 | # CONFIG_LEGACY_PTYS is not set | ||
47 | # CONFIG_DEVKMEM is not set | ||
48 | CONFIG_SERIAL_ARC=y | ||
49 | CONFIG_SERIAL_ARC_CONSOLE=y | ||
50 | # CONFIG_HW_RANDOM is not set | ||
51 | # CONFIG_HWMON is not set | ||
52 | # CONFIG_VGA_CONSOLE is not set | ||
53 | # CONFIG_HID is not set | ||
54 | # CONFIG_USB_SUPPORT is not set | ||
55 | # CONFIG_IOMMU_SUPPORT is not set | ||
56 | CONFIG_EXT2_FS=y | ||
57 | CONFIG_EXT2_FS_XATTR=y | ||
58 | CONFIG_TMPFS=y | ||
59 | # CONFIG_MISC_FILESYSTEMS is not set | ||
60 | CONFIG_NFS_FS=y | ||
61 | # CONFIG_ENABLE_WARN_DEPRECATED is not set | ||
62 | # CONFIG_ENABLE_MUST_CHECK is not set | ||
63 | CONFIG_XZ_DEC=y | ||
diff --git a/arch/arc/configs/nsimosci_hs_defconfig b/arch/arc/configs/nsimosci_hs_defconfig new file mode 100644 index 000000000000..3fef0a210c56 --- /dev/null +++ b/arch/arc/configs/nsimosci_hs_defconfig | |||
@@ -0,0 +1,73 @@ | |||
1 | CONFIG_CROSS_COMPILE="arc-linux-uclibc-" | ||
2 | # CONFIG_LOCALVERSION_AUTO is not set | ||
3 | CONFIG_DEFAULT_HOSTNAME="ARCLinux" | ||
4 | # CONFIG_SWAP is not set | ||
5 | CONFIG_SYSVIPC=y | ||
6 | # CONFIG_CROSS_MEMORY_ATTACH is not set | ||
7 | CONFIG_NO_HZ=y | ||
8 | CONFIG_HIGH_RES_TIMERS=y | ||
9 | CONFIG_IKCONFIG=y | ||
10 | CONFIG_IKCONFIG_PROC=y | ||
11 | CONFIG_NAMESPACES=y | ||
12 | # CONFIG_UTS_NS is not set | ||
13 | # CONFIG_PID_NS is not set | ||
14 | CONFIG_BLK_DEV_INITRD=y | ||
15 | CONFIG_INITRAMFS_SOURCE="../arc_initramfs_hs/" | ||
16 | CONFIG_KALLSYMS_ALL=y | ||
17 | CONFIG_EMBEDDED=y | ||
18 | # CONFIG_SLUB_DEBUG is not set | ||
19 | # CONFIG_COMPAT_BRK is not set | ||
20 | CONFIG_KPROBES=y | ||
21 | CONFIG_MODULES=y | ||
22 | # CONFIG_LBDAF is not set | ||
23 | # CONFIG_BLK_DEV_BSG is not set | ||
24 | # CONFIG_IOSCHED_DEADLINE is not set | ||
25 | # CONFIG_IOSCHED_CFQ is not set | ||
26 | CONFIG_ARC_PLAT_SIM=y | ||
27 | CONFIG_ISA_ARCV2=y | ||
28 | CONFIG_ARC_BUILTIN_DTB_NAME="nsimosci_hs" | ||
29 | # CONFIG_COMPACTION is not set | ||
30 | CONFIG_NET=y | ||
31 | CONFIG_PACKET=y | ||
32 | CONFIG_UNIX=y | ||
33 | CONFIG_UNIX_DIAG=y | ||
34 | CONFIG_NET_KEY=y | ||
35 | CONFIG_INET=y | ||
36 | # CONFIG_IPV6 is not set | ||
37 | # CONFIG_STANDALONE is not set | ||
38 | # CONFIG_PREVENT_FIRMWARE_BUILD is not set | ||
39 | # CONFIG_FIRMWARE_IN_KERNEL is not set | ||
40 | # CONFIG_BLK_DEV is not set | ||
41 | CONFIG_NETDEVICES=y | ||
42 | CONFIG_NET_OSCI_LAN=y | ||
43 | CONFIG_INPUT_EVDEV=y | ||
44 | # CONFIG_MOUSE_PS2_ALPS is not set | ||
45 | # CONFIG_MOUSE_PS2_LOGIPS2PP is not set | ||
46 | # CONFIG_MOUSE_PS2_SYNAPTICS is not set | ||
47 | # CONFIG_MOUSE_PS2_TRACKPOINT is not set | ||
48 | CONFIG_MOUSE_PS2_TOUCHKIT=y | ||
49 | # CONFIG_SERIO_SERPORT is not set | ||
50 | CONFIG_SERIO_ARC_PS2=y | ||
51 | # CONFIG_LEGACY_PTYS is not set | ||
52 | # CONFIG_DEVKMEM is not set | ||
53 | CONFIG_SERIAL_8250=y | ||
54 | CONFIG_SERIAL_8250_CONSOLE=y | ||
55 | CONFIG_SERIAL_8250_NR_UARTS=1 | ||
56 | CONFIG_SERIAL_8250_RUNTIME_UARTS=1 | ||
57 | CONFIG_SERIAL_OF_PLATFORM=y | ||
58 | # CONFIG_HW_RANDOM is not set | ||
59 | # CONFIG_HWMON is not set | ||
60 | CONFIG_FB=y | ||
61 | # CONFIG_VGA_CONSOLE is not set | ||
62 | CONFIG_FRAMEBUFFER_CONSOLE=y | ||
63 | CONFIG_LOGO=y | ||
64 | # CONFIG_HID is not set | ||
65 | # CONFIG_USB_SUPPORT is not set | ||
66 | # CONFIG_IOMMU_SUPPORT is not set | ||
67 | CONFIG_EXT2_FS=y | ||
68 | CONFIG_EXT2_FS_XATTR=y | ||
69 | CONFIG_TMPFS=y | ||
70 | # CONFIG_MISC_FILESYSTEMS is not set | ||
71 | CONFIG_NFS_FS=y | ||
72 | # CONFIG_ENABLE_WARN_DEPRECATED is not set | ||
73 | # CONFIG_ENABLE_MUST_CHECK is not set | ||
diff --git a/arch/arc/configs/nsimosci_hs_smp_defconfig b/arch/arc/configs/nsimosci_hs_smp_defconfig new file mode 100644 index 000000000000..51784837daae --- /dev/null +++ b/arch/arc/configs/nsimosci_hs_smp_defconfig | |||
@@ -0,0 +1,93 @@ | |||
1 | CONFIG_CROSS_COMPILE="arc-linux-uclibc-" | ||
2 | CONFIG_DEFAULT_HOSTNAME="ARCLinux" | ||
3 | # CONFIG_SWAP is not set | ||
4 | CONFIG_SYSVIPC=y | ||
5 | CONFIG_NO_HZ=y | ||
6 | CONFIG_HIGH_RES_TIMERS=y | ||
7 | CONFIG_IKCONFIG=y | ||
8 | CONFIG_IKCONFIG_PROC=y | ||
9 | # CONFIG_UTS_NS is not set | ||
10 | # CONFIG_PID_NS is not set | ||
11 | CONFIG_BLK_DEV_INITRD=y | ||
12 | CONFIG_INITRAMFS_SOURCE="../arc_initramfs_hs/" | ||
13 | # CONFIG_COMPAT_BRK is not set | ||
14 | CONFIG_KPROBES=y | ||
15 | CONFIG_MODULES=y | ||
16 | # CONFIG_LBDAF is not set | ||
17 | # CONFIG_BLK_DEV_BSG is not set | ||
18 | # CONFIG_IOSCHED_DEADLINE is not set | ||
19 | # CONFIG_IOSCHED_CFQ is not set | ||
20 | CONFIG_ARC_PLAT_SIM=y | ||
21 | CONFIG_ARC_BOARD_ML509=y | ||
22 | CONFIG_ISA_ARCV2=y | ||
23 | CONFIG_SMP=y | ||
24 | CONFIG_ARC_HAS_LL64=y | ||
25 | # CONFIG_ARC_HAS_RTSC is not set | ||
26 | CONFIG_ARC_BUILTIN_DTB_NAME="nsimosci_hs_idu" | ||
27 | CONFIG_PREEMPT=y | ||
28 | # CONFIG_COMPACTION is not set | ||
29 | # CONFIG_CROSS_MEMORY_ATTACH is not set | ||
30 | CONFIG_NET=y | ||
31 | CONFIG_PACKET=y | ||
32 | CONFIG_PACKET_DIAG=y | ||
33 | CONFIG_UNIX=y | ||
34 | CONFIG_UNIX_DIAG=y | ||
35 | CONFIG_NET_KEY=y | ||
36 | CONFIG_INET=y | ||
37 | # CONFIG_INET_XFRM_MODE_TRANSPORT is not set | ||
38 | # CONFIG_INET_XFRM_MODE_TUNNEL is not set | ||
39 | # CONFIG_INET_XFRM_MODE_BEET is not set | ||
40 | # CONFIG_INET_LRO is not set | ||
41 | # CONFIG_IPV6 is not set | ||
42 | # CONFIG_WIRELESS is not set | ||
43 | # CONFIG_STANDALONE is not set | ||
44 | # CONFIG_PREVENT_FIRMWARE_BUILD is not set | ||
45 | # CONFIG_FIRMWARE_IN_KERNEL is not set | ||
46 | # CONFIG_BLK_DEV is not set | ||
47 | CONFIG_NETDEVICES=y | ||
48 | # CONFIG_NET_VENDOR_ARC is not set | ||
49 | # CONFIG_NET_CADENCE is not set | ||
50 | # CONFIG_NET_VENDOR_BROADCOM is not set | ||
51 | # CONFIG_NET_VENDOR_INTEL is not set | ||
52 | # CONFIG_NET_VENDOR_MARVELL is not set | ||
53 | # CONFIG_NET_VENDOR_MICREL is not set | ||
54 | # CONFIG_NET_VENDOR_NATSEMI is not set | ||
55 | # CONFIG_NET_VENDOR_SEEQ is not set | ||
56 | # CONFIG_NET_VENDOR_STMICRO is not set | ||
57 | # CONFIG_NET_VENDOR_VIA is not set | ||
58 | # CONFIG_NET_VENDOR_WIZNET is not set | ||
59 | CONFIG_NET_OSCI_LAN=y | ||
60 | # CONFIG_WLAN is not set | ||
61 | CONFIG_INPUT_EVDEV=y | ||
62 | CONFIG_MOUSE_PS2_TOUCHKIT=y | ||
63 | # CONFIG_SERIO_SERPORT is not set | ||
64 | CONFIG_SERIO_LIBPS2=y | ||
65 | CONFIG_SERIO_ARC_PS2=y | ||
66 | CONFIG_VT_HW_CONSOLE_BINDING=y | ||
67 | # CONFIG_LEGACY_PTYS is not set | ||
68 | # CONFIG_DEVKMEM is not set | ||
69 | CONFIG_SERIAL_8250=y | ||
70 | CONFIG_SERIAL_8250_CONSOLE=y | ||
71 | CONFIG_SERIAL_8250_NR_UARTS=1 | ||
72 | CONFIG_SERIAL_8250_RUNTIME_UARTS=1 | ||
73 | CONFIG_SERIAL_8250_DW=y | ||
74 | CONFIG_SERIAL_OF_PLATFORM=y | ||
75 | # CONFIG_HW_RANDOM is not set | ||
76 | # CONFIG_HWMON is not set | ||
77 | CONFIG_FB=y | ||
78 | CONFIG_ARCPGU_RGB888=y | ||
79 | CONFIG_ARCPGU_DISPTYPE=0 | ||
80 | # CONFIG_VGA_CONSOLE is not set | ||
81 | CONFIG_FRAMEBUFFER_CONSOLE=y | ||
82 | CONFIG_LOGO=y | ||
83 | # CONFIG_HID is not set | ||
84 | # CONFIG_USB_SUPPORT is not set | ||
85 | # CONFIG_IOMMU_SUPPORT is not set | ||
86 | CONFIG_EXT2_FS=y | ||
87 | CONFIG_EXT2_FS_XATTR=y | ||
88 | CONFIG_TMPFS=y | ||
89 | # CONFIG_MISC_FILESYSTEMS is not set | ||
90 | CONFIG_NFS_FS=y | ||
91 | # CONFIG_ENABLE_WARN_DEPRECATED is not set | ||
92 | # CONFIG_ENABLE_MUST_CHECK is not set | ||
93 | CONFIG_FTRACE=y | ||
diff --git a/arch/arc/plat-sim/platform.c b/arch/arc/plat-sim/platform.c index 8795ae2ef48a..d9e35b4a2f08 100644 --- a/arch/arc/plat-sim/platform.c +++ b/arch/arc/plat-sim/platform.c | |||
@@ -22,7 +22,9 @@ | |||
22 | 22 | ||
23 | static const char *simulation_compat[] __initconst = { | 23 | static const char *simulation_compat[] __initconst = { |
24 | "snps,nsim", | 24 | "snps,nsim", |
25 | "snps,nsim_hs", | ||
25 | "snps,nsimosci", | 26 | "snps,nsimosci", |
27 | "snps,nsimosci_hs", | ||
26 | NULL, | 28 | NULL, |
27 | }; | 29 | }; |
28 | 30 | ||