blob: 6376c62b6d0bab89c8e1262b61d15e4cf5f3a42d [file] [log] [blame]
Andrew Davis856ec342023-04-11 13:25:02 -05001// SPDX-License-Identifier: GPL-2.0
Lokesh Vutlae8e92b82015-09-19 16:26:55 +05302/*
Lokesh Vutlae3187b92017-01-31 09:32:57 +05303 * Device Tree Source for K2G EVM
Lokesh Vutlae8e92b82015-09-19 16:26:55 +05304 *
Andrew Davis856ec342023-04-11 13:25:02 -05005 * Copyright (C) 2016-2017 Texas Instruments Incorporated - http://www.ti.com/
Lokesh Vutlae8e92b82015-09-19 16:26:55 +05306 */
7/dts-v1/;
8
Lokesh Vutlae3187b92017-01-31 09:32:57 +05309#include "keystone-k2g.dtsi"
Lokesh Vutlae8e92b82015-09-19 16:26:55 +053010
11/ {
12 compatible = "ti,k2g-evm","ti,keystone";
Lokesh Vutlae3187b92017-01-31 09:32:57 +053013 model = "Texas Instruments K2G General Purpose EVM";
Lokesh Vutlae8e92b82015-09-19 16:26:55 +053014
15 chosen {
16 stdout-path = &uart0;
17 };
Cooper Jr., Franklin4a77a172017-06-16 17:25:29 -050018
19 memory@80000000 {
20 device_type = "memory";
21 reg = <0x80000000 0x80000000>;
22 };
Lokesh Vutlae8e92b82015-09-19 16:26:55 +053023};
Mugunthan V N3784cc22016-02-02 15:51:37 +053024
25&mdio {
26 status = "okay";
27 ethphy0: ethernet-phy@0 {
28 reg = <0>;
Mugunthan V N3784cc22016-02-02 15:51:37 +053029 };
30};
31
Jean-Jacques Hiblot24163d62018-12-04 11:12:58 +010032&keystone_usb0 {
33 status = "okay";
34};
35
36&usb0_phy {
37 status = "okay";
Jean-Jacques Hiblot24163d62018-12-04 11:12:58 +010038};
39
40&usb0 {
41 dr_mode = "host";
42 status = "okay";
43};
44
45&keystone_usb1 {
46 status = "okay";
47};
48
49&usb1_phy {
Jean-Jacques Hiblot24163d62018-12-04 11:12:58 +010050 status = "okay";
51};
52
53&usb1 {
54 dr_mode = "peripheral";
55 status = "okay";
56};
57
Mugunthan V N3784cc22016-02-02 15:51:37 +053058&gbe0 {
59 phy-handle = <&ethphy0>;
60};
Vignesh Rcefb8f32016-07-06 09:59:05 +053061
Cooper Jr., Franklinf80dcdc2017-06-16 17:25:30 -050062&netcp {
63 status = "okay";
64};
65
Vignesh Rcefb8f32016-07-06 09:59:05 +053066&spi1 {
67 status = "okay";
68
69 spi_nor: flash@0 {
70 #address-cells = <1>;
71 #size-cells = <1>;
Neil Armstronga009fa72019-02-10 10:16:20 +000072 compatible = "jedec,spi-nor";
Vignesh Rcefb8f32016-07-06 09:59:05 +053073 spi-max-frequency = <50000000>;
74 m25p,fast-read;
75 reg = <0>;
76
77 partition@0 {
78 label = "u-boot-spl";
79 reg = <0x0 0x80000>;
80 read-only;
81 };
82
83 partition@1 {
84 label = "misc";
85 reg = <0x80000 0xf80000>;
86 };
87 };
88};
Vignesh R9b9f0f82016-07-06 10:20:57 +053089
90&qspi {
91 status = "okay";
92
Andrew Davis33e399a2023-04-11 13:25:09 -050093 flash0: flash@0 {
94 compatible = "s25fl512s", "jedec,spi-nor";
Jason Rushfeaa3f92018-01-23 17:13:10 -060095 reg = <0>;
96 spi-tx-bus-width = <1>;
97 spi-rx-bus-width = <4>;
98 spi-max-frequency = <96000000>;
99 #address-cells = <1>;
100 #size-cells = <1>;
101 cdns,tshsl-ns = <392>;
102 cdns,tsd2d-ns = <392>;
103 cdns,tchsh-ns = <100>;
104 cdns,tslch-ns = <100>;
Vignesh R9b9f0f82016-07-06 10:20:57 +0530105 block-size = <18>;
106
Jason Rushfeaa3f92018-01-23 17:13:10 -0600107 partition@0 {
108 label = "QSPI.u-boot-spl-os";
109 reg = <0x00000000 0x00100000>;
110 };
111 partition@1 {
112 label = "QSPI.u-boot-env";
113 reg = <0x00100000 0x00040000>;
114 };
115 partition@2 {
116 label = "QSPI.skern";
117 reg = <0x00140000 0x0040000>;
118 };
119 partition@3 {
120 label = "QSPI.pmmc-firmware";
121 reg = <0x00180000 0x0040000>;
122 };
123 partition@4 {
124 label = "QSPI.kernel";
125 reg = <0x001C0000 0x0800000>;
126 };
127 partition@5 {
128 label = "QSPI.file-system";
129 reg = <0x009C0000 0x3640000>;
130 };
131 };
Vignesh R9b9f0f82016-07-06 10:20:57 +0530132};
Sekhar Nori2b2a1372016-08-10 19:24:05 +0530133
134&mmc0 {
135 status = "okay";
136};
137
138&mmc1 {
139 status = "okay";
140};
Cooper Jr., Franklin910ad3e2017-04-20 10:25:48 -0500141
142&i2c0 {
143 status = "okay";
144};
145
146&i2c1 {
147 status = "okay";
148};