diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2016-01-19 05:30:42 -0500 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2016-05-09 00:02:29 -0400 |
commit | 2e8cd93877b2f97439e417839dbd250f0a0f12a7 (patch) | |
tree | c3b1dbd1a82d65a953ed1a46c0803a9d9eaa0239 | |
parent | 69fbd09874ded099d445271d05681529dac4d00a (diff) |
ARCv2: [dts]: Introduce HS38 specific include DTS ...
... and add them to plat-sim DTS.
This allows for future change to introduce timers in DT in single place
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
-rw-r--r-- | arch/arc/boot/dts/axc001.dtsi | 2 | ||||
-rw-r--r-- | arch/arc/boot/dts/axc003.dtsi | 2 | ||||
-rw-r--r-- | arch/arc/boot/dts/axc003_idu.dtsi | 2 | ||||
-rw-r--r-- | arch/arc/boot/dts/nsim_hs.dts | 2 | ||||
-rw-r--r-- | arch/arc/boot/dts/nsim_hs_idu.dts | 2 | ||||
-rw-r--r-- | arch/arc/boot/dts/nsimosci_hs.dts | 2 | ||||
-rw-r--r-- | arch/arc/boot/dts/nsimosci_hs_idu.dts | 2 | ||||
-rw-r--r-- | arch/arc/boot/dts/skeleton_hs.dtsi | 32 | ||||
-rw-r--r-- | arch/arc/boot/dts/skeleton_hs_idu.dtsi | 32 | ||||
-rw-r--r-- | arch/arc/boot/dts/vdk_axc003.dtsi | 2 | ||||
-rw-r--r-- | arch/arc/boot/dts/vdk_axc003_idu.dtsi | 2 |
11 files changed, 78 insertions, 4 deletions
diff --git a/arch/arc/boot/dts/axc001.dtsi b/arch/arc/boot/dts/axc001.dtsi index 420dcfde289f..c7f23c76170f 100644 --- a/arch/arc/boot/dts/axc001.dtsi +++ b/arch/arc/boot/dts/axc001.dtsi | |||
@@ -11,6 +11,8 @@ | |||
11 | * Note that this file only supports the 770D CPU | 11 | * Note that this file only supports the 770D CPU |
12 | */ | 12 | */ |
13 | 13 | ||
14 | /include/ "skeleton.dtsi" | ||
15 | |||
14 | / { | 16 | / { |
15 | compatible = "snps,arc"; | 17 | compatible = "snps,arc"; |
16 | clock-frequency = <750000000>; /* 750 MHZ */ | 18 | clock-frequency = <750000000>; /* 750 MHZ */ |
diff --git a/arch/arc/boot/dts/axc003.dtsi b/arch/arc/boot/dts/axc003.dtsi index f90fadf7f94e..4b85b70a708f 100644 --- a/arch/arc/boot/dts/axc003.dtsi +++ b/arch/arc/boot/dts/axc003.dtsi | |||
@@ -10,6 +10,8 @@ | |||
10 | * Device tree for AXC003 CPU card: HS38x UP configuration | 10 | * Device tree for AXC003 CPU card: HS38x UP configuration |
11 | */ | 11 | */ |
12 | 12 | ||
13 | /include/ "skeleton_hs.dtsi" | ||
14 | |||
13 | / { | 15 | / { |
14 | compatible = "snps,arc"; | 16 | compatible = "snps,arc"; |
15 | clock-frequency = <90000000>; | 17 | clock-frequency = <90000000>; |
diff --git a/arch/arc/boot/dts/axc003_idu.dtsi b/arch/arc/boot/dts/axc003_idu.dtsi index 06a9f294a2e6..db4032a6983a 100644 --- a/arch/arc/boot/dts/axc003_idu.dtsi +++ b/arch/arc/boot/dts/axc003_idu.dtsi | |||
@@ -10,6 +10,8 @@ | |||
10 | * Device tree for AXC003 CPU card: HS38x2 (Dual Core) with IDU intc | 10 | * Device tree for AXC003 CPU card: HS38x2 (Dual Core) with IDU intc |
11 | */ | 11 | */ |
12 | 12 | ||
13 | /include/ "skeleton_hs_idu.dtsi" | ||
14 | |||
13 | / { | 15 | / { |
14 | compatible = "snps,arc"; | 16 | compatible = "snps,arc"; |
15 | clock-frequency = <90000000>; | 17 | clock-frequency = <90000000>; |
diff --git a/arch/arc/boot/dts/nsim_hs.dts b/arch/arc/boot/dts/nsim_hs.dts index f46633eeb06b..d2f60f826bd2 100644 --- a/arch/arc/boot/dts/nsim_hs.dts +++ b/arch/arc/boot/dts/nsim_hs.dts | |||
@@ -7,7 +7,7 @@ | |||
7 | */ | 7 | */ |
8 | /dts-v1/; | 8 | /dts-v1/; |
9 | 9 | ||
10 | /include/ "skeleton.dtsi" | 10 | /include/ "skeleton_hs.dtsi" |
11 | 11 | ||
12 | / { | 12 | / { |
13 | compatible = "snps,nsim_hs"; | 13 | compatible = "snps,nsim_hs"; |
diff --git a/arch/arc/boot/dts/nsim_hs_idu.dts b/arch/arc/boot/dts/nsim_hs_idu.dts index 46ab31975612..cc82781727a1 100644 --- a/arch/arc/boot/dts/nsim_hs_idu.dts +++ b/arch/arc/boot/dts/nsim_hs_idu.dts | |||
@@ -7,7 +7,7 @@ | |||
7 | */ | 7 | */ |
8 | /dts-v1/; | 8 | /dts-v1/; |
9 | 9 | ||
10 | /include/ "skeleton.dtsi" | 10 | /include/ "skeleton_hs_idu.dtsi" |
11 | 11 | ||
12 | / { | 12 | / { |
13 | compatible = "snps,nsim_hs"; | 13 | compatible = "snps,nsim_hs"; |
diff --git a/arch/arc/boot/dts/nsimosci_hs.dts b/arch/arc/boot/dts/nsimosci_hs.dts index 034a3139c1e2..983f6915d4ae 100644 --- a/arch/arc/boot/dts/nsimosci_hs.dts +++ b/arch/arc/boot/dts/nsimosci_hs.dts | |||
@@ -7,7 +7,7 @@ | |||
7 | */ | 7 | */ |
8 | /dts-v1/; | 8 | /dts-v1/; |
9 | 9 | ||
10 | /include/ "skeleton.dtsi" | 10 | /include/ "skeleton_hs.dtsi" |
11 | 11 | ||
12 | / { | 12 | / { |
13 | compatible = "snps,nsimosci_hs"; | 13 | compatible = "snps,nsimosci_hs"; |
diff --git a/arch/arc/boot/dts/nsimosci_hs_idu.dts b/arch/arc/boot/dts/nsimosci_hs_idu.dts index 8a1297e02540..fd675303f792 100644 --- a/arch/arc/boot/dts/nsimosci_hs_idu.dts +++ b/arch/arc/boot/dts/nsimosci_hs_idu.dts | |||
@@ -7,7 +7,7 @@ | |||
7 | */ | 7 | */ |
8 | /dts-v1/; | 8 | /dts-v1/; |
9 | 9 | ||
10 | /include/ "skeleton.dtsi" | 10 | /include/ "skeleton_hs_idu.dtsi" |
11 | 11 | ||
12 | / { | 12 | / { |
13 | compatible = "snps,nsimosci_hs"; | 13 | compatible = "snps,nsimosci_hs"; |
diff --git a/arch/arc/boot/dts/skeleton_hs.dtsi b/arch/arc/boot/dts/skeleton_hs.dtsi new file mode 100644 index 000000000000..a53876669030 --- /dev/null +++ b/arch/arc/boot/dts/skeleton_hs.dtsi | |||
@@ -0,0 +1,32 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2016 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 | |||
9 | / { | ||
10 | compatible = "snps,arc"; | ||
11 | clock-frequency = <80000000>; /* 80 MHZ */ | ||
12 | #address-cells = <1>; | ||
13 | #size-cells = <1>; | ||
14 | chosen { }; | ||
15 | aliases { }; | ||
16 | |||
17 | cpus { | ||
18 | #address-cells = <1>; | ||
19 | #size-cells = <0>; | ||
20 | |||
21 | cpu@0 { | ||
22 | device_type = "cpu"; | ||
23 | compatible = "snps,archs38"; | ||
24 | reg = <0>; | ||
25 | }; | ||
26 | }; | ||
27 | |||
28 | memory { | ||
29 | device_type = "memory"; | ||
30 | reg = <0x80000000 0x10000000>; /* 256M */ | ||
31 | }; | ||
32 | }; | ||
diff --git a/arch/arc/boot/dts/skeleton_hs_idu.dtsi b/arch/arc/boot/dts/skeleton_hs_idu.dtsi new file mode 100644 index 000000000000..74898d017f7a --- /dev/null +++ b/arch/arc/boot/dts/skeleton_hs_idu.dtsi | |||
@@ -0,0 +1,32 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2016 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 | |||
9 | / { | ||
10 | compatible = "snps,arc"; | ||
11 | clock-frequency = <80000000>; /* 80 MHZ */ | ||
12 | #address-cells = <1>; | ||
13 | #size-cells = <1>; | ||
14 | chosen { }; | ||
15 | aliases { }; | ||
16 | |||
17 | cpus { | ||
18 | #address-cells = <1>; | ||
19 | #size-cells = <0>; | ||
20 | |||
21 | cpu@0 { | ||
22 | device_type = "cpu"; | ||
23 | compatible = "snps,archs38xN"; | ||
24 | reg = <0>; | ||
25 | }; | ||
26 | }; | ||
27 | |||
28 | memory { | ||
29 | device_type = "memory"; | ||
30 | reg = <0x80000000 0x10000000>; /* 256M */ | ||
31 | }; | ||
32 | }; | ||
diff --git a/arch/arc/boot/dts/vdk_axc003.dtsi b/arch/arc/boot/dts/vdk_axc003.dtsi index 84226bd48baf..4d9621ee7fcd 100644 --- a/arch/arc/boot/dts/vdk_axc003.dtsi +++ b/arch/arc/boot/dts/vdk_axc003.dtsi | |||
@@ -10,6 +10,8 @@ | |||
10 | * Device tree for AXC003 CPU card: HS38x UP configuration (VDK version) | 10 | * Device tree for AXC003 CPU card: HS38x UP configuration (VDK version) |
11 | */ | 11 | */ |
12 | 12 | ||
13 | /include/ "skeleton_hs.dtsi" | ||
14 | |||
13 | / { | 15 | / { |
14 | compatible = "snps,arc"; | 16 | compatible = "snps,arc"; |
15 | clock-frequency = <50000000>; | 17 | clock-frequency = <50000000>; |
diff --git a/arch/arc/boot/dts/vdk_axc003_idu.dtsi b/arch/arc/boot/dts/vdk_axc003_idu.dtsi index 31f0fb5fc91d..3253486a4eec 100644 --- a/arch/arc/boot/dts/vdk_axc003_idu.dtsi +++ b/arch/arc/boot/dts/vdk_axc003_idu.dtsi | |||
@@ -11,6 +11,8 @@ | |||
11 | * HS38x2 (Dual Core) with IDU intc (VDK version) | 11 | * HS38x2 (Dual Core) with IDU intc (VDK version) |
12 | */ | 12 | */ |
13 | 13 | ||
14 | /include/ "skeleton_hs_idu.dtsi" | ||
15 | |||
14 | / { | 16 | / { |
15 | compatible = "snps,arc"; | 17 | compatible = "snps,arc"; |
16 | clock-frequency = <50000000>; | 18 | clock-frequency = <50000000>; |