treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / powerpc / boot / dts / a3m071.dts
blob034cfd8aa95bff6215fe2433058c357e431c30ea
1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /*
3  * a3m071 board Device Tree Source
4  *
5  * Copyright 2012 Stefan Roese <sr@denx.de>
6  *
7  * Copyright (C) 2011 DENX Software Engineering GmbH
8  * Heiko Schocher <hs@denx.de>
9  *
10  * Copyright (C) 2007 Semihalf
11  * Marian Balakowicz <m8@semihalf.com>
12  */
14 /include/ "mpc5200b.dtsi"
16 &gpt0 { fsl,has-wdt; };
18 / {
19         model = "anonymous,a3m071";
20         compatible = "anonymous,a3m071";
22         soc5200@f0000000 {
23                 #address-cells = <1>;
24                 #size-cells = <1>;
25                 compatible = "fsl,mpc5200b-immr";
26                 ranges = <0 0xf0000000 0x0000c000>;
27                 reg = <0xf0000000 0x00000100>;
28                 bus-frequency = <0>; /* From boot loader */
29                 system-frequency = <0>; /* From boot loader */
31                 spi@f00 {
32                         status = "disabled";
33                 };
35                 usb: usb@1000 {
36                         status = "disabled";
37                 };
39                 psc@2000 {
40                         compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
41                         reg = <0x2000 0x100>;
42                         interrupts = <2 1 0>;
43                 };
45                 psc@2200 {
46                         status = "disabled";
47                 };
49                 psc@2400 {
50                         status = "disabled";
51                 };
53                 psc@2600 {
54                         status = "disabled";
55                 };
57                 psc@2800 {
58                         status = "disabled";
59                 };
61                 psc@2c00 {              // PSC6
62                         compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
63                         reg = <0x2c00 0x100>;
64                         interrupts = <2 4 0>;
65                 };
67                 ethernet@3000 {
68                         phy-handle = <&phy0>;
69                 };
71                 mdio@3000 {
72                         phy0: ethernet-phy@3 {
73                                 reg = <0x03>;
74                         };
75                 };
77                 ata@3a00 {
78                         status = "disabled";
79                 };
81                 i2c@3d00 {
82                         status = "disabled";
83                 };
85                 i2c@3d40 {
86                         status = "disabled";
87                 };
88         };
90         localbus {
91                 compatible = "fsl,mpc5200b-lpb","simple-bus";
92                 #address-cells = <2>;
93                 #size-cells = <1>;
94                 ranges = <0 0 0xfc000000 0x02000000
95                           3 0 0xe9000000 0x00080000
96                           5 0 0xe8000000 0x00010000>;
98                 flash@0,0 {
99                         #address-cells = <1>;
100                         #size-cells = <1>;
101                         reg = <0 0x0 0x02000000>;
102                         compatible = "cfi-flash";
103                         bank-width = <2>;
104                         partition@0 {
105                                 label = "u-boot";
106                                 reg = <0x00000000 0x00040000>;
107                                 read-only;
108                         };
109                         partition@40000 {
110                                 label = "env";
111                                 reg = <0x00040000 0x00020000>;
112                         };
113                         partition@60000 {
114                                 label = "dtb";
115                                 reg = <0x00060000 0x00020000>;
116                         };
117                         partition@80000 {
118                                 label = "kernel";
119                                 reg = <0x00080000 0x00500000>;
120                         };
121                         partition@580000 {
122                                 label = "root";
123                                 reg = <0x00580000 0x00A80000>;
124                         };
125                 };
127                 fpga@3,0 {
128                         compatible = "anonymous,a3m071-fpga";
129                         reg = <3 0x0 0x00080000
130                                5 0x0 0x00010000>;
131                         interrupts = <0 0 3>;  /* level low */
132                 };
133         };
135         pci@f0000d00 {
136                 status = "disabled";
137         };