WIP FPC-III support
[linux/fpc-iii.git] / arch / arm / boot / dts / aspeed-ast2600-evb.dts
blob89be1319778071b9c2fba0e875635111e21e9e3c
1 // SPDX-License-Identifier: GPL-2.0-or-later
2 // Copyright 2019 IBM Corp.
4 /dts-v1/;
6 #include "aspeed-g6.dtsi"
8 / {
9         model = "AST2600 EVB";
10         compatible = "aspeed,ast2600";
12         aliases {
13                 serial4 = &uart5;
14         };
16         chosen {
17                 bootargs = "console=ttyS4,115200n8";
18         };
20         memory@80000000 {
21                 device_type = "memory";
22                 reg = <0x80000000 0x80000000>;
23         };
26 &mdio0 {
27         status = "okay";
29         ethphy0: ethernet-phy@0 {
30                 compatible = "ethernet-phy-ieee802.3-c22";
31                 reg = <0>;
32         };
35 &mdio1 {
36         status = "okay";
38         ethphy1: ethernet-phy@0 {
39                 compatible = "ethernet-phy-ieee802.3-c22";
40                 reg = <0>;
41         };
44 &mdio2 {
45         status = "okay";
47         ethphy2: ethernet-phy@0 {
48                 compatible = "ethernet-phy-ieee802.3-c22";
49                 reg = <0>;
50         };
53 &mdio3 {
54         status = "okay";
56         ethphy3: ethernet-phy@0 {
57                 compatible = "ethernet-phy-ieee802.3-c22";
58                 reg = <0>;
59         };
62 &mac0 {
63         status = "okay";
65         phy-mode = "rgmii";
66         phy-handle = <&ethphy0>;
68         pinctrl-names = "default";
69         pinctrl-0 = <&pinctrl_rgmii1_default>;
73 &mac1 {
74         status = "okay";
76         phy-mode = "rgmii";
77         phy-handle = <&ethphy1>;
79         pinctrl-names = "default";
80         pinctrl-0 = <&pinctrl_rgmii2_default>;
83 &mac2 {
84         status = "okay";
86         phy-mode = "rgmii";
87         phy-handle = <&ethphy2>;
89         pinctrl-names = "default";
90         pinctrl-0 = <&pinctrl_rgmii3_default>;
93 &mac3 {
94         status = "okay";
96         phy-mode = "rgmii";
97         phy-handle = <&ethphy3>;
99         pinctrl-names = "default";
100         pinctrl-0 = <&pinctrl_rgmii4_default>;
103 &emmc_controller {
104         status = "okay";
107 &emmc {
108         non-removable;
109         bus-width = <4>;
110         max-frequency = <52000000>;
113 &rtc {
114         status = "okay";
117 &fmc {
118         status = "okay";
119         flash@0 {
120                 status = "okay";
121                 m25p,fast-read;
122                 label = "bmc";
123                 spi-max-frequency = <50000000>;
125                 partitions {
126                         compatible = "fixed-partitions";
127                         #address-cells = <1>;
128                         #size-cells = <1>;
130                         u-boot@0 {
131                                 reg = <0x0 0xe0000>; // 896KB
132                                 label = "u-boot";
133                         };
135                         u-boot-env@e0000 {
136                                 reg = <0xe0000 0x20000>; // 128KB
137                                 label = "u-boot-env";
138                         };
140                         kernel@100000 {
141                                 reg = <0x100000 0x900000>; // 9MB
142                                 label = "kernel";
143                         };
145                         rofs@a00000 {
146                                 reg = <0xa00000 0x2000000>; // 32MB
147                                 label = "rofs";
148                         };
150                         rwfs@6000000 {
151                                 reg = <0x2a00000 0x1600000>; // 22MB
152                                 label = "rwfs";
153                         };
154                 };
155         };
158 &spi1 {
159         status = "okay";
160         pinctrl-names = "default";
161         pinctrl-0 = <&pinctrl_spi1_default>;
163         flash@0 {
164                 status = "okay";
165                 m25p,fast-read;
166                 label = "pnor";
167                 spi-max-frequency = <100000000>;
168         };
171 &uart5 {
172         // Workaround for A0
173         compatible = "snps,dw-apb-uart";
176 &i2c0 {
177         status = "okay";
179         temp@2e {
180                 compatible = "adi,adt7490";
181                 reg = <0x2e>;
182         };
185 &i2c1 {
186         status = "okay";
189 &i2c2 {
190         status = "okay";
193 &i2c3 {
194         status = "okay";
197 &i2c4 {
198         status = "okay";
201 &i2c5 {
202         status = "okay";
205 &i2c6 {
206         status = "okay";
209 &i2c7 {
210         status = "okay";
213 &i2c8 {
214         status = "okay";
217 &i2c9 {
218         status = "okay";
221 &i2c12 {
222         status = "okay";
225 &i2c13 {
226         status = "okay";
229 &i2c14 {
230         status = "okay";
233 &i2c15 {
234         status = "okay";
237 &fsim0 {
238         status = "okay";