blob: 2c99df44600e684b9d072c0cf44c82cd9fb14398 [file] [log] [blame]
Lokesh Vutlae8e92b82015-09-19 16:26:55 +05301/*
2 * Copyright 2014 Texas Instruments, Inc.
3 *
Lokesh Vutlae3187b92017-01-31 09:32:57 +05304 * Device Tree Source for K2G EVM
Lokesh Vutlae8e92b82015-09-19 16:26:55 +05305 *
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
Lokesh Vutlae3187b92017-01-31 09:32:57 +053012#include "keystone-k2g.dtsi"
Lokesh Vutlae8e92b82015-09-19 16:26:55 +053013
14/ {
15 compatible = "ti,k2g-evm","ti,keystone";
Lokesh Vutlae3187b92017-01-31 09:32:57 +053016 model = "Texas Instruments K2G General Purpose EVM";
Lokesh Vutlae8e92b82015-09-19 16:26:55 +053017
18 chosen {
19 stdout-path = &uart0;
20 };
21};
Mugunthan V N3784cc22016-02-02 15:51:37 +053022
23&mdio {
24 status = "okay";
25 ethphy0: ethernet-phy@0 {
26 reg = <0>;
27 phy-mode = "rgmii-id";
28 };
29};
30
31&gbe0 {
32 phy-handle = <&ethphy0>;
33};
Vignesh Rcefb8f32016-07-06 09:59:05 +053034
35&spi1 {
36 status = "okay";
37
38 spi_nor: flash@0 {
39 #address-cells = <1>;
40 #size-cells = <1>;
41 compatible = "spi-flash";
42 spi-max-frequency = <50000000>;
43 m25p,fast-read;
44 reg = <0>;
45
46 partition@0 {
47 label = "u-boot-spl";
48 reg = <0x0 0x80000>;
49 read-only;
50 };
51
52 partition@1 {
53 label = "misc";
54 reg = <0x80000 0xf80000>;
55 };
56 };
57};
Vignesh R9b9f0f82016-07-06 10:20:57 +053058
59&qspi {
60 status = "okay";
61
62 flash0: m25p80@0 {
63 compatible = "s25fl512s","spi-flash";
64 reg = <0>;
65 spi-tx-bus-width = <1>;
66 spi-rx-bus-width = <4>;
67 spi-max-frequency = <96000000>;
68 #address-cells = <1>;
69 #size-cells = <1>;
70 tshsl-ns = <392>;
71 tsd2d-ns = <392>;
72 tchsh-ns = <100>;
73 tslch-ns = <100>;
74 block-size = <18>;
75
76
77 partition@0 {
78 label = "QSPI.u-boot-spl-os";
79 reg = <0x00000000 0x00100000>;
80 };
81 partition@1 {
82 label = "QSPI.u-boot-env";
83 reg = <0x00100000 0x00040000>;
84 };
85 partition@2 {
86 label = "QSPI.skern";
87 reg = <0x00140000 0x0040000>;
88 };
89 partition@3 {
90 label = "QSPI.pmmc-firmware";
91 reg = <0x00180000 0x0040000>;
92 };
93 partition@4 {
94 label = "QSPI.kernel";
95 reg = <0x001C0000 0x0800000>;
96 };
97 partition@5 {
98 label = "QSPI.file-system";
99 reg = <0x009C0000 0x3640000>;
100 };
101 };
102};
Sekhar Nori2b2a1372016-08-10 19:24:05 +0530103
104&mmc0 {
105 status = "okay";
106};
107
108&mmc1 {
109 status = "okay";
110};
Cooper Jr., Franklin910ad3e2017-04-20 10:25:48 -0500111
112&i2c0 {
113 status = "okay";
114};
115
116&i2c1 {
117 status = "okay";
118};