• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*
2 * Copyright 2014 Texas Instruments, Inc.
3 *
4 * Keystone 2 Lamarr EVM 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/dts-v1/;
11
12#include "keystone.dtsi"
13#include "keystone-k2l.dtsi"
14
15/ {
16	compatible = "ti,k2l-evm", "ti,k2l", "ti,keystone";
17	model = "Texas Instruments Keystone 2 Lamarr EVM";
18
19	reserved-memory {
20		#address-cells = <2>;
21		#size-cells = <2>;
22		ranges;
23
24		dsp_common_memory: dsp-common-memory@81f800000 {
25			compatible = "shared-dma-pool";
26			reg = <0x00000008 0x1f800000 0x00000000 0x800000>;
27			reusable;
28			status = "okay";
29		};
30	};
31
32	soc {
33		clocks {
34			refclksys: refclksys {
35				#clock-cells = <0>;
36				compatible = "fixed-clock";
37				clock-frequency = <122880000>;
38				clock-output-names = "refclk-sys";
39			};
40		};
41	};
42};
43
44&usb_phy {
45	status = "okay";
46};
47
48&keystone_usb0 {
49	status = "okay";
50};
51
52&usb0 {
53	dr_mode = "host";
54};
55
56&i2c0 {
57	dtt@50 {
58		compatible = "at,24c1024";
59		reg = <0x50>;
60	};
61};
62
63&aemif {
64	cs0 {
65		#address-cells = <2>;
66		#size-cells = <1>;
67		clock-ranges;
68		ranges;
69
70		ti,cs-chipselect = <0>;
71		/* all timings in nanoseconds */
72		ti,cs-min-turnaround-ns = <12>;
73		ti,cs-read-hold-ns = <6>;
74		ti,cs-read-strobe-ns = <23>;
75		ti,cs-read-setup-ns = <9>;
76		ti,cs-write-hold-ns = <8>;
77		ti,cs-write-strobe-ns = <23>;
78		ti,cs-write-setup-ns = <8>;
79
80		nand@0,0 {
81			compatible = "ti,keystone-nand","ti,davinci-nand";
82			#address-cells = <1>;
83			#size-cells = <1>;
84			reg = <0 0 0x4000000
85			       1 0 0x0000100>;
86
87			ti,davinci-chipselect = <0>;
88			ti,davinci-mask-ale = <0x2000>;
89			ti,davinci-mask-cle = <0x4000>;
90			ti,davinci-mask-chipsel = <0>;
91			nand-ecc-mode = "hw";
92			ti,davinci-ecc-bits = <4>;
93			nand-on-flash-bbt;
94
95			partition@0 {
96				label = "u-boot";
97				reg = <0x0 0x100000>;
98				read-only;
99			};
100
101			partition@100000 {
102				label = "params";
103				reg = <0x100000 0x80000>;
104				read-only;
105			};
106
107			partition@180000 {
108				label = "ubifs";
109				reg = <0x180000 0x7FE80000>;
110			};
111		};
112	};
113};
114
115&spi0 {
116	nor_flash: n25q128a11@0 {
117		#address-cells = <1>;
118		#size-cells = <1>;
119		compatible = "Micron,n25q128a11";
120		spi-max-frequency = <54000000>;
121		m25p,fast-read;
122		reg = <0>;
123
124		partition@0 {
125			label = "u-boot-spl";
126			reg = <0x0 0x80000>;
127			read-only;
128		};
129
130		partition@1 {
131			label = "misc";
132			reg = <0x80000 0xf80000>;
133		};
134	};
135};
136
137&mdio {
138	status = "ok";
139	ethphy0: ethernet-phy@0 {
140		compatible = "marvell,88E1514", "marvell,88E1510", "ethernet-phy-ieee802.3-c22";
141		reg = <0>;
142	};
143
144	ethphy1: ethernet-phy@1 {
145		compatible = "marvell,88E1514", "marvell,88E1510", "ethernet-phy-ieee802.3-c22";
146		reg = <1>;
147	};
148};
149
150&dsp0 {
151	memory-region = <&dsp_common_memory>;
152	status = "okay";
153};
154
155&dsp1 {
156	memory-region = <&dsp_common_memory>;
157	status = "okay";
158};
159
160&dsp2 {
161	memory-region = <&dsp_common_memory>;
162	status = "okay";
163};
164
165&dsp3 {
166	memory-region = <&dsp_common_memory>;
167	status = "okay";
168};
169