treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / arm / boot / dts / aspeed-ast2600-evb.dts
blob4afa8662c4e8b22601219f6642d6ef41c340249d
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 &mdio1 {
27         status = "okay";
29         ethphy1: ethernet-phy@0 {
30                 compatible = "ethernet-phy-ieee802.3-c22";
31                 reg = <0>;
32         };
35 &mdio2 {
36         status = "okay";
38         ethphy2: ethernet-phy@0 {
39                 compatible = "ethernet-phy-ieee802.3-c22";
40                 reg = <0>;
41         };
44 &mdio3 {
45         status = "okay";
47         ethphy3: ethernet-phy@0 {
48                 compatible = "ethernet-phy-ieee802.3-c22";
49                 reg = <0>;
50         };
53 &mac1 {
54         status = "okay";
56         phy-mode = "rgmii";
57         phy-handle = <&ethphy1>;
59         pinctrl-names = "default";
60         pinctrl-0 = <&pinctrl_rgmii2_default>;
63 &mac2 {
64         status = "okay";
66         phy-mode = "rgmii";
67         phy-handle = <&ethphy2>;
69         pinctrl-names = "default";
70         pinctrl-0 = <&pinctrl_rgmii3_default>;
73 &mac3 {
74         status = "okay";
76         phy-mode = "rgmii";
77         phy-handle = <&ethphy3>;
79         pinctrl-names = "default";
80         pinctrl-0 = <&pinctrl_rgmii4_default>;
83 &emmc_controller {
84         status = "okay";
87 &emmc {
88         non-removable;
89         bus-width = <4>;
90         max-frequency = <52000000>;
93 &rtc {
94         status = "okay";
97 &fmc {
98         status = "okay";
99         flash@0 {
100                 status = "okay";
101                 m25p,fast-read;
102                 label = "bmc";
103                 spi-max-frequency = <50000000>;
105                 partitions {
106                         compatible = "fixed-partitions";
107                         #address-cells = <1>;
108                         #size-cells = <1>;
110                         u-boot@0 {
111                                 reg = <0x0 0xe0000>; // 896KB
112                                 label = "u-boot";
113                         };
115                         u-boot-env@e0000 {
116                                 reg = <0xe0000 0x20000>; // 128KB
117                                 label = "u-boot-env";
118                         };
120                         kernel@100000 {
121                                 reg = <0x100000 0x900000>; // 9MB
122                                 label = "kernel";
123                         };
125                         rofs@a00000 {
126                                 reg = <0xa00000 0x2000000>; // 32MB
127                                 label = "rofs";
128                         };
130                         rwfs@6000000 {
131                                 reg = <0x2a00000 0x1600000>; // 22MB
132                                 label = "rwfs";
133                         };
134                 };
135         };
138 &spi1 {
139         status = "okay";
140         pinctrl-names = "default";
141         pinctrl-0 = <&pinctrl_spi1_default>;
143         flash@0 {
144                 status = "okay";
145                 m25p,fast-read;
146                 label = "pnor";
147                 spi-max-frequency = <100000000>;
148         };
151 &uart5 {
152         // Workaround for A0
153         compatible = "snps,dw-apb-uart";
156 &i2c0 {
157         status = "okay";
159         temp@2e {
160                 compatible = "adi,adt7490";
161                 reg = <0x2e>;
162         };
165 &i2c1 {
166         status = "okay";
169 &i2c2 {
170         status = "okay";
173 &i2c3 {
174         status = "okay";
177 &i2c4 {
178         status = "okay";
181 &i2c5 {
182         status = "okay";
185 &i2c6 {
186         status = "okay";
189 &i2c7 {
190         status = "okay";
193 &i2c8 {
194         status = "okay";
197 &i2c9 {
198         status = "okay";
201 &i2c12 {
202         status = "okay";
205 &i2c13 {
206         status = "okay";
209 &i2c14 {
210         status = "okay";
213 &i2c15 {
214         status = "okay";