1/*
2 * Device Tree Source for K2G Industrial Communication Engine EVM
3 *
4 * Copyright (C) 2017 Texas Instruments Incorporated - http://www.ti.com/
5 *
6 * SPDX-License-Identifier: GPL-2.0+
7 */
8/dts-v1/;
9
10#include "keystone-k2g.dtsi"
11
12/ {
13	compatible = "ti,k2g-ice", "ti,k2g", "ti,keystone";
14	model = "Texas Instruments K2G Industrial Communication EVM";
15
16	chosen {
17		stdout-path = &uart0;
18	};
19
20	memory@80000000 {
21		device_type = "memory";
22		reg = <0x80000000 0x20000000>;
23	};
24};
25
26&mmc1 {
27	status = "okay";
28};
29
30&i2c0 {
31	status = "okay";
32};
33
34&i2c1 {
35	status = "okay";
36};
37
38&qspi {
39	status = "okay";
40
41	flash0: m25p80@0 {
42		compatible = "s25fl256s1", "spi-flash";
43		reg = <0>;
44		spi-tx-bus-width = <1>;
45		spi-rx-bus-width = <4>;
46		spi-max-frequency = <96000000>;
47		#address-cells = <1>;
48		#size-cells = <1>;
49		cdns,read-delay = <5>;
50		cdns,tshsl-ns = <500>;
51		cdns,tsd2d-ns = <500>;
52		cdns,tchsh-ns = <119>;
53		cdns,tslch-ns = <119>;
54
55		partition@0 {
56			label = "QSPI.u-boot";
57			reg = <0x00000000 0x00100000>;
58		};
59		partition@1 {
60			label = "QSPI.u-boot-env";
61			reg = <0x00100000 0x00040000>;
62		};
63		partition@2 {
64			label = "QSPI.skern";
65			reg = <0x00140000 0x0040000>;
66		};
67		partition@3 {
68			label = "QSPI.pmmc-firmware";
69			reg = <0x00180000 0x0040000>;
70		};
71		partition@4 {
72			label = "QSPI.kernel";
73			reg = <0x001c0000 0x0800000>;
74		};
75		partition@5 {
76			label = "QSPI.u-boot-spl-os";
77			reg = <0x009c0000 0x0040000>;
78		};
79		partition@6 {
80			label = "QSPI.file-system";
81			reg = <0x00a00000 0x1600000>;
82		};
83	};
84};
85