]>
Commit | Line | Data |
---|---|---|
d6392ae3 | 1 | // SPDX-License-Identifier: GPL-2.0 |
a2067676 | 2 | /* |
a2067676 MK |
3 | * Keystone 2 Kepler/Hawking soc specific device tree |
4 | * | |
d6392ae3 | 5 | * Copyright (C) 2013-2017 Texas Instruments Incorporated - http://www.ti.com/ |
a2067676 MK |
6 | */ |
7 | ||
e695c718 SA |
8 | #include <dt-bindings/reset/ti-syscon.h> |
9 | ||
a2067676 | 10 | / { |
91dca0f0 NM |
11 | compatible = "ti,k2hk", "ti,keystone"; |
12 | model = "Texas Instruments Keystone 2 Kepler/Hawking SoC"; | |
13 | ||
a2067676 MK |
14 | cpus { |
15 | #address-cells = <1>; | |
16 | #size-cells = <0>; | |
17 | ||
18 | interrupt-parent = <&gic>; | |
19 | ||
20 | cpu@0 { | |
21 | compatible = "arm,cortex-a15"; | |
22 | device_type = "cpu"; | |
23 | reg = <0>; | |
24 | }; | |
25 | ||
26 | cpu@1 { | |
27 | compatible = "arm,cortex-a15"; | |
28 | device_type = "cpu"; | |
29 | reg = <1>; | |
30 | }; | |
31 | ||
32 | cpu@2 { | |
33 | compatible = "arm,cortex-a15"; | |
34 | device_type = "cpu"; | |
35 | reg = <2>; | |
36 | }; | |
37 | ||
38 | cpu@3 { | |
39 | compatible = "arm,cortex-a15"; | |
40 | device_type = "cpu"; | |
41 | reg = <3>; | |
42 | }; | |
43 | }; | |
44 | ||
877ad77f SA |
45 | aliases { |
46 | rproc0 = &dsp0; | |
47 | rproc1 = &dsp1; | |
48 | rproc2 = &dsp2; | |
49 | rproc3 = &dsp3; | |
50 | rproc4 = &dsp4; | |
51 | rproc5 = &dsp5; | |
52 | rproc6 = &dsp6; | |
53 | rproc7 = &dsp7; | |
54 | }; | |
eb08c33f | 55 | }; |
877ad77f | 56 | |
eb08c33f | 57 | &soc0 { |
5edafc29 | 58 | /include/ "keystone-k2hk-clocks.dtsi" |
a3d3ee3f | 59 | |
8dccafaa | 60 | msm_ram: msmram@c000000 { |
b4d15ba8 SA |
61 | compatible = "mmio-sram"; |
62 | reg = <0x0c000000 0x600000>; | |
63 | ranges = <0x0 0x0c000000 0x600000>; | |
64 | #address-cells = <1>; | |
65 | #size-cells = <1>; | |
2e54ecb6 SA |
66 | |
67 | sram-bm@5f0000 { | |
68 | reg = <0x5f0000 0x8000>; | |
69 | }; | |
b4d15ba8 SA |
70 | }; |
71 | ||
8dccafaa | 72 | psc: power-sleep-controller@2350000 { |
e695c718 SA |
73 | pscrst: reset-controller { |
74 | compatible = "ti,k2hk-pscrst", "ti,syscon-reset"; | |
75 | #reset-cells = <1>; | |
76 | ||
77 | ti,reset-bits = < | |
78 | 0xa3c 8 0xa3c 8 0x83c 8 (ASSERT_CLEAR | DEASSERT_SET | STATUS_CLEAR) /* 0: dsp0 */ | |
79 | 0xa40 8 0xa40 8 0x840 8 (ASSERT_CLEAR | DEASSERT_SET | STATUS_CLEAR) /* 1: dsp1 */ | |
80 | 0xa44 8 0xa44 8 0x844 8 (ASSERT_CLEAR | DEASSERT_SET | STATUS_CLEAR) /* 2: dsp2 */ | |
81 | 0xa48 8 0xa48 8 0x848 8 (ASSERT_CLEAR | DEASSERT_SET | STATUS_CLEAR) /* 3: dsp3 */ | |
82 | 0xa4c 8 0xa4c 8 0x84c 8 (ASSERT_CLEAR | DEASSERT_SET | STATUS_CLEAR) /* 4: dsp4 */ | |
83 | 0xa50 8 0xa50 8 0x850 8 (ASSERT_CLEAR | DEASSERT_SET | STATUS_CLEAR) /* 5: dsp5 */ | |
84 | 0xa54 8 0xa54 8 0x854 8 (ASSERT_CLEAR | DEASSERT_SET | STATUS_CLEAR) /* 6: dsp6 */ | |
85 | 0xa58 8 0xa58 8 0x858 8 (ASSERT_CLEAR | DEASSERT_SET | STATUS_CLEAR) /* 7: dsp7 */ | |
86 | >; | |
87 | }; | |
88 | }; | |
89 | ||
8dccafaa | 90 | dspgpio0: keystone_dsp_gpio@2620240 { |
a3d3ee3f GS |
91 | compatible = "ti,keystone-dsp-gpio"; |
92 | gpio-controller; | |
93 | #gpio-cells = <2>; | |
94 | gpio,syscon-dev = <&devctrl 0x240>; | |
95 | }; | |
96 | ||
97 | dspgpio1: keystone_dsp_gpio@2620244 { | |
98 | compatible = "ti,keystone-dsp-gpio"; | |
99 | gpio-controller; | |
100 | #gpio-cells = <2>; | |
101 | gpio,syscon-dev = <&devctrl 0x244>; | |
102 | }; | |
103 | ||
104 | dspgpio2: keystone_dsp_gpio@2620248 { | |
105 | compatible = "ti,keystone-dsp-gpio"; | |
106 | gpio-controller; | |
107 | #gpio-cells = <2>; | |
108 | gpio,syscon-dev = <&devctrl 0x248>; | |
109 | }; | |
110 | ||
111 | dspgpio3: keystone_dsp_gpio@262024c { | |
112 | compatible = "ti,keystone-dsp-gpio"; | |
113 | gpio-controller; | |
114 | #gpio-cells = <2>; | |
115 | gpio,syscon-dev = <&devctrl 0x24c>; | |
116 | }; | |
117 | ||
118 | dspgpio4: keystone_dsp_gpio@2620250 { | |
119 | compatible = "ti,keystone-dsp-gpio"; | |
120 | gpio-controller; | |
121 | #gpio-cells = <2>; | |
122 | gpio,syscon-dev = <&devctrl 0x250>; | |
123 | }; | |
124 | ||
125 | dspgpio5: keystone_dsp_gpio@2620254 { | |
126 | compatible = "ti,keystone-dsp-gpio"; | |
127 | gpio-controller; | |
128 | #gpio-cells = <2>; | |
129 | gpio,syscon-dev = <&devctrl 0x254>; | |
130 | }; | |
131 | ||
132 | dspgpio6: keystone_dsp_gpio@2620258 { | |
133 | compatible = "ti,keystone-dsp-gpio"; | |
134 | gpio-controller; | |
135 | #gpio-cells = <2>; | |
136 | gpio,syscon-dev = <&devctrl 0x258>; | |
137 | }; | |
138 | ||
139 | dspgpio7: keystone_dsp_gpio@262025c { | |
140 | compatible = "ti,keystone-dsp-gpio"; | |
141 | gpio-controller; | |
142 | #gpio-cells = <2>; | |
143 | gpio,syscon-dev = <&devctrl 0x25c>; | |
144 | }; | |
85ad3dee | 145 | |
877ad77f SA |
146 | dsp0: dsp@10800000 { |
147 | compatible = "ti,k2hk-dsp"; | |
148 | reg = <0x10800000 0x00100000>, | |
149 | <0x10e00000 0x00008000>, | |
150 | <0x10f00000 0x00008000>; | |
151 | reg-names = "l2sram", "l1pram", "l1dram"; | |
152 | clocks = <&clkgem0>; | |
153 | ti,syscon-dev = <&devctrl 0x40>; | |
154 | resets = <&pscrst 0>; | |
155 | interrupt-parent = <&kirq0>; | |
156 | interrupts = <0 8>; | |
157 | interrupt-names = "vring", "exception"; | |
158 | kick-gpios = <&dspgpio0 27 0>; | |
159 | status = "disabled"; | |
160 | }; | |
161 | ||
162 | dsp1: dsp@11800000 { | |
163 | compatible = "ti,k2hk-dsp"; | |
164 | reg = <0x11800000 0x00100000>, | |
165 | <0x11e00000 0x00008000>, | |
166 | <0x11f00000 0x00008000>; | |
167 | reg-names = "l2sram", "l1pram", "l1dram"; | |
168 | clocks = <&clkgem1>; | |
169 | ti,syscon-dev = <&devctrl 0x44>; | |
170 | resets = <&pscrst 1>; | |
171 | interrupt-parent = <&kirq0>; | |
172 | interrupts = <1 9>; | |
173 | interrupt-names = "vring", "exception"; | |
174 | kick-gpios = <&dspgpio1 27 0>; | |
175 | status = "disabled"; | |
176 | }; | |
177 | ||
178 | dsp2: dsp@12800000 { | |
179 | compatible = "ti,k2hk-dsp"; | |
180 | reg = <0x12800000 0x00100000>, | |
181 | <0x12e00000 0x00008000>, | |
182 | <0x12f00000 0x00008000>; | |
183 | reg-names = "l2sram", "l1pram", "l1dram"; | |
184 | clocks = <&clkgem2>; | |
185 | ti,syscon-dev = <&devctrl 0x48>; | |
186 | resets = <&pscrst 2>; | |
187 | interrupt-parent = <&kirq0>; | |
188 | interrupts = <2 10>; | |
189 | interrupt-names = "vring", "exception"; | |
190 | kick-gpios = <&dspgpio2 27 0>; | |
191 | status = "disabled"; | |
192 | }; | |
193 | ||
194 | dsp3: dsp@13800000 { | |
195 | compatible = "ti,k2hk-dsp"; | |
196 | reg = <0x13800000 0x00100000>, | |
197 | <0x13e00000 0x00008000>, | |
198 | <0x13f00000 0x00008000>; | |
199 | reg-names = "l2sram", "l1pram", "l1dram"; | |
200 | clocks = <&clkgem3>; | |
201 | ti,syscon-dev = <&devctrl 0x4c>; | |
202 | resets = <&pscrst 3>; | |
203 | interrupt-parent = <&kirq0>; | |
204 | interrupts = <3 11>; | |
205 | interrupt-names = "vring", "exception"; | |
206 | kick-gpios = <&dspgpio3 27 0>; | |
207 | status = "disabled"; | |
208 | }; | |
209 | ||
210 | dsp4: dsp@14800000 { | |
211 | compatible = "ti,k2hk-dsp"; | |
212 | reg = <0x14800000 0x00100000>, | |
213 | <0x14e00000 0x00008000>, | |
214 | <0x14f00000 0x00008000>; | |
215 | reg-names = "l2sram", "l1pram", "l1dram"; | |
216 | clocks = <&clkgem4>; | |
217 | ti,syscon-dev = <&devctrl 0x50>; | |
218 | resets = <&pscrst 4>; | |
219 | interrupt-parent = <&kirq0>; | |
220 | interrupts = <4 12>; | |
221 | interrupt-names = "vring", "exception"; | |
222 | kick-gpios = <&dspgpio4 27 0>; | |
223 | status = "disabled"; | |
224 | }; | |
225 | ||
226 | dsp5: dsp@15800000 { | |
227 | compatible = "ti,k2hk-dsp"; | |
228 | reg = <0x15800000 0x00100000>, | |
229 | <0x15e00000 0x00008000>, | |
230 | <0x15f00000 0x00008000>; | |
231 | reg-names = "l2sram", "l1pram", "l1dram"; | |
232 | clocks = <&clkgem5>; | |
233 | ti,syscon-dev = <&devctrl 0x54>; | |
234 | resets = <&pscrst 5>; | |
235 | interrupt-parent = <&kirq0>; | |
236 | interrupts = <5 13>; | |
237 | interrupt-names = "vring", "exception"; | |
238 | kick-gpios = <&dspgpio5 27 0>; | |
239 | status = "disabled"; | |
240 | }; | |
241 | ||
242 | dsp6: dsp@16800000 { | |
243 | compatible = "ti,k2hk-dsp"; | |
244 | reg = <0x16800000 0x00100000>, | |
245 | <0x16e00000 0x00008000>, | |
246 | <0x16f00000 0x00008000>; | |
247 | reg-names = "l2sram", "l1pram", "l1dram"; | |
248 | clocks = <&clkgem6>; | |
249 | ti,syscon-dev = <&devctrl 0x58>; | |
250 | resets = <&pscrst 6>; | |
251 | interrupt-parent = <&kirq0>; | |
252 | interrupts = <6 14>; | |
253 | interrupt-names = "vring", "exception"; | |
254 | kick-gpios = <&dspgpio6 27 0>; | |
255 | status = "disabled"; | |
256 | }; | |
257 | ||
258 | dsp7: dsp@17800000 { | |
259 | compatible = "ti,k2hk-dsp"; | |
260 | reg = <0x17800000 0x00100000>, | |
261 | <0x17e00000 0x00008000>, | |
262 | <0x17f00000 0x00008000>; | |
263 | reg-names = "l2sram", "l1pram", "l1dram"; | |
264 | clocks = <&clkgem7>; | |
265 | ti,syscon-dev = <&devctrl 0x5c>; | |
266 | resets = <&pscrst 7>; | |
267 | interrupt-parent = <&kirq0>; | |
268 | interrupts = <7 15>; | |
269 | interrupt-names = "vring", "exception"; | |
270 | kick-gpios = <&dspgpio7 27 0>; | |
271 | status = "disabled"; | |
272 | }; | |
273 | ||
8dccafaa | 274 | mdio: mdio@2090300 { |
85ad3dee MK |
275 | compatible = "ti,keystone_mdio", "ti,davinci_mdio"; |
276 | #address-cells = <1>; | |
277 | #size-cells = <0>; | |
278 | reg = <0x02090300 0x100>; | |
279 | status = "disabled"; | |
280 | clocks = <&clkcpgmac>; | |
281 | clock-names = "fck"; | |
282 | bus_freq = <2500000>; | |
283 | }; | |
5edafc29 | 284 | /include/ "keystone-k2hk-netcp.dtsi" |
a2067676 | 285 | }; |