]> git.sur5r.net Git - u-boot/blob - arch/arm/dts/keystone-k2g-evm.dts
f6fce33b98bbfa174132c09d4f08e81c5dccb854
[u-boot] / arch / arm / dts / keystone-k2g-evm.dts
1 /*
2  * Copyright 2014 Texas Instruments, Inc.
3  *
4  * Device Tree Source for K2G EVM
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-k2g.dtsi"
13
14 / {
15         compatible =  "ti,k2g-evm","ti,keystone";
16         model = "Texas Instruments K2G General Purpose EVM";
17
18         chosen {
19                 stdout-path = &uart0;
20         };
21
22         memory@80000000 {
23                 device_type = "memory";
24                 reg = <0x80000000 0x80000000>;
25         };
26 };
27
28 &mdio {
29         status = "okay";
30         ethphy0: ethernet-phy@0 {
31                 reg = <0>;
32                 phy-mode = "rgmii-id";
33         };
34 };
35
36 &gbe0 {
37         phy-handle = <&ethphy0>;
38 };
39
40 &spi1 {
41         status = "okay";
42
43         spi_nor: flash@0 {
44                 #address-cells = <1>;
45                 #size-cells = <1>;
46                 compatible = "spi-flash";
47                 spi-max-frequency = <50000000>;
48                 m25p,fast-read;
49                 reg = <0>;
50
51                 partition@0 {
52                         label = "u-boot-spl";
53                         reg = <0x0 0x80000>;
54                         read-only;
55                 };
56
57                 partition@1 {
58                         label = "misc";
59                         reg = <0x80000 0xf80000>;
60                 };
61         };
62 };
63
64 &qspi {
65         status = "okay";
66
67         flash0: m25p80@0 {
68                 compatible = "s25fl512s","spi-flash";
69                 reg = <0>;
70                 spi-tx-bus-width = <1>;
71                 spi-rx-bus-width = <4>;
72                 spi-max-frequency = <96000000>;
73                 #address-cells = <1>;
74                 #size-cells = <1>;
75                 tshsl-ns = <392>;
76                 tsd2d-ns = <392>;
77                 tchsh-ns = <100>;
78                 tslch-ns = <100>;
79                 block-size = <18>;
80
81
82                 partition@0 {
83                         label = "QSPI.u-boot-spl-os";
84                         reg = <0x00000000 0x00100000>;
85                 };
86                 partition@1 {
87                         label = "QSPI.u-boot-env";
88                         reg = <0x00100000 0x00040000>;
89                 };
90                 partition@2 {
91                         label = "QSPI.skern";
92                         reg = <0x00140000 0x0040000>;
93                 };
94                 partition@3 {
95                         label = "QSPI.pmmc-firmware";
96                         reg = <0x00180000 0x0040000>;
97                 };
98                 partition@4 {
99                         label = "QSPI.kernel";
100                         reg = <0x001C0000 0x0800000>;
101                 };
102                 partition@5 {
103                         label = "QSPI.file-system";
104                         reg = <0x009C0000 0x3640000>;
105                 };
106         };
107 };
108
109 &mmc0 {
110         status = "okay";
111 };
112
113 &mmc1 {
114         status = "okay";
115 };
116
117 &i2c0 {
118         status = "okay";
119 };
120
121 &i2c1 {
122         status = "okay";
123 };