1/*
2 * Copyright 2014 Texas Instruments, Inc.
3 *
4 * Keystone 2 Lamarr SoC specific device tree
5 *
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.
9 */
10
11/ {
12	compatible = "ti,k2l", "ti,keystone";
13	model = "Texas Instruments Keystone 2 Lamarr SoC";
14
15	cpus {
16		#address-cells = <1>;
17		#size-cells = <0>;
18
19		interrupt-parent = <&gic>;
20
21		cpu@0 {
22			compatible = "arm,cortex-a15";
23			device_type = "cpu";
24			reg = <0>;
25		};
26
27		cpu@1 {
28			compatible = "arm,cortex-a15";
29			device_type = "cpu";
30			reg = <1>;
31		};
32	};
33
34	soc {
35		/include/ "k2l-clocks.dtsi"
36
37		uart2: serial@02348400 {
38			compatible = "ns16550a";
39			current-speed = <115200>;
40			reg-shift = <2>;
41			reg-io-width = <4>;
42			reg = <0x02348400 0x100>;
43			clocks	= <&clkuart2>;
44			interrupts = <GIC_SPI 432 IRQ_TYPE_EDGE_RISING>;
45		};
46
47		uart3:	serial@02348800 {
48			compatible = "ns16550a";
49			current-speed = <115200>;
50			reg-shift = <2>;
51			reg-io-width = <4>;
52			reg = <0x02348800 0x100>;
53			clocks	= <&clkuart3>;
54			interrupts = <GIC_SPI 435 IRQ_TYPE_EDGE_RISING>;
55		};
56
57		dspgpio0: keystone_dsp_gpio@02620240 {
58			compatible = "ti,keystone-dsp-gpio";
59			gpio-controller;
60			#gpio-cells = <2>;
61			gpio,syscon-dev = <&devctrl 0x240>;
62		};
63
64		dspgpio1: keystone_dsp_gpio@2620244 {
65			compatible = "ti,keystone-dsp-gpio";
66			gpio-controller;
67			#gpio-cells = <2>;
68			gpio,syscon-dev = <&devctrl 0x244>;
69		};
70
71		dspgpio2: keystone_dsp_gpio@2620248 {
72			compatible = "ti,keystone-dsp-gpio";
73			gpio-controller;
74			#gpio-cells = <2>;
75			gpio,syscon-dev = <&devctrl 0x248>;
76		};
77
78		dspgpio3: keystone_dsp_gpio@262024c {
79			compatible = "ti,keystone-dsp-gpio";
80			gpio-controller;
81			#gpio-cells = <2>;
82			gpio,syscon-dev = <&devctrl 0x24c>;
83		};
84
85		mdio: mdio@26200f00 {
86			compatible	= "ti,keystone_mdio", "ti,davinci_mdio";
87			#address-cells = <1>;
88			#size-cells = <0>;
89			reg = <0x26200f00 0x100>;
90			status = "disabled";
91			clocks = <&clkcpgmac>;
92			clock-names = "fck";
93			bus_freq	= <2500000>;
94		};
95		/include/ "k2l-netcp.dtsi"
96	};
97};
98
99&spi0 {
100       ti,davinci-spi-num-cs = <5>;
101};
102
103&spi1 {
104       ti,davinci-spi-num-cs = <3>;
105};
106
107&spi2 {
108       ti,davinci-spi-num-cs = <5>;
109       /* Pin muxed. Enabled and configured by Bootloader */
110       status = "disabled";
111};
112