]>
Commit | Line | Data |
---|---|---|
25abf734 | 1 | // SPDX-License-Identifier: GPL-2.0 |
6aba890e CJF |
2 | /* |
3 | * Device Tree Source for K2G Industrial Communication Engine EVM | |
4 | * | |
5 | * Copyright (C) 2017 Texas Instruments Incorporated - http://www.ti.com/ | |
6aba890e CJF |
6 | */ |
7 | /dts-v1/; | |
8 | ||
9 | #include "keystone-k2g.dtsi" | |
32d858fc | 10 | #include <dt-bindings/net/ti-dp83867.h> |
6aba890e CJF |
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 | }; | |
49232299 V |
37 | |
38 | &qspi { | |
39 | status = "okay"; | |
40 | ||
41 | flash0: m25p80@0 { | |
ffd4c7c2 | 42 | compatible = "s25fl256s1", "jedec,spi-nor"; |
49232299 V |
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 | }; | |
32d858fc MK |
85 | |
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 = <ðphy0>; | |
116 | phy-mode = "rgmii-id"; | |
117 | status = "okay"; | |
118 | }; |