xref: /openbmc/linux/arch/powerpc/boot/dts/o2d300.dts (revision 1edd0337)
1// SPDX-License-Identifier: GPL-2.0-or-later
2/*
3 * O2D300 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,o2d300";
13	compatible = "ifm,o2d";
14
15	localbus {
16		ranges = <0 0 0xfc000000 0x02000000
17			  3 0 0xe3000000 0x00100000>;
18		flash@0,0 {
19			compatible = "cfi-flash";
20			reg = <0 0 0x02000000>;
21			bank-width = <2>;
22			device-width = <2>;
23			#size-cells = <1>;
24			#address-cells = <1>;
25
26			partition@40000 {
27				label = "env_1";
28				reg = <0x00040000 0x00020000>;
29				read-only;
30			};
31			partition@60000 {
32				label = "env_2";
33				reg = <0x00060000 0x00020000>;
34				read-only;
35			};
36			partition@80000 {
37				label = "kernel";
38				reg = <0x00080000 0x00260000>;
39				read-only;
40			};
41			/* o2d300 specific partitions */
42			partition@2e0000 {
43				label = "o2d300 user defined";
44				reg = <0x002e0000 0x01d20000>;
45			};
46		};
47	};
48};
49