Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
[linux-2.6-microblaze.git] / arch / arm / boot / dts / aspeed-ast2600-evb.dts
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
26 &mdio1 {
27         status = "okay";
28
29         ethphy1: ethernet-phy@0 {
30                 compatible = "ethernet-phy-ieee802.3-c22";
31                 reg = <0>;
32         };
33 };
34
35 &mdio2 {
36         status = "okay";
37
38         ethphy2: ethernet-phy@0 {
39                 compatible = "ethernet-phy-ieee802.3-c22";
40                 reg = <0>;
41         };
42 };
43
44 &mdio3 {
45         status = "okay";
46
47         ethphy3: ethernet-phy@0 {
48                 compatible = "ethernet-phy-ieee802.3-c22";
49                 reg = <0>;
50         };
51 };
52
53 &mac1 {
54         status = "okay";
55
56         phy-mode = "rgmii";
57         phy-handle = <&ethphy1>;
58
59         pinctrl-names = "default";
60         pinctrl-0 = <&pinctrl_rgmii2_default>;
61 };
62
63 &mac2 {
64         status = "okay";
65
66         phy-mode = "rgmii";
67         phy-handle = <&ethphy2>;
68
69         pinctrl-names = "default";
70         pinctrl-0 = <&pinctrl_rgmii3_default>;
71 };
72
73 &mac3 {
74         status = "okay";
75
76         phy-mode = "rgmii";
77         phy-handle = <&ethphy3>;
78
79         pinctrl-names = "default";
80         pinctrl-0 = <&pinctrl_rgmii4_default>;
81 };
82
83 &emmc_controller {
84         status = "okay";
85 };
86
87 &emmc {
88         non-removable;
89         bus-width = <4>;
90         max-frequency = <52000000>;
91 };
92
93 &rtc {
94         status = "okay";
95 };
96
97 &fmc {
98         status = "okay";
99         flash@0 {
100                 status = "okay";
101                 m25p,fast-read;
102                 label = "bmc";
103                 spi-max-frequency = <50000000>;
104
105                 partitions {
106                         compatible = "fixed-partitions";
107                         #address-cells = <1>;
108                         #size-cells = <1>;
109
110                         u-boot@0 {
111                                 reg = <0x0 0xe0000>; // 896KB
112                                 label = "u-boot";
113                         };
114
115                         u-boot-env@e0000 {
116                                 reg = <0xe0000 0x20000>; // 128KB
117                                 label = "u-boot-env";
118                         };
119
120                         kernel@100000 {
121                                 reg = <0x100000 0x900000>; // 9MB
122                                 label = "kernel";
123                         };
124
125                         rofs@a00000 {
126                                 reg = <0xa00000 0x2000000>; // 32MB
127                                 label = "rofs";
128                         };
129
130                         rwfs@6000000 {
131                                 reg = <0x2a00000 0x1600000>; // 22MB
132                                 label = "rwfs";
133                         };
134                 };
135         };
136 };
137
138 &spi1 {
139         status = "okay";
140         pinctrl-names = "default";
141         pinctrl-0 = <&pinctrl_spi1_default>;
142
143         flash@0 {
144                 status = "okay";
145                 m25p,fast-read;
146                 label = "pnor";
147                 spi-max-frequency = <100000000>;
148         };
149 };
150
151 &uart5 {
152         // Workaround for A0
153         compatible = "snps,dw-apb-uart";
154 };
155
156 &i2c0 {
157         status = "okay";
158
159         temp@2e {
160                 compatible = "adi,adt7490";
161                 reg = <0x2e>;
162         };
163 };
164
165 &i2c1 {
166         status = "okay";
167 };
168
169 &i2c2 {
170         status = "okay";
171 };
172
173 &i2c3 {
174         status = "okay";
175 };
176
177 &i2c4 {
178         status = "okay";
179 };
180
181 &i2c5 {
182         status = "okay";
183 };
184
185 &i2c6 {
186         status = "okay";
187 };
188
189 &i2c7 {
190         status = "okay";
191 };
192
193 &i2c8 {
194         status = "okay";
195 };
196
197 &i2c9 {
198         status = "okay";
199 };
200
201 &i2c12 {
202         status = "okay";
203 };
204
205 &i2c13 {
206         status = "okay";
207 };
208
209 &i2c14 {
210         status = "okay";
211 };
212
213 &i2c15 {
214         status = "okay";
215 };
216
217 &fsim0 {
218         status = "okay";
219 };