xref: /openbmc/linux/arch/powerpc/boot/dts/o2d.dts (revision e2ad626f)
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 */
8
9/include/ "o2d.dtsi"
10
11/ {
12	model = "ifm,o2d";
13	compatible = "ifm,o2d";
14
15	memory@0 {
16		reg = <0x00000000 0x08000000>;  // 128MB
17	};
18
19	localbus {
20		ranges = <0 0 0xfc000000 0x02000000
21			  3 0 0xe3000000 0x00100000>;
22
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>;
30
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	};
43};
44