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