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