xref: /openbmc/linux/arch/powerpc/boot/dts/o2d.dts (revision feac8c8b)
1/*
2 * O2D Device Tree Source
3 *
4 * Copyright (C) 2012 DENX Software Engineering
5 * Anatolij Gustschin <agust@denx.de>
6 *
7 * This program is free software; you can redistribute  it and/or modify it
8 * under  the terms of  the GNU General  Public License as published by the
9 * Free Software Foundation;  either version 2 of the  License, or (at your
10 * option) any later version.
11 */
12
13/include/ "o2d.dtsi"
14
15/ {
16	model = "ifm,o2d";
17	compatible = "ifm,o2d";
18
19	memory {
20		reg = <0x00000000 0x08000000>;  // 128MB
21	};
22
23	localbus {
24		ranges = <0 0 0xfc000000 0x02000000
25			  3 0 0xe3000000 0x00100000>;
26
27		flash@0,0 {
28			compatible = "cfi-flash";
29			reg = <0 0 0x02000000>;
30			bank-width = <2>;
31			device-width = <2>;
32			#size-cells = <1>;
33			#address-cells = <1>;
34
35			partition@60000 {
36				label = "kernel";
37				reg = <0x00060000 0x00260000>;
38				read-only;
39			};
40			/* o2d specific partitions */
41			partition@2c0000 {
42				label = "o2d user defined";
43				reg = <0x002c0000 0x01d40000>;
44			};
45		};
46	};
47};
48