• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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&netcp {
41	status = "okay";
42};
43
44&spi1 {
45	status = "okay";
46
47	spi_nor: flash@0 {
48		#address-cells = <1>;
49		#size-cells = <1>;
50		compatible = "spi-flash";
51		spi-max-frequency = <50000000>;
52		m25p,fast-read;
53		reg = <0>;
54
55		partition@0 {
56			label = "u-boot-spl";
57			reg = <0x0 0x80000>;
58			read-only;
59		};
60
61		partition@1 {
62			label = "misc";
63			reg = <0x80000 0xf80000>;
64		};
65	};
66};
67
68&qspi {
69	status = "okay";
70
71	flash0: m25p80@0 {
72		compatible = "s25fl512s","spi-flash";
73		reg = <0>;
74		spi-tx-bus-width = <1>;
75		spi-rx-bus-width = <4>;
76		spi-max-frequency = <96000000>;
77		#address-cells = <1>;
78		#size-cells = <1>;
79		cdns,tshsl-ns = <392>;
80		cdns,tsd2d-ns = <392>;
81		cdns,tchsh-ns = <100>;
82		cdns,tslch-ns = <100>;
83		block-size = <18>;
84
85		partition@0 {
86			label = "QSPI.u-boot-spl-os";
87			reg = <0x00000000 0x00100000>;
88		};
89		partition@1 {
90			label = "QSPI.u-boot-env";
91			reg = <0x00100000 0x00040000>;
92		};
93		partition@2 {
94			label = "QSPI.skern";
95			reg = <0x00140000 0x0040000>;
96		};
97		partition@3 {
98			label = "QSPI.pmmc-firmware";
99			reg = <0x00180000 0x0040000>;
100		};
101		partition@4 {
102			label = "QSPI.kernel";
103			reg = <0x001C0000 0x0800000>;
104		};
105		partition@5 {
106			label = "QSPI.file-system";
107			reg = <0x009C0000 0x3640000>;
108		};
109	};
110};
111
112&mmc0 {
113	status = "okay";
114};
115
116&mmc1 {
117	status = "okay";
118};
119
120&i2c0 {
121	status = "okay";
122};
123
124&i2c1 {
125	status = "okay";
126};
127