]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/blame - arch/arm/boot/dts/k2l-evm.dts
ARM: dts: k2l-evm: add AEMIF/NAND device entry
[mirror_ubuntu-eoan-kernel.git] / arch / arm / boot / dts / k2l-evm.dts
CommitLineData
fc1c72eb
MK
1/*
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/ {
3babe306 16 compatible = "ti,k2l-evm","ti,keystone";
fc1c72eb
MK
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};
e42d8a7f
GS
38
39&i2c0 {
40 dtt@50 {
41 compatible = "at,24c1024";
42 reg = <0x50>;
43 };
44};
29a61d83
IK
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};