blob: 2156ff92d08f1a93608ef33a5c129b44775689a0 [file] [log] [blame]
Murali Karicherib8273f22013-11-23 16:26:06 -05001/*
Murali Karicheria2067672014-02-24 10:44:07 -05002 * Copyright 2013-2014 Texas Instruments, Inc.
Murali Karicherib8273f22013-11-23 16:26:06 -05003 *
4 * Keystone 2 Kepler/Hawking 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-k2hk.dtsi"
Murali Karicherib8273f22013-11-23 16:26:06 -050014
15/ {
Nishanth Menon91dca0f2015-10-03 17:02:56 -070016 compatible = "ti,k2hk-evm", "ti,k2hk", "ti,keystone";
Murali Karicheria2067672014-02-24 10:44:07 -050017 model = "Texas Instruments Keystone 2 Kepler/Hawking EVM";
Murali Karicherib8273f22013-11-23 16:26:06 -050018
19 soc {
Grygorii Strashko513cfad2014-02-17 09:27:37 -050020 clocks {
Murali Karicherib8273f22013-11-23 16:26:06 -050021 refclksys: refclksys {
22 #clock-cells = <0>;
23 compatible = "fixed-clock";
24 clock-frequency = <122880000>;
25 clock-output-names = "refclk-sys";
26 };
27
28 refclkpass: refclkpass {
29 #clock-cells = <0>;
30 compatible = "fixed-clock";
31 clock-frequency = <122880000>;
32 clock-output-names = "refclk-pass";
33 };
34
35 refclkarm: refclkarm {
36 #clock-cells = <0>;
37 compatible = "fixed-clock";
38 clock-frequency = <125000000>;
39 clock-output-names = "refclk-arm";
40 };
41
42 refclkddr3a: refclkddr3a {
43 #clock-cells = <0>;
44 compatible = "fixed-clock";
45 clock-frequency = <100000000>;
46 clock-output-names = "refclk-ddr3a";
47 };
48
49 refclkddr3b: refclkddr3b {
50 #clock-cells = <0>;
51 compatible = "fixed-clock";
52 clock-frequency = <100000000>;
53 clock-output-names = "refclk-ddr3b";
54 };
55 };
56 };
Grygorii Strashkob4222e02014-02-10 18:41:19 +020057
58 leds {
59 compatible = "gpio-leds";
60 debug1_1 {
61 label = "keystone:green:debug1";
62 gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>; /* 12 */
63 };
64
65 debug1_2 {
66 label = "keystone:red:debug1";
67 gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>; /* 13 */
68 };
69
70 debug2 {
71 label = "keystone:blue:debug2";
72 gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>; /* 14 */
73 };
74
75 debug3 {
76 label = "keystone:blue:debug3";
77 gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>; /* 15 */
78 };
79 };
Murali Karicherib8273f22013-11-23 16:26:06 -050080};
WingMan Kwok73207952013-12-09 17:25:12 -050081
82&usb_phy {
83 status = "okay";
84};
85
Grygorii Strashko64497842016-08-31 16:29:59 -040086&keystone_usb0 {
WingMan Kwok73207952013-12-09 17:25:12 -050087 status = "okay";
88};
Ivan Khoronzhuk82c04f72014-02-28 21:05:24 -050089
Grygorii Strashko64497842016-08-31 16:29:59 -040090&usb0 {
91 dr_mode = "host";
92};
93
Ivan Khoronzhuk82c04f72014-02-28 21:05:24 -050094&aemif {
95 cs0 {
96 #address-cells = <2>;
97 #size-cells = <1>;
98 clock-ranges;
99 ranges;
100
101 ti,cs-chipselect = <0>;
102 /* all timings in nanoseconds */
103 ti,cs-min-turnaround-ns = <12>;
104 ti,cs-read-hold-ns = <6>;
105 ti,cs-read-strobe-ns = <23>;
106 ti,cs-read-setup-ns = <9>;
107 ti,cs-write-hold-ns = <8>;
108 ti,cs-write-strobe-ns = <23>;
109 ti,cs-write-setup-ns = <8>;
110
111 nand@0,0 {
112 compatible = "ti,keystone-nand","ti,davinci-nand";
113 #address-cells = <1>;
114 #size-cells = <1>;
115 reg = <0 0 0x4000000
116 1 0 0x0000100>;
117
118 ti,davinci-chipselect = <0>;
119 ti,davinci-mask-ale = <0x2000>;
120 ti,davinci-mask-cle = <0x4000>;
121 ti,davinci-mask-chipsel = <0>;
122 nand-ecc-mode = "hw";
123 ti,davinci-ecc-bits = <4>;
124 nand-on-flash-bbt;
125
126 partition@0 {
127 label = "u-boot";
128 reg = <0x0 0x100000>;
129 read-only;
130 };
131
132 partition@100000 {
133 label = "params";
134 reg = <0x100000 0x80000>;
135 read-only;
136 };
137
138 partition@180000 {
139 label = "ubifs";
Murali Karicheri7eb7e8b2014-03-20 16:39:21 -0400140 reg = <0x180000 0x1fe80000>;
Ivan Khoronzhuk82c04f72014-02-28 21:05:24 -0500141 };
142 };
143 };
144};
Grygorii Strashkoe42d8a72014-04-08 14:46:07 +0300145
146&i2c0 {
147 dtt@50 {
148 compatible = "at,24c1024";
149 reg = <0x50>;
150 };
151};
Grygorii Strashko18131ae2014-05-12 11:43:59 -0400152
153&spi0 {
154 nor_flash: n25q128a11@0 {
155 #address-cells = <1>;
156 #size-cells = <1>;
157 compatible = "Micron,n25q128a11";
158 spi-max-frequency = <54000000>;
159 m25p,fast-read;
160 reg = <0>;
161
162 partition@0 {
163 label = "u-boot-spl";
164 reg = <0x0 0x80000>;
165 read-only;
166 };
167
168 partition@1 {
169 label = "misc";
170 reg = <0x80000 0xf80000>;
171 };
172 };
173};
Grygorii Strashko6592f672014-07-09 16:14:19 +0300174
175&mdio {
Murali Karicheri8ea1cdb2015-04-23 14:02:13 -0700176 status = "ok";
Grygorii Strashko6592f672014-07-09 16:14:19 +0300177 ethphy0: ethernet-phy@0 {
178 compatible = "marvell,88E1111", "ethernet-phy-ieee802.3-c22";
179 reg = <0>;
180 };
181
182 ethphy1: ethernet-phy@1 {
183 compatible = "marvell,88E1111", "ethernet-phy-ieee802.3-c22";
184 reg = <1>;
185 };
186};