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 "skeleton.dtsi"
21 compatible = "ti,k2g","ti,keystone";
22 model = "Texas Instruments K2G SoC";
25 interrupt-parent = <&gic>;
36 compatible = "arm,cortex-a15";
42 gic: interrupt-controller@02561000 {
43 compatible = "arm,cortex-a15-gic";
44 #interrupt-cells = <3>;
46 reg = <0x0 0x02561000 0x0 0x1000>,
47 <0x0 0x02562000 0x0 0x2000>,
48 <0x0 0x02564000 0x0 0x1000>,
49 <0x0 0x02566000 0x0 0x2000>;
50 interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(4) |
51 IRQ_TYPE_LEVEL_HIGH)>;
55 compatible = "arm,armv7-timer";
58 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
60 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
62 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
64 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
68 compatible = "arm,cortex-a15-pmu";
69 interrupts = <GIC_SPI 4 IRQ_TYPE_EDGE_RISING>;
75 compatible = "ti,keystone","simple-bus";
76 ranges = <0x0 0x0 0x0 0xc0000000>;
77 dma-ranges = <0x80000000 0x8 0x00000000 0x80000000>;
79 k2g_pinctrl: pinmux@02621000 {
80 compatible = "pinctrl-single";
81 reg = <0x02621000 0x410>;
82 pinctrl-single,register-width = <32>;
83 pinctrl-single,function-mask = <0x001b0007>;
86 devctrl: device-state-control@02620000 {
87 compatible = "ti,keystone-devctrl", "syscon";
88 reg = <0x02620000 0x1000>;
91 uart0: serial@02530c00 {
92 compatible = "ns16550a";
93 current-speed = <115200>;
96 reg = <0x02530c00 0x100>;
97 interrupts = <GIC_SPI 164 IRQ_TYPE_EDGE_RISING>;
98 clock-frequency = <200000000>;
102 kirq0: keystone_irq@026202a0 {
103 compatible = "ti,keystone-irq";
104 interrupts = <GIC_SPI 1 IRQ_TYPE_EDGE_RISING>;
105 interrupt-controller;
106 #interrupt-cells = <1>;
107 ti,syscon-dev = <&devctrl 0x2a0>;
110 dspgpio0: keystone_dsp_gpio@02620240 {
111 compatible = "ti,keystone-dsp-gpio";
114 gpio,syscon-dev = <&devctrl 0x240>;
117 msgmgr: msgmgr@02a00000 {
118 compatible = "ti,k2g-message-manager";
120 reg-names = "queue_proxy_region",
121 "queue_state_debug_region";
122 reg = <0x02a00000 0x400000>, <0x028c3400 0x400>;
123 interrupt-names = "rx_005",
125 interrupts = <GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH>,
126 <GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH>;