treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / powerpc / boot / dts / o2d.dts
blob24a46f65e529933e75af46186e4f48de7cb16012
1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /*
3  * O2D Device Tree Source
4  *
5  * Copyright (C) 2012 DENX Software Engineering
6  * Anatolij Gustschin <agust@denx.de>
7  */
9 /include/ "o2d.dtsi"
11 / {
12         model = "ifm,o2d";
13         compatible = "ifm,o2d";
15         memory {
16                 reg = <0x00000000 0x08000000>;  // 128MB
17         };
19         localbus {
20                 ranges = <0 0 0xfc000000 0x02000000
21                           3 0 0xe3000000 0x00100000>;
23                 flash@0,0 {
24                         compatible = "cfi-flash";
25                         reg = <0 0 0x02000000>;
26                         bank-width = <2>;
27                         device-width = <2>;
28                         #size-cells = <1>;
29                         #address-cells = <1>;
31                         partition@60000 {
32                                 label = "kernel";
33                                 reg = <0x00060000 0x00260000>;
34                                 read-only;
35                         };
36                         /* o2d specific partitions */
37                         partition@2c0000 {
38                                 label = "o2d user defined";
39                                 reg = <0x002c0000 0x01d40000>;
40                         };
41                 };
42         };