treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / powerpc / boot / dts / uc101.dts
blob2e34d019178bf89778d25a14707899c9c7677d38
1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /*
3  * Manroland uc101 board Device Tree Source
4  *
5  * Copyright (C) 2009 DENX Software Engineering GmbH
6  * Heiko Schocher <hs@denx.de>
7  * Copyright 2006-2007 Secret Lab Technologies Ltd.
8  */
10 /include/ "mpc5200b.dtsi"
12 &gpt0 { gpio-controller; };
13 &gpt1 { gpio-controller; };
14 &gpt2 { gpio-controller; };
15 &gpt3 { gpio-controller; };
16 &gpt4 { gpio-controller; };
17 &gpt5 { gpio-controller; };
18 &gpt6 { gpio-controller; };
19 &gpt7 { gpio-controller; };
21 / {
22         model = "manroland,uc101";
23         compatible = "manroland,uc101";
25         soc5200@f0000000 {
26                 rtc@800 {
27                         status = "disabled";
28                 };
30                 can@900 {
31                         status = "disabled";
32                 };
34                 can@980 {
35                         status = "disabled";
36                 };
38                 spi@f00 {
39                         status = "disabled";
40                 };
42                 usb@1000 {
43                         status = "disabled";
44                 };
46                 psc@2000 {      // PSC1
47                         compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
48                 };
50                 psc@2200 {      // PSC2
51                         compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
52                 };
54                 psc@2400 {      // PSC3
55                         status = "disabled";
56                 };
58                 psc@2600 {      // PSC4
59                         status = "disabled";
60                 };
62                 psc@2800 {      // PSC5
63                         status = "disabled";
64                 };
66                 psc@2c00 {      // PSC6
67                         compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
68                 };
70                 ethernet@3000 {
71                         phy-handle = <&phy0>;
72                 };
74                 mdio@3000 {
75                         phy0: ethernet-phy@0 {
76                                 compatible = "intel,lxt971";
77                                 reg = <0>;
78                         };
79                 };
81                 i2c@3d00 {
82                         status = "disabled";
83                 };
85                 i2c@3d40 {
86                         fsl,preserve-clocking;
87                         clock-frequency = <400000>;
89                         hwmon@2c {
90                                 compatible = "ad,adm9240";
91                                 reg = <0x2c>;
92                         };
93                         rtc@51 {
94                                 compatible = "nxp,pcf8563";
95                                 reg = <0x51>;
96                         };
97                 };
98         };
100         pci@f0000d00 {
101                 status = "disabled";
102         };
104         localbus {
105                 ranges = <0 0 0xff800000 0x00800000
106                           1 0 0x80000000 0x00800000
107                           3 0 0x80000000 0x00800000>;
109                 flash@0,0 {
110                         compatible = "cfi-flash";
111                         reg = <0 0 0x00800000>;
112                         bank-width = <2>;
113                         device-width = <2>;
114                         #size-cells = <1>;
115                         #address-cells = <1>;
117                         partition@0 {
118                                 label = "DTS";
119                                 reg = <0x0 0x00100000>;
120                         };
121                         partition@100000 {
122                                 label = "Kernel";
123                                 reg = <0x100000 0x00200000>;
124                         };
125                         partition@300000 {
126                                 label = "RootFS";
127                                 reg = <0x00300000 0x00200000>;
128                         };
129                         partition@500000 {
130                                 label = "user";
131                                 reg = <0x00500000 0x00200000>;
132                         };
133                         partition@700000 {
134                                 label = "U-Boot";
135                                 reg = <0x00700000 0x00040000>;
136                         };
137                         partition@740000 {
138                                 label = "Env";
139                                 reg = <0x00740000 0x00010000>;
140                         };
141                         partition@750000 {
142                                 label = "red. Env";
143                                 reg = <0x00750000 0x00010000>;
144                         };
145                         partition@760000 {
146                                 label = "reserve";
147                                 reg = <0x00760000 0x000a0000>;
148                         };
149                 };
151         };