blob: ae1ebe7ee0217e8a44d0e607149ced326a6070dc [file] [log] [blame]
Murali Karicheri209636b2014-02-24 11:05:07 -05001/*
2 * Copyright 2013-2014 Texas Instruments, Inc.
3 *
4 * Keystone 2 Edison 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"
Nishanth Menon5edafc22016-03-22 09:06:22 -070013#include "keystone-k2e.dtsi"
Murali Karicheri209636b2014-02-24 11:05:07 -050014
15/ {
Nishanth Menon91dca0f2015-10-03 17:02:56 -070016 compatible = "ti,k2e-evm", "ti,k2e", "ti,keystone";
Murali Karicheri209636b2014-02-24 11:05:07 -050017 model = "Texas Instruments Keystone 2 Edison EVM";
18
19 soc {
20
21 clocks {
22 refclksys: refclksys {
23 #clock-cells = <0>;
24 compatible = "fixed-clock";
25 clock-frequency = <100000000>;
26 clock-output-names = "refclk-sys";
27 };
28
29 refclkpass: refclkpass {
30 #clock-cells = <0>;
31 compatible = "fixed-clock";
32 clock-frequency = <100000000>;
33 clock-output-names = "refclk-pass";
34 };
35
36 refclkddr3a: refclkddr3a {
37 #clock-cells = <0>;
38 compatible = "fixed-clock";
39 clock-frequency = <100000000>;
40 clock-output-names = "refclk-ddr3a";
41 };
42 };
43 };
44};
45
46&usb_phy {
47 status = "okay";
48};
49
Grygorii Strashko64497842016-08-31 16:29:59 -040050&keystone_usb0 {
Murali Karicheri209636b2014-02-24 11:05:07 -050051 status = "okay";
52};
53
Grygorii Strashko64497842016-08-31 16:29:59 -040054&usb0 {
55 dr_mode = "host";
56};
57
Murali Karicheri209636b2014-02-24 11:05:07 -050058&usb1_phy {
59 status = "okay";
60};
61
Grygorii Strashko64497842016-08-31 16:29:59 -040062&keystone_usb1 {
Murali Karicheri209636b2014-02-24 11:05:07 -050063 status = "okay";
64};
Grygorii Strashkoe42d8a72014-04-08 14:46:07 +030065
Grygorii Strashko64497842016-08-31 16:29:59 -040066&usb1 {
67 dr_mode = "peripheral";
68};
69
Grygorii Strashkoe42d8a72014-04-08 14:46:07 +030070&i2c0 {
71 dtt@50 {
72 compatible = "at,24c1024";
73 reg = <0x50>;
74 };
75};
Ivan Khoronzhuk8b144ff2014-05-08 17:19:08 -040076
77&aemif {
78 cs0 {
79 #address-cells = <2>;
80 #size-cells = <1>;
81 clock-ranges;
82 ranges;
83
84 ti,cs-chipselect = <0>;
85 /* all timings in nanoseconds */
86 ti,cs-min-turnaround-ns = <12>;
87 ti,cs-read-hold-ns = <6>;
88 ti,cs-read-strobe-ns = <23>;
89 ti,cs-read-setup-ns = <9>;
90 ti,cs-write-hold-ns = <8>;
91 ti,cs-write-strobe-ns = <23>;
92 ti,cs-write-setup-ns = <8>;
93
94 nand@0,0 {
95 compatible = "ti,keystone-nand","ti,davinci-nand";
96 #address-cells = <1>;
97 #size-cells = <1>;
98 reg = <0 0 0x4000000
99 1 0 0x0000100>;
100
101 ti,davinci-chipselect = <0>;
102 ti,davinci-mask-ale = <0x2000>;
103 ti,davinci-mask-cle = <0x4000>;
104 ti,davinci-mask-chipsel = <0>;
105 nand-ecc-mode = "hw";
106 ti,davinci-ecc-bits = <4>;
107 nand-on-flash-bbt;
108
109 partition@0 {
110 label = "u-boot";
111 reg = <0x0 0x100000>;
112 read-only;
113 };
114
115 partition@100000 {
116 label = "params";
117 reg = <0x100000 0x80000>;
118 read-only;
119 };
120
121 partition@180000 {
122 label = "ubifs";
123 reg = <0x180000 0x1FE80000>;
124 };
125 };
126 };
127};
Grygorii Strashko18131ae2014-05-12 11:43:59 -0400128
129&spi0 {
130 nor_flash: n25q128a11@0 {
131 #address-cells = <1>;
132 #size-cells = <1>;
133 compatible = "Micron,n25q128a11";
134 spi-max-frequency = <54000000>;
135 m25p,fast-read;
136 reg = <0>;
137
138 partition@0 {
139 label = "u-boot-spl";
140 reg = <0x0 0x80000>;
141 read-only;
142 };
143
144 partition@1 {
145 label = "misc";
146 reg = <0x80000 0xf80000>;
147 };
148 };
149};
Grygorii Strashkoefa66b32014-10-09 16:29:17 +0300150
151&mdio {
Murali Karichericb4c8172015-04-23 14:02:13 -0700152 status = "ok";
Grygorii Strashkoefa66b32014-10-09 16:29:17 +0300153 ethphy0: ethernet-phy@0 {
154 compatible = "marvell,88E1514", "marvell,88E1510", "ethernet-phy-ieee802.3-c22";
155 reg = <0>;
156 };
157
158 ethphy1: ethernet-phy@1 {
159 compatible = "marvell,88E1514", "marvell,88E1510", "ethernet-phy-ieee802.3-c22";
160 reg = <1>;
161 };
162};