xref: /freebsd/sys/contrib/device-tree/src/powerpc/o2dnt2.dts (revision 8cc087a1eee9ec1ca9f7ac1e63ad51bdb5a682eb)
1c66ec88fSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-or-later
2c66ec88fSEmmanuel Vadot/*
3c66ec88fSEmmanuel Vadot * O2DNT2 Device Tree Source
4c66ec88fSEmmanuel Vadot *
5c66ec88fSEmmanuel Vadot * Copyright (C) 2012 DENX Software Engineering
6c66ec88fSEmmanuel Vadot * Anatolij Gustschin <agust@denx.de>
7c66ec88fSEmmanuel Vadot */
8c66ec88fSEmmanuel Vadot
9c66ec88fSEmmanuel Vadot/include/ "o2d.dtsi"
10c66ec88fSEmmanuel Vadot
11c66ec88fSEmmanuel Vadot/ {
12c66ec88fSEmmanuel Vadot	model = "ifm,o2dnt2";
13c66ec88fSEmmanuel Vadot	compatible = "ifm,o2d";
14c66ec88fSEmmanuel Vadot
15*8cc087a1SEmmanuel Vadot	memory@0 {
16c66ec88fSEmmanuel Vadot		reg = <0x00000000 0x08000000>;  // 128MB
17c66ec88fSEmmanuel Vadot	};
18c66ec88fSEmmanuel Vadot
19c66ec88fSEmmanuel Vadot	localbus {
20c66ec88fSEmmanuel Vadot		ranges = <0 0 0xfc000000 0x02000000
21c66ec88fSEmmanuel Vadot			  3 0 0xe3000000 0x00100000>;
22c66ec88fSEmmanuel Vadot
23c66ec88fSEmmanuel Vadot		flash@0,0 {
24c66ec88fSEmmanuel Vadot			compatible = "cfi-flash";
25c66ec88fSEmmanuel Vadot			reg = <0 0 0x02000000>;
26c66ec88fSEmmanuel Vadot			bank-width = <2>;
27c66ec88fSEmmanuel Vadot			device-width = <2>;
28c66ec88fSEmmanuel Vadot			#size-cells = <1>;
29c66ec88fSEmmanuel Vadot			#address-cells = <1>;
30c66ec88fSEmmanuel Vadot
31c66ec88fSEmmanuel Vadot			partition@60000 {
32c66ec88fSEmmanuel Vadot				label = "kernel";
33c66ec88fSEmmanuel Vadot				reg = <0x00060000 0x00260000>;
34c66ec88fSEmmanuel Vadot				read-only;
35c66ec88fSEmmanuel Vadot			};
36c66ec88fSEmmanuel Vadot
37c66ec88fSEmmanuel Vadot			/* o2dnt2 specific partitions */
38c66ec88fSEmmanuel Vadot			partition@2c0000 {
39c66ec88fSEmmanuel Vadot				label = "o2dnt2 user defined";
40c66ec88fSEmmanuel Vadot				reg = <0x002c0000 0x01d40000>;
41c66ec88fSEmmanuel Vadot			};
42c66ec88fSEmmanuel Vadot		};
43c66ec88fSEmmanuel Vadot	};
44c66ec88fSEmmanuel Vadot};
45