blob: 7f9c2e94d6056829d6ad70905d50b34b97671399 [file] [log] [blame]
Murali Karicherifc1c72e2014-02-24 10:56:48 -05001/*
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"
Nishanth Menon5edafc22016-03-22 09:06:22 -070013#include "keystone-k2l.dtsi"
Murali Karicherifc1c72e2014-02-24 10:56:48 -050014
15/ {
Nishanth Menon91dca0f2015-10-03 17:02:56 -070016 compatible = "ti,k2l-evm", "ti,k2l", "ti,keystone";
Murali Karicherifc1c72e2014-02-24 10:56:48 -050017 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};
Grygorii Strashkoe42d8a72014-04-08 14:46:07 +030038
39&i2c0 {
40 dtt@50 {
41 compatible = "at,24c1024";
42 reg = <0x50>;
43 };
44};
Ivan Khoronzhuk29a61d82014-05-08 17:31:01 -040045
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};
Grygorii Strashko18131ae2014-05-12 11:43:59 -040097
98&spi0 {
99 nor_flash: n25q128a11@0 {
100 #address-cells = <1>;
101 #size-cells = <1>;
102 compatible = "Micron,n25q128a11";
103 spi-max-frequency = <54000000>;
104 m25p,fast-read;
105 reg = <0>;
106
107 partition@0 {
108 label = "u-boot-spl";
109 reg = <0x0 0x80000>;
110 read-only;
111 };
112
113 partition@1 {
114 label = "misc";
115 reg = <0x80000 0xf80000>;
116 };
117 };
118};
Grygorii Strashko469fddd2014-10-09 16:32:57 +0300119
120&mdio {
Murali Karicheri9df14692015-04-23 14:02:13 -0700121 status = "ok";
Grygorii Strashko469fddd2014-10-09 16:32:57 +0300122 ethphy0: ethernet-phy@0 {
123 compatible = "marvell,88E1514", "marvell,88E1510", "ethernet-phy-ieee802.3-c22";
124 reg = <0>;
125 };
126
127 ethphy1: ethernet-phy@1 {
128 compatible = "marvell,88E1514", "marvell,88E1510", "ethernet-phy-ieee802.3-c22";
129 reg = <1>;
130 };
131};