blob: da0661ba3e8a058840b2e5e71438c008dea02a52 [file] [log] [blame]
Lokesh Vutla8c54a152015-09-19 15:00:21 +05301/*
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 "k2l.dtsi"
14
15/ {
16 compatible = "ti,k2l-evm","ti,keystone";
17 model = "Texas Instruments Keystone 2 Lamarr EVM";
18
19 soc {
20 clocks {
21 refclksys: refclksys {
22 #clock-cells = <0>;
23 compatible = "fixed-clock";
24 clock-frequency = <122880000>;
25 clock-output-names = "refclk-sys";
26 };
27 };
28 };
29};
30
31&usb_phy {
32 status = "okay";
33};
34
35&usb {
36 status = "okay";
37};
38
39&i2c0 {
40 dtt@50 {
41 compatible = "at,24c1024";
42 reg = <0x50>;
43 };
44};
45
46&aemif {
47 cs0 {
48 #address-cells = <2>;
49 #size-cells = <1>;
50 clock-ranges;
51 ranges;
52
53 ti,cs-chipselect = <0>;
54 /* all timings in nanoseconds */
55 ti,cs-min-turnaround-ns = <12>;
56 ti,cs-read-hold-ns = <6>;
57 ti,cs-read-strobe-ns = <23>;
58 ti,cs-read-setup-ns = <9>;
59 ti,cs-write-hold-ns = <8>;
60 ti,cs-write-strobe-ns = <23>;
61 ti,cs-write-setup-ns = <8>;
62
63 nand@0,0 {
64 compatible = "ti,keystone-nand","ti,davinci-nand";
65 #address-cells = <1>;
66 #size-cells = <1>;
67 reg = <0 0 0x4000000
68 1 0 0x0000100>;
69
70 ti,davinci-chipselect = <0>;
71 ti,davinci-mask-ale = <0x2000>;
72 ti,davinci-mask-cle = <0x4000>;
73 ti,davinci-mask-chipsel = <0>;
74 nand-ecc-mode = "hw";
75 ti,davinci-ecc-bits = <4>;
76 nand-on-flash-bbt;
77
78 partition@0 {
79 label = "u-boot";
80 reg = <0x0 0x100000>;
81 read-only;
82 };
83
84 partition@100000 {
85 label = "params";
86 reg = <0x100000 0x80000>;
87 read-only;
88 };
89
90 partition@180000 {
91 label = "ubifs";
92 reg = <0x180000 0x7FE80000>;
93 };
94 };
95 };
96};
97
98&spi0 {
Vignesh R6ceed0b2016-07-06 09:59:03 +053099 status ="okay";
Lokesh Vutla8c54a152015-09-19 15:00:21 +0530100 nor_flash: n25q128a11@0 {
101 #address-cells = <1>;
102 #size-cells = <1>;
Vignesh R6ceed0b2016-07-06 09:59:03 +0530103 compatible = "Micron,n25q128a11", "spi-flash";
Lokesh Vutla8c54a152015-09-19 15:00:21 +0530104 spi-max-frequency = <54000000>;
105 m25p,fast-read;
106 reg = <0>;
107
108 partition@0 {
109 label = "u-boot-spl";
110 reg = <0x0 0x80000>;
111 read-only;
112 };
113
114 partition@1 {
115 label = "misc";
116 reg = <0x80000 0xf80000>;
117 };
118 };
119};
120
121&mdio {
122 status = "ok";
123 ethphy0: ethernet-phy@0 {
124 compatible = "marvell,88E1514", "marvell,88E1510", "ethernet-phy-ieee802.3-c22";
125 reg = <0>;
126 };
127
128 ethphy1: ethernet-phy@1 {
129 compatible = "marvell,88E1514", "marvell,88E1510", "ethernet-phy-ieee802.3-c22";
130 reg = <1>;
131 };
132};