Joel Stanley | 2ca5646 | 2019-09-11 17:56:13 +0100 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0-or-later |
2 | // Copyright 2019 IBM Corp. | ||||
3 | |||||
4 | /dts-v1/; | ||||
5 | |||||
6 | #include "aspeed-g6.dtsi" | ||||
7 | |||||
8 | / { | ||||
9 | model = "AST2600 EVB"; | ||||
10 | compatible = "aspeed,ast2600"; | ||||
11 | |||||
12 | aliases { | ||||
13 | serial4 = &uart5; | ||||
14 | }; | ||||
15 | |||||
16 | chosen { | ||||
17 | bootargs = "console=ttyS4,115200n8"; | ||||
18 | }; | ||||
19 | |||||
20 | memory@80000000 { | ||||
21 | device_type = "memory"; | ||||
22 | reg = <0x80000000 0x80000000>; | ||||
23 | }; | ||||
24 | }; | ||||
25 | |||||
Joel Stanley | 2ba56f4 | 2020-06-11 11:04:33 +0930 | [diff] [blame] | 26 | &mdio0 { |
27 | status = "okay"; | ||||
28 | |||||
29 | ethphy0: ethernet-phy@0 { | ||||
30 | compatible = "ethernet-phy-ieee802.3-c22"; | ||||
31 | reg = <0>; | ||||
32 | }; | ||||
33 | }; | ||||
34 | |||||
Joel Stanley | 2ca5646 | 2019-09-11 17:56:13 +0100 | [diff] [blame] | 35 | &mdio1 { |
36 | status = "okay"; | ||||
37 | |||||
38 | ethphy1: ethernet-phy@0 { | ||||
39 | compatible = "ethernet-phy-ieee802.3-c22"; | ||||
40 | reg = <0>; | ||||
41 | }; | ||||
42 | }; | ||||
43 | |||||
44 | &mdio2 { | ||||
45 | status = "okay"; | ||||
46 | |||||
47 | ethphy2: ethernet-phy@0 { | ||||
48 | compatible = "ethernet-phy-ieee802.3-c22"; | ||||
49 | reg = <0>; | ||||
50 | }; | ||||
51 | }; | ||||
52 | |||||
53 | &mdio3 { | ||||
54 | status = "okay"; | ||||
55 | |||||
56 | ethphy3: ethernet-phy@0 { | ||||
57 | compatible = "ethernet-phy-ieee802.3-c22"; | ||||
58 | reg = <0>; | ||||
59 | }; | ||||
60 | }; | ||||
61 | |||||
Joel Stanley | 2ba56f4 | 2020-06-11 11:04:33 +0930 | [diff] [blame] | 62 | &mac0 { |
63 | status = "okay"; | ||||
64 | |||||
65 | phy-mode = "rgmii"; | ||||
66 | phy-handle = <ðphy0>; | ||||
67 | |||||
68 | pinctrl-names = "default"; | ||||
69 | pinctrl-0 = <&pinctrl_rgmii1_default>; | ||||
70 | }; | ||||
71 | |||||
72 | |||||
Joel Stanley | 2ca5646 | 2019-09-11 17:56:13 +0100 | [diff] [blame] | 73 | &mac1 { |
74 | status = "okay"; | ||||
75 | |||||
76 | phy-mode = "rgmii"; | ||||
77 | phy-handle = <ðphy1>; | ||||
Andrew Jeffery | ad5d102 | 2019-09-26 23:06:07 +0930 | [diff] [blame] | 78 | |
79 | pinctrl-names = "default"; | ||||
80 | pinctrl-0 = <&pinctrl_rgmii2_default>; | ||||
Joel Stanley | 2ca5646 | 2019-09-11 17:56:13 +0100 | [diff] [blame] | 81 | }; |
82 | |||||
83 | &mac2 { | ||||
84 | status = "okay"; | ||||
85 | |||||
86 | phy-mode = "rgmii"; | ||||
87 | phy-handle = <ðphy2>; | ||||
Andrew Jeffery | ad5d102 | 2019-09-26 23:06:07 +0930 | [diff] [blame] | 88 | |
89 | pinctrl-names = "default"; | ||||
90 | pinctrl-0 = <&pinctrl_rgmii3_default>; | ||||
Joel Stanley | 2ca5646 | 2019-09-11 17:56:13 +0100 | [diff] [blame] | 91 | }; |
92 | |||||
93 | &mac3 { | ||||
94 | status = "okay"; | ||||
95 | |||||
96 | phy-mode = "rgmii"; | ||||
97 | phy-handle = <ðphy3>; | ||||
Andrew Jeffery | ad5d102 | 2019-09-26 23:06:07 +0930 | [diff] [blame] | 98 | |
99 | pinctrl-names = "default"; | ||||
100 | pinctrl-0 = <&pinctrl_rgmii4_default>; | ||||
Joel Stanley | 2ca5646 | 2019-09-11 17:56:13 +0100 | [diff] [blame] | 101 | }; |
102 | |||||
Andrew Jeffery | 311b57f | 2019-08-27 16:30:55 +0930 | [diff] [blame] | 103 | &emmc_controller { |
Joel Stanley | 2ca5646 | 2019-09-11 17:56:13 +0100 | [diff] [blame] | 104 | status = "okay"; |
105 | }; | ||||
106 | |||||
Andrew Jeffery | 311b57f | 2019-08-27 16:30:55 +0930 | [diff] [blame] | 107 | &emmc { |
108 | non-removable; | ||||
109 | bus-width = <4>; | ||||
110 | max-frequency = <52000000>; | ||||
111 | }; | ||||
112 | |||||
Joel Stanley | 2ca5646 | 2019-09-11 17:56:13 +0100 | [diff] [blame] | 113 | &rtc { |
114 | status = "okay"; | ||||
115 | }; | ||||
Cédric Le Goater | 6700acf | 2019-09-25 14:42:30 +0200 | [diff] [blame] | 116 | |
117 | &fmc { | ||||
118 | status = "okay"; | ||||
119 | flash@0 { | ||||
120 | status = "okay"; | ||||
121 | m25p,fast-read; | ||||
122 | label = "bmc"; | ||||
123 | spi-max-frequency = <50000000>; | ||||
Joel Stanley | a45d887 | 2019-09-26 16:35:40 +0930 | [diff] [blame] | 124 | |
125 | partitions { | ||||
126 | compatible = "fixed-partitions"; | ||||
127 | #address-cells = <1>; | ||||
128 | #size-cells = <1>; | ||||
129 | |||||
130 | u-boot@0 { | ||||
131 | reg = <0x0 0xe0000>; // 896KB | ||||
132 | label = "u-boot"; | ||||
133 | }; | ||||
134 | |||||
135 | u-boot-env@e0000 { | ||||
136 | reg = <0xe0000 0x20000>; // 128KB | ||||
137 | label = "u-boot-env"; | ||||
138 | }; | ||||
139 | |||||
140 | kernel@100000 { | ||||
141 | reg = <0x100000 0x900000>; // 9MB | ||||
142 | label = "kernel"; | ||||
143 | }; | ||||
144 | |||||
145 | rofs@a00000 { | ||||
146 | reg = <0xa00000 0x2000000>; // 32MB | ||||
147 | label = "rofs"; | ||||
148 | }; | ||||
149 | |||||
150 | rwfs@6000000 { | ||||
151 | reg = <0x2a00000 0x1600000>; // 22MB | ||||
152 | label = "rwfs"; | ||||
153 | }; | ||||
154 | }; | ||||
Cédric Le Goater | 6700acf | 2019-09-25 14:42:30 +0200 | [diff] [blame] | 155 | }; |
156 | }; | ||||
157 | |||||
158 | &spi1 { | ||||
159 | status = "okay"; | ||||
160 | pinctrl-names = "default"; | ||||
161 | pinctrl-0 = <&pinctrl_spi1_default>; | ||||
162 | |||||
163 | flash@0 { | ||||
164 | status = "okay"; | ||||
165 | m25p,fast-read; | ||||
166 | label = "pnor"; | ||||
167 | spi-max-frequency = <100000000>; | ||||
168 | }; | ||||
169 | }; | ||||
Joel Stanley | a750904 | 2019-10-16 22:29:03 +1030 | [diff] [blame] | 170 | |
171 | &uart5 { | ||||
172 | // Workaround for A0 | ||||
173 | compatible = "snps,dw-apb-uart"; | ||||
174 | }; | ||||
Joel Stanley | ea4bb33 | 2019-10-16 14:38:11 +1030 | [diff] [blame] | 175 | |
176 | &i2c0 { | ||||
177 | status = "okay"; | ||||
178 | |||||
179 | temp@2e { | ||||
180 | compatible = "adi,adt7490"; | ||||
181 | reg = <0x2e>; | ||||
182 | }; | ||||
183 | }; | ||||
184 | |||||
185 | &i2c1 { | ||||
186 | status = "okay"; | ||||
187 | }; | ||||
188 | |||||
189 | &i2c2 { | ||||
190 | status = "okay"; | ||||
191 | }; | ||||
192 | |||||
193 | &i2c3 { | ||||
194 | status = "okay"; | ||||
195 | }; | ||||
196 | |||||
197 | &i2c4 { | ||||
198 | status = "okay"; | ||||
199 | }; | ||||
200 | |||||
201 | &i2c5 { | ||||
202 | status = "okay"; | ||||
203 | }; | ||||
204 | |||||
205 | &i2c6 { | ||||
206 | status = "okay"; | ||||
207 | }; | ||||
208 | |||||
209 | &i2c7 { | ||||
210 | status = "okay"; | ||||
211 | }; | ||||
212 | |||||
213 | &i2c8 { | ||||
214 | status = "okay"; | ||||
215 | }; | ||||
216 | |||||
217 | &i2c9 { | ||||
218 | status = "okay"; | ||||
219 | }; | ||||
220 | |||||
221 | &i2c12 { | ||||
222 | status = "okay"; | ||||
223 | }; | ||||
224 | |||||
225 | &i2c13 { | ||||
226 | status = "okay"; | ||||
227 | }; | ||||
228 | |||||
229 | &i2c14 { | ||||
230 | status = "okay"; | ||||
231 | }; | ||||
232 | |||||
233 | &i2c15 { | ||||
234 | status = "okay"; | ||||
235 | }; | ||||
Joel Stanley | b2fa526 | 2019-08-22 20:35:24 +0930 | [diff] [blame] | 236 | |
237 | &fsim0 { | ||||
238 | status = "okay"; | ||||
239 | }; |