diff options
author | Vinayak Kale <vkale@apm.com> | 2013-04-24 05:07:00 -0400 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2013-06-20 12:03:59 -0400 |
commit | ee877b5321c4dfee9dc9f2a12b19ddcd33149f6a (patch) | |
tree | d0d68c2acec9dcc5f61994730b435ae499d2077c /arch | |
parent | 4ad637a452d5683ca7ff9e9eb994ac4b7a517073 (diff) |
arm64: Add initial DTS for APM X-Gene Storm SOC and APM Mustang board
This patch adds initial DTS files required for APM Mustang board.
Signed-off-by: Kumar Sankaran <ksankaran@apm.com>
Signed-off-by: Loc Ho <lho@apm.com>
Signed-off-by: Feng Kan <fkan@apm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm64/boot/dts/Makefile | 1 | ||||
-rw-r--r-- | arch/arm64/boot/dts/apm-mustang.dts | 26 | ||||
-rw-r--r-- | arch/arm64/boot/dts/apm-storm.dtsi | 116 |
3 files changed, 143 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/Makefile b/arch/arm64/boot/dts/Makefile index 68457e9e0975..c52bdb051f66 100644 --- a/arch/arm64/boot/dts/Makefile +++ b/arch/arm64/boot/dts/Makefile | |||
@@ -1,4 +1,5 @@ | |||
1 | dtb-$(CONFIG_ARCH_VEXPRESS) += rtsm_ve-aemv8a.dtb foundation-v8.dtb | 1 | dtb-$(CONFIG_ARCH_VEXPRESS) += rtsm_ve-aemv8a.dtb foundation-v8.dtb |
2 | dtb-$(CONFIG_ARCH_XGENE) += apm-mustang.dtb | ||
2 | 3 | ||
3 | targets += dtbs | 4 | targets += dtbs |
4 | targets += $(dtb-y) | 5 | targets += $(dtb-y) |
diff --git a/arch/arm64/boot/dts/apm-mustang.dts b/arch/arm64/boot/dts/apm-mustang.dts new file mode 100644 index 000000000000..1247ca1200b1 --- /dev/null +++ b/arch/arm64/boot/dts/apm-mustang.dts | |||
@@ -0,0 +1,26 @@ | |||
1 | /* | ||
2 | * dts file for AppliedMicro (APM) Mustang Board | ||
3 | * | ||
4 | * Copyright (C) 2013, Applied Micro Circuits Corporation | ||
5 | * | ||
6 | * This program is free software; you can redistribute it and/or | ||
7 | * modify it under the terms of the GNU General Public License as | ||
8 | * published by the Free Software Foundation; either version 2 of | ||
9 | * the License, or (at your option) any later version. | ||
10 | */ | ||
11 | |||
12 | /dts-v1/; | ||
13 | |||
14 | /include/ "apm-storm.dtsi" | ||
15 | |||
16 | / { | ||
17 | model = "APM X-Gene Mustang board"; | ||
18 | compatible = "apm,mustang", "apm,xgene-storm"; | ||
19 | |||
20 | chosen { }; | ||
21 | |||
22 | memory { | ||
23 | device_type = "memory"; | ||
24 | reg = < 0x1 0x00000000 0x0 0x80000000 >; /* Updated by bootloader */ | ||
25 | }; | ||
26 | }; | ||
diff --git a/arch/arm64/boot/dts/apm-storm.dtsi b/arch/arm64/boot/dts/apm-storm.dtsi new file mode 100644 index 000000000000..bfdc57834929 --- /dev/null +++ b/arch/arm64/boot/dts/apm-storm.dtsi | |||
@@ -0,0 +1,116 @@ | |||
1 | /* | ||
2 | * dts file for AppliedMicro (APM) X-Gene Storm SOC | ||
3 | * | ||
4 | * Copyright (C) 2013, Applied Micro Circuits Corporation | ||
5 | * | ||
6 | * This program is free software; you can redistribute it and/or | ||
7 | * modify it under the terms of the GNU General Public License as | ||
8 | * published by the Free Software Foundation; either version 2 of | ||
9 | * the License, or (at your option) any later version. | ||
10 | */ | ||
11 | |||
12 | / { | ||
13 | compatible = "apm,xgene-storm"; | ||
14 | interrupt-parent = <&gic>; | ||
15 | #address-cells = <2>; | ||
16 | #size-cells = <2>; | ||
17 | |||
18 | cpus { | ||
19 | #address-cells = <2>; | ||
20 | #size-cells = <0>; | ||
21 | |||
22 | cpu@000 { | ||
23 | device_type = "cpu"; | ||
24 | compatible = "apm,potenza", "arm,armv8"; | ||
25 | reg = <0x0 0x000>; | ||
26 | enable-method = "spin-table"; | ||
27 | cpu-release-addr = <0x1 0x0000fff8>; | ||
28 | }; | ||
29 | cpu@001 { | ||
30 | device_type = "cpu"; | ||
31 | compatible = "apm,potenza", "arm,armv8"; | ||
32 | reg = <0x0 0x001>; | ||
33 | enable-method = "spin-table"; | ||
34 | cpu-release-addr = <0x1 0x0000fff8>; | ||
35 | }; | ||
36 | cpu@100 { | ||
37 | device_type = "cpu"; | ||
38 | compatible = "apm,potenza", "arm,armv8"; | ||
39 | reg = <0x0 0x100>; | ||
40 | enable-method = "spin-table"; | ||
41 | cpu-release-addr = <0x1 0x0000fff8>; | ||
42 | }; | ||
43 | cpu@101 { | ||
44 | device_type = "cpu"; | ||
45 | compatible = "apm,potenza", "arm,armv8"; | ||
46 | reg = <0x0 0x101>; | ||
47 | enable-method = "spin-table"; | ||
48 | cpu-release-addr = <0x1 0x0000fff8>; | ||
49 | }; | ||
50 | cpu@200 { | ||
51 | device_type = "cpu"; | ||
52 | compatible = "apm,potenza", "arm,armv8"; | ||
53 | reg = <0x0 0x200>; | ||
54 | enable-method = "spin-table"; | ||
55 | cpu-release-addr = <0x1 0x0000fff8>; | ||
56 | }; | ||
57 | cpu@201 { | ||
58 | device_type = "cpu"; | ||
59 | compatible = "apm,potenza", "arm,armv8"; | ||
60 | reg = <0x0 0x201>; | ||
61 | enable-method = "spin-table"; | ||
62 | cpu-release-addr = <0x1 0x0000fff8>; | ||
63 | }; | ||
64 | cpu@300 { | ||
65 | device_type = "cpu"; | ||
66 | compatible = "apm,potenza", "arm,armv8"; | ||
67 | reg = <0x0 0x300>; | ||
68 | enable-method = "spin-table"; | ||
69 | cpu-release-addr = <0x1 0x0000fff8>; | ||
70 | }; | ||
71 | cpu@301 { | ||
72 | device_type = "cpu"; | ||
73 | compatible = "apm,potenza", "arm,armv8"; | ||
74 | reg = <0x0 0x301>; | ||
75 | enable-method = "spin-table"; | ||
76 | cpu-release-addr = <0x1 0x0000fff8>; | ||
77 | }; | ||
78 | }; | ||
79 | |||
80 | gic: interrupt-controller@78010000 { | ||
81 | compatible = "arm,cortex-a15-gic"; | ||
82 | #interrupt-cells = <3>; | ||
83 | interrupt-controller; | ||
84 | reg = <0x0 0x78010000 0x0 0x1000>, /* GIC Dist */ | ||
85 | <0x0 0x78020000 0x0 0x1000>, /* GIC CPU */ | ||
86 | <0x0 0x78040000 0x0 0x2000>, /* GIC VCPU Control */ | ||
87 | <0x0 0x78060000 0x0 0x2000>; /* GIC VCPU */ | ||
88 | interrupts = <1 9 0xf04>; /* GIC Maintenence IRQ */ | ||
89 | }; | ||
90 | |||
91 | timer { | ||
92 | compatible = "arm,armv8-timer"; | ||
93 | interrupts = <1 0 0xff01>, /* Secure Phys IRQ */ | ||
94 | <1 13 0xff01>, /* Non-secure Phys IRQ */ | ||
95 | <1 14 0xff01>, /* Virt IRQ */ | ||
96 | <1 15 0xff01>; /* Hyp IRQ */ | ||
97 | clock-frequency = <50000000>; | ||
98 | }; | ||
99 | |||
100 | soc { | ||
101 | compatible = "simple-bus"; | ||
102 | #address-cells = <2>; | ||
103 | #size-cells = <2>; | ||
104 | ranges; | ||
105 | |||
106 | serial0: serial@1c020000 { | ||
107 | device_type = "serial"; | ||
108 | compatible = "ns16550"; | ||
109 | reg = <0 0x1c020000 0x0 0x1000>; | ||
110 | reg-shift = <2>; | ||
111 | clock-frequency = <10000000>; /* Updated by bootloader */ | ||
112 | interrupt-parent = <&gic>; | ||
113 | interrupts = <0x0 0x4c 0x4>; | ||
114 | }; | ||
115 | }; | ||
116 | }; | ||