blob: 9d2b4542e815912ef78cee6e01ea79b0d7e177f3 [file] [log] [blame]
Andrew Davis856ec342023-04-11 13:25:02 -05001// SPDX-License-Identifier: GPL-2.0
Lokesh Vutla8c54a152015-09-19 15:00:21 +05302/*
Lokesh Vutla8c54a152015-09-19 15:00:21 +05303 * Keystone 2 Lamarr EVM device tree
4 *
Nishanth Menoneaa39c62023-11-01 15:56:03 -05005 * Copyright (C) 2014-2017 Texas Instruments Incorporated - https://www.ti.com/
Lokesh Vutla8c54a152015-09-19 15:00:21 +05306 */
7/dts-v1/;
8
9#include "keystone.dtsi"
Lokesh Vutlae3187b92017-01-31 09:32:57 +053010#include "keystone-k2l.dtsi"
Lokesh Vutla8c54a152015-09-19 15:00:21 +053011
12/ {
13 compatible = "ti,k2l-evm","ti,keystone";
14 model = "Texas Instruments Keystone 2 Lamarr EVM";
15
16 soc {
17 clocks {
18 refclksys: refclksys {
19 #clock-cells = <0>;
20 compatible = "fixed-clock";
21 clock-frequency = <122880000>;
22 clock-output-names = "refclk-sys";
23 };
24 };
25 };
26};
27
28&usb_phy {
29 status = "okay";
30};
31
32&usb {
33 status = "okay";
34};
35
36&i2c0 {
37 dtt@50 {
38 compatible = "at,24c1024";
39 reg = <0x50>;
40 };
41};
42
43&aemif {
44 cs0 {
45 #address-cells = <2>;
46 #size-cells = <1>;
47 clock-ranges;
48 ranges;
49
50 ti,cs-chipselect = <0>;
51 /* all timings in nanoseconds */
52 ti,cs-min-turnaround-ns = <12>;
53 ti,cs-read-hold-ns = <6>;
54 ti,cs-read-strobe-ns = <23>;
55 ti,cs-read-setup-ns = <9>;
56 ti,cs-write-hold-ns = <8>;
57 ti,cs-write-strobe-ns = <23>;
58 ti,cs-write-setup-ns = <8>;
59
60 nand@0,0 {
61 compatible = "ti,keystone-nand","ti,davinci-nand";
62 #address-cells = <1>;
63 #size-cells = <1>;
64 reg = <0 0 0x4000000
65 1 0 0x0000100>;
66
67 ti,davinci-chipselect = <0>;
68 ti,davinci-mask-ale = <0x2000>;
69 ti,davinci-mask-cle = <0x4000>;
70 ti,davinci-mask-chipsel = <0>;
71 nand-ecc-mode = "hw";
72 ti,davinci-ecc-bits = <4>;
73 nand-on-flash-bbt;
74
75 partition@0 {
76 label = "u-boot";
77 reg = <0x0 0x100000>;
78 read-only;
79 };
80
81 partition@100000 {
82 label = "params";
83 reg = <0x100000 0x80000>;
84 read-only;
85 };
86
87 partition@180000 {
88 label = "ubifs";
89 reg = <0x180000 0x7FE80000>;
90 };
91 };
92 };
93};
94
95&spi0 {
Vignesh R6ceed0b2016-07-06 09:59:03 +053096 status ="okay";
Andrew Davis33e399a2023-04-11 13:25:09 -050097 nor_flash: flash@0 {
Lokesh Vutla8c54a152015-09-19 15:00:21 +053098 #address-cells = <1>;
99 #size-cells = <1>;
Neil Armstronga009fa72019-02-10 10:16:20 +0000100 compatible = "Micron,n25q128a11", "jedec,spi-nor";
Lokesh Vutla8c54a152015-09-19 15:00:21 +0530101 spi-max-frequency = <54000000>;
102 m25p,fast-read;
103 reg = <0>;
104
105 partition@0 {
106 label = "u-boot-spl";
107 reg = <0x0 0x80000>;
108 read-only;
109 };
110
111 partition@1 {
112 label = "misc";
113 reg = <0x80000 0xf80000>;
114 };
115 };
116};
117
118&mdio {
Roger Quadros0ffbc742021-08-24 14:07:27 +0300119 status = "okay";
Lokesh Vutla8c54a152015-09-19 15:00:21 +0530120 ethphy0: ethernet-phy@0 {
121 compatible = "marvell,88E1514", "marvell,88E1510", "ethernet-phy-ieee802.3-c22";
122 reg = <0>;
123 };
124
125 ethphy1: ethernet-phy@1 {
126 compatible = "marvell,88E1514", "marvell,88E1510", "ethernet-phy-ieee802.3-c22";
127 reg = <1>;
128 };
129};