blob: cbdb6bfca8c83c36d7b8c3f9ae6de730457da30e [file] [log] [blame]
Andrew Davis856ec342023-04-11 13:25:02 -05001// SPDX-License-Identifier: GPL-2.0
Cooper Jr., Franklin86835bc2017-06-16 17:25:31 -05002/*
3 * Device Tree Source for K2G Industrial Communication Engine EVM
4 *
5 * Copyright (C) 2017 Texas Instruments Incorporated - http://www.ti.com/
Cooper Jr., Franklin86835bc2017-06-16 17:25:31 -05006 */
7/dts-v1/;
8
9#include "keystone-k2g.dtsi"
Murali Karicheri61df2b82019-02-21 12:02:07 -050010#include <dt-bindings/net/ti-dp83867.h>
Cooper Jr., Franklin86835bc2017-06-16 17:25:31 -050011
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};
Vignesh R705480c42018-01-31 21:08:27 +053037
38&qspi {
39 status = "okay";
40
Andrew Davis33e399a2023-04-11 13:25:09 -050041 flash0: flash@0 {
Neil Armstronga009fa72019-02-10 10:16:20 +000042 compatible = "s25fl256s1", "jedec,spi-nor";
Vignesh R705480c42018-01-31 21:08:27 +053043 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};
Murali Karicheri61df2b82019-02-21 12:02:07 -050085
86&qmss {
87 status = "okay";
88};
89
90&knav_dmas {
91 status = "okay";
92};
93
94&netcp {
95 pinctrl-names = "default";
96 //pinctrl-0 = <&emac_pins>;
97 status = "okay";
98};
99
100&mdio {
101 pinctrl-names = "default";
102 //pinctrl-0 = <&mdio_pins>;
103 status = "okay";
104 ethphy0: ethernet-phy@0 {
105 reg = <0>;
106 ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>;
107 ti,tx-internal-delay = <DP83867_RGMIIDCTL_250_PS>;
108 ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_8_B_NIB>;
109 ti,min-output-impedance;
110 ti,dp83867-rxctrl-strap-quirk;
111 };
112};
113
114&gbe0 {
115 phy-handle = <&ethphy0>;
116 phy-mode = "rgmii-id";
117 status = "okay";
118};