2 * Device Tree Source for K2G SOC
4 * Copyright (C) 2016 Texas Instruments Incorporated - http://www.ti.com/
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
10 * This program is distributed "as is" WITHOUT ANY WARRANTY of any
11 * kind, whether express or implied; without even the implied warranty
12 * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
16 #include <dt-bindings/interrupt-controller/arm-gic.h>
17 #include <dt-bindings/pinctrl/keystone.h>
18 #include <dt-bindings/gpio/gpio.h>
21 compatible = "ti,k2g","ti,keystone";
22 model = "Texas Instruments K2G SoC";
25 interrupt-parent = <&gic>;
42 compatible = "arm,cortex-a15";
48 gic: interrupt-controller@2561000 {
49 compatible = "arm,gic-400", "arm,cortex-a15-gic";
50 #interrupt-cells = <3>;
52 reg = <0x0 0x02561000 0x0 0x1000>,
53 <0x0 0x02562000 0x0 0x2000>,
54 <0x0 0x02564000 0x0 0x2000>,
55 <0x0 0x02566000 0x0 0x2000>;
56 interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(4) |
57 IRQ_TYPE_LEVEL_HIGH)>;
61 compatible = "arm,armv7-timer";
64 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
66 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
68 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
70 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
74 compatible = "arm,cortex-a15-pmu";
75 interrupts = <GIC_SPI 4 IRQ_TYPE_EDGE_RISING>;
82 compatible = "ti,keystone","simple-bus";
83 ranges = <0x0 0x0 0x0 0xc0000000>;
84 dma-ranges = <0x80000000 0x8 0x00000000 0x80000000>;
86 msm_ram: msmram@c000000 {
87 compatible = "mmio-sram";
88 reg = <0x0c000000 0x100000>;
89 ranges = <0x0 0x0c000000 0x100000>;
94 reg = <0x000f7000 0x8000>;
98 k2g_pinctrl: pinmux@2621000 {
99 compatible = "pinctrl-single";
100 reg = <0x02621000 0x410>;
101 pinctrl-single,register-width = <32>;
102 pinctrl-single,function-mask = <0x001b0007>;
105 devctrl: device-state-control@2620000 {
106 compatible = "ti,keystone-devctrl", "syscon";
107 reg = <0x02620000 0x1000>;
110 uart0: serial@2530c00 {
111 compatible = "ti,da830-uart", "ns16550a";
112 current-speed = <115200>;
115 reg = <0x02530c00 0x100>;
116 interrupts = <GIC_SPI 164 IRQ_TYPE_EDGE_RISING>;
117 clock-frequency = <200000000>;
122 compatible = "ti,am4372-d_can", "ti,am3352-d_can";
123 reg = <0x0260B200 0x200>;
124 interrupts = <GIC_SPI 190 IRQ_TYPE_EDGE_RISING>;
126 power-domains = <&k2g_pds 0x0008>;
127 clocks = <&k2g_clks 0x0008 1>;
131 compatible = "ti,am4372-d_can", "ti,am3352-d_can";
132 reg = <0x0260B400 0x200>;
133 interrupts = <GIC_SPI 193 IRQ_TYPE_EDGE_RISING>;
135 power-domains = <&k2g_pds 0x0009>;
136 clocks = <&k2g_clks 0x0009 1>;
140 compatible = "ti,keystone-i2c";
141 reg = <0x02530000 0x400>;
142 clocks = <&k2g_clks 0x003a 0>;
143 power-domains = <&k2g_pds 0x003a>;
144 interrupts = <GIC_SPI 88 IRQ_TYPE_EDGE_RISING>;
145 #address-cells = <1>;
151 compatible = "ti,keystone-i2c";
152 reg = <0x02530400 0x400>;
153 clocks = <&k2g_clks 0x003b 0>;
154 power-domains = <&k2g_pds 0x003b>;
155 interrupts = <GIC_SPI 89 IRQ_TYPE_EDGE_RISING>;
156 #address-cells = <1>;
162 compatible = "ti,keystone-i2c";
163 reg = <0x02530800 0x400>;
164 clocks = <&k2g_clks 0x003c 0>;
165 power-domains = <&k2g_pds 0x003c>;
166 interrupts = <GIC_SPI 90 IRQ_TYPE_EDGE_RISING>;
167 #address-cells = <1>;
172 kirq0: keystone_irq@26202a0 {
173 compatible = "ti,keystone-irq";
174 interrupts = <GIC_SPI 1 IRQ_TYPE_EDGE_RISING>;
175 interrupt-controller;
176 #interrupt-cells = <1>;
177 ti,syscon-dev = <&devctrl 0x2a0>;
180 dspgpio0: keystone_dsp_gpio@2620240 {
181 compatible = "ti,keystone-dsp-gpio";
184 gpio,syscon-dev = <&devctrl 0x240>;
188 compatible = "ti,k2g-dsp";
189 reg = <0x10800000 0x00100000>,
190 <0x10e00000 0x00008000>,
191 <0x10f00000 0x00008000>;
192 reg-names = "l2sram", "l1pram", "l1dram";
193 power-domains = <&k2g_pds 0x0046>;
194 ti,syscon-dev = <&devctrl 0x844>;
195 resets = <&k2g_reset 0x0046 0x1>;
196 interrupt-parent = <&kirq0>;
198 interrupt-names = "vring", "exception";
199 kick-gpios = <&dspgpio0 27 0>;
203 msgmgr: msgmgr@2a00000 {
204 compatible = "ti,k2g-message-manager";
206 reg-names = "queue_proxy_region",
207 "queue_state_debug_region";
208 reg = <0x02a00000 0x400000>, <0x028c3400 0x400>;
209 interrupt-names = "rx_005",
211 interrupts = <GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH>,
212 <GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH>;
216 compatible = "ti,k2g-sci";
218 * In case of rare platforms that does not use k2g as
219 * system master, use /delete-property/
221 ti,system-reboot-controller;
222 mbox-names = "rx", "tx";
223 mboxes= <&msgmgr 5 2>,
225 reg-names = "debug_messages";
226 reg = <0x02921c00 0x400>;
228 k2g_pds: power-controller {
229 compatible = "ti,sci-pm-domain";
230 #power-domain-cells = <1>;
234 compatible = "ti,k2g-sci-clk";
238 k2g_reset: reset-controller {
239 compatible = "ti,sci-reset";
244 gpio0: gpio@2603000 {
245 compatible = "ti,k2g-gpio", "ti,keystone-gpio";
246 reg = <0x02603000 0x100>;
250 interrupts = <GIC_SPI 432 IRQ_TYPE_EDGE_RISING>,
251 <GIC_SPI 433 IRQ_TYPE_EDGE_RISING>,
252 <GIC_SPI 434 IRQ_TYPE_EDGE_RISING>,
253 <GIC_SPI 435 IRQ_TYPE_EDGE_RISING>,
254 <GIC_SPI 436 IRQ_TYPE_EDGE_RISING>,
255 <GIC_SPI 437 IRQ_TYPE_EDGE_RISING>,
256 <GIC_SPI 438 IRQ_TYPE_EDGE_RISING>,
257 <GIC_SPI 439 IRQ_TYPE_EDGE_RISING>,
258 <GIC_SPI 440 IRQ_TYPE_EDGE_RISING>;
259 interrupt-controller;
260 #interrupt-cells = <2>;
262 ti,davinci-gpio-unbanked = <0>;
263 clocks = <&k2g_clks 0x001b 0x0>;
264 clock-names = "gpio";
267 gpio1: gpio@260a000 {
268 compatible = "ti,k2g-gpio", "ti,keystone-gpio";
269 reg = <0x0260a000 0x100>;
272 interrupts = <GIC_SPI 442 IRQ_TYPE_EDGE_RISING>,
273 <GIC_SPI 443 IRQ_TYPE_EDGE_RISING>,
274 <GIC_SPI 444 IRQ_TYPE_EDGE_RISING>,
275 <GIC_SPI 445 IRQ_TYPE_EDGE_RISING>,
276 <GIC_SPI 446 IRQ_TYPE_EDGE_RISING>;
277 interrupt-controller;
278 #interrupt-cells = <2>;
280 ti,davinci-gpio-unbanked = <0>;
281 clocks = <&k2g_clks 0x001c 0x0>;
282 clock-names = "gpio";
285 edma0: edma@2700000 {
286 compatible = "ti,k2g-edma3-tpcc", "ti,edma3-tpcc";
287 reg = <0x02700000 0x8000>;
288 reg-names = "edma3_cc";
289 interrupts = <GIC_SPI 200 IRQ_TYPE_EDGE_RISING>,
290 <GIC_SPI 216 IRQ_TYPE_EDGE_RISING>,
291 <GIC_SPI 217 IRQ_TYPE_EDGE_RISING>;
292 interrupt-names = "edma3_ccint", "emda3_mperr",
297 ti,tptcs = <&edma0_tptc0 7>, <&edma0_tptc1 0>;
299 ti,edma-memcpy-channels = <32 33 34 35>;
301 power-domains = <&k2g_pds 0x3f>;
304 edma0_tptc0: tptc@2760000 {
305 compatible = "ti,k2g-edma3-tptc", "ti,edma3-tptc";
306 reg = <0x02760000 0x400>;
307 power-domains = <&k2g_pds 0x3f>;
310 edma0_tptc1: tptc@2768000 {
311 compatible = "ti,k2g-edma3-tptc", "ti,edma3-tptc";
312 reg = <0x02768000 0x400>;
313 power-domains = <&k2g_pds 0x3f>;
316 edma1: edma@2728000 {
317 compatible = "ti,k2g-edma3-tpcc", "ti,edma3-tpcc";
318 reg = <0x02728000 0x8000>;
319 reg-names = "edma3_cc";
320 interrupts = <GIC_SPI 208 IRQ_TYPE_EDGE_RISING>,
321 <GIC_SPI 219 IRQ_TYPE_EDGE_RISING>,
322 <GIC_SPI 220 IRQ_TYPE_EDGE_RISING>;
323 interrupt-names = "edma3_ccint", "emda3_mperr",
328 ti,tptcs = <&edma1_tptc0 7>, <&edma1_tptc1 0>;
331 * memcpy is disabled, can be enabled with:
332 * ti,edma-memcpy-channels = <12 13 14 15>;
336 power-domains = <&k2g_pds 0x4f>;
339 edma1_tptc0: tptc@27b0000 {
340 compatible = "ti,k2g-edma3-tptc", "ti,edma3-tptc";
341 reg = <0x027b0000 0x400>;
342 power-domains = <&k2g_pds 0x4f>;
345 edma1_tptc1: tptc@27b8000 {
346 compatible = "ti,k2g-edma3-tptc", "ti,edma3-tptc";
347 reg = <0x027b8000 0x400>;
348 power-domains = <&k2g_pds 0x4f>;
352 compatible = "ti,k2g-hsmmc", "ti,omap4-hsmmc";
353 reg = <0x23000000 0x400>;
354 interrupts = <GIC_SPI 96 IRQ_TYPE_EDGE_RISING>;
355 dmas = <&edma1 24 0>, <&edma1 25 0>;
356 dma-names = "tx", "rx";
358 ti,needs-special-reset;
360 max-frequency = <96000000>;
361 power-domains = <&k2g_pds 0xb>;
362 clocks = <&k2g_clks 0xb 1>, <&k2g_clks 0xb 2>;
363 clock-names = "fck", "mmchsdb_fck";
368 compatible = "ti,k2g-hsmmc", "ti,omap4-hsmmc";
369 reg = <0x23100000 0x400>;
370 interrupts = <GIC_SPI 97 IRQ_TYPE_EDGE_RISING>;
371 dmas = <&edma1 26 0>, <&edma1 27 0>;
372 dma-names = "tx", "rx";
374 ti,needs-special-reset;
376 max-frequency = <96000000>;
377 power-domains = <&k2g_pds 0xc>;
378 clocks = <&k2g_clks 0xc 1>, <&k2g_clks 0xc 2>;
379 clock-names = "fck", "mmchsdb_fck";
383 mcasp0: mcasp@2340000 {
384 compatible = "ti,am33xx-mcasp-audio";
385 reg = <0x02340000 0x2000>,
387 reg-names = "mpu","dat";
388 interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>,
389 <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
390 interrupt-names = "tx", "rx";
391 dmas = <&edma0 24 1>, <&edma0 25 1>;
392 dma-names = "tx", "rx";
393 power-domains = <&k2g_pds 0x4>;
394 clocks = <&k2g_clks 0x4 0>;
399 mcasp1: mcasp@2342000 {
400 compatible = "ti,am33xx-mcasp-audio";
401 reg = <0x02342000 0x2000>,
403 reg-names = "mpu","dat";
404 interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>,
405 <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
406 interrupt-names = "tx", "rx";
407 dmas = <&edma1 48 1>, <&edma1 49 1>;
408 dma-names = "tx", "rx";
409 power-domains = <&k2g_pds 0x5>;
410 clocks = <&k2g_clks 0x5 0>;
415 mcasp2: mcasp@2344000 {
416 compatible = "ti,am33xx-mcasp-audio";
417 reg = <0x02344000 0x2000>,
419 reg-names = "mpu","dat";
420 interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>,
421 <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
422 interrupt-names = "tx", "rx";
423 dmas = <&edma1 50 1>, <&edma1 51 1>;
424 dma-names = "tx", "rx";
425 power-domains = <&k2g_pds 0x6>;
426 clocks = <&k2g_clks 0x6 0>;
431 usb0_phy: usb-phy@0 {
432 compatible = "usb-nop-xceiv";
436 keystone_usb0: keystone-dwc3@2680000 {
437 compatible = "ti,keystone-dwc3";
438 #address-cells = <1>;
440 reg = <0x2680000 0x10000>;
441 interrupts = <GIC_SPI 128 IRQ_TYPE_EDGE_RISING>;
446 power-domains = <&k2g_pds 0x0016>;
449 compatible = "snps,dwc3";
450 reg = <0x2690000 0x10000>;
451 interrupts = <GIC_SPI 128 IRQ_TYPE_EDGE_RISING>;
452 maximum-speed = "high-speed";
454 usb-phy = <&usb0_phy>;
459 usb1_phy: usb-phy@1 {
460 compatible = "usb-nop-xceiv";
464 keystone_usb1: keystone-dwc3@2580000 {
465 compatible = "ti,keystone-dwc3";
466 #address-cells = <1>;
468 reg = <0x2580000 0x10000>;
469 interrupts = <GIC_SPI 144 IRQ_TYPE_EDGE_RISING>;
474 power-domains = <&k2g_pds 0x0017>;
477 compatible = "snps,dwc3";
478 reg = <0x2590000 0x10000>;
479 interrupts = <GIC_SPI 144 IRQ_TYPE_EDGE_RISING>;
480 maximum-speed = "high-speed";
482 usb-phy = <&usb1_phy>;
488 compatible = "ti,k2g-ecap", "ti,am3352-ecap";
490 reg = <0x021d1800 0x60>;
491 power-domains = <&k2g_pds 0x38>;
492 clocks = <&k2g_clks 0x38 0>;
498 compatible = "ti,k2g-ecap", "ti,am3352-ecap";
500 reg = <0x021d1c00 0x60>;
501 power-domains = <&k2g_pds 0x39>;
502 clocks = <&k2g_clks 0x39 0x0>;
508 compatible = "ti,keystone-spi";
509 reg = <0x21805400 0x200>;
511 ti,davinci-spi-intr-line = <0>;
512 interrupts = <GIC_SPI 64 IRQ_TYPE_EDGE_RISING>;
513 #address-cells = <1>;
515 power-domains = <&k2g_pds 0x0010>;
516 clocks = <&k2g_clks 0x0010 0>;
520 compatible = "ti,keystone-spi";
521 reg = <0x21805800 0x200>;
523 ti,davinci-spi-intr-line = <0>;
524 interrupts = <GIC_SPI 66 IRQ_TYPE_EDGE_RISING>;
525 #address-cells = <1>;
527 power-domains = <&k2g_pds 0x0011>;
528 clocks = <&k2g_clks 0x0011 0>;
532 compatible = "ti,keystone-spi";
533 reg = <0x21805C00 0x200>;
535 ti,davinci-spi-intr-line = <0>;
536 interrupts = <GIC_SPI 68 IRQ_TYPE_EDGE_RISING>;
537 #address-cells = <1>;
539 power-domains = <&k2g_pds 0x0012>;
540 clocks = <&k2g_clks 0x0012 0>;
544 compatible = "ti,keystone-spi";
545 reg = <0x21806000 0x200>;
547 ti,davinci-spi-intr-line = <0>;
548 interrupts = <GIC_SPI 70 IRQ_TYPE_EDGE_RISING>;
549 #address-cells = <1>;
551 power-domains = <&k2g_pds 0x0013>;
552 clocks = <&k2g_clks 0x0013 0>;