18c2ecf20Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0-or-later
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * O2D300 Device Tree Source
48c2ecf20Sopenharmony_ci *
58c2ecf20Sopenharmony_ci * Copyright (C) 2012 DENX Software Engineering
68c2ecf20Sopenharmony_ci * Anatolij Gustschin <agust@denx.de>
78c2ecf20Sopenharmony_ci */
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_ci/include/ "o2d.dtsi"
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_ci/ {
128c2ecf20Sopenharmony_ci	model = "ifm,o2d300";
138c2ecf20Sopenharmony_ci	compatible = "ifm,o2d";
148c2ecf20Sopenharmony_ci
158c2ecf20Sopenharmony_ci	localbus {
168c2ecf20Sopenharmony_ci		ranges = <0 0 0xfc000000 0x02000000
178c2ecf20Sopenharmony_ci			  3 0 0xe3000000 0x00100000>;
188c2ecf20Sopenharmony_ci		flash@0,0 {
198c2ecf20Sopenharmony_ci			compatible = "cfi-flash";
208c2ecf20Sopenharmony_ci			reg = <0 0 0x02000000>;
218c2ecf20Sopenharmony_ci			bank-width = <2>;
228c2ecf20Sopenharmony_ci			device-width = <2>;
238c2ecf20Sopenharmony_ci			#size-cells = <1>;
248c2ecf20Sopenharmony_ci			#address-cells = <1>;
258c2ecf20Sopenharmony_ci
268c2ecf20Sopenharmony_ci			partition@40000 {
278c2ecf20Sopenharmony_ci				label = "env_1";
288c2ecf20Sopenharmony_ci				reg = <0x00040000 0x00020000>;
298c2ecf20Sopenharmony_ci				read-only;
308c2ecf20Sopenharmony_ci			};
318c2ecf20Sopenharmony_ci			partition@60000 {
328c2ecf20Sopenharmony_ci				label = "env_2";
338c2ecf20Sopenharmony_ci				reg = <0x00060000 0x00020000>;
348c2ecf20Sopenharmony_ci				read-only;
358c2ecf20Sopenharmony_ci			};
368c2ecf20Sopenharmony_ci			partition@80000 {
378c2ecf20Sopenharmony_ci				label = "kernel";
388c2ecf20Sopenharmony_ci				reg = <0x00080000 0x00260000>;
398c2ecf20Sopenharmony_ci				read-only;
408c2ecf20Sopenharmony_ci			};
418c2ecf20Sopenharmony_ci			/* o2d300 specific partitions */
428c2ecf20Sopenharmony_ci			partition@2e0000 {
438c2ecf20Sopenharmony_ci				label = "o2d300 user defined";
448c2ecf20Sopenharmony_ci				reg = <0x002e0000 0x01d20000>;
458c2ecf20Sopenharmony_ci			};
468c2ecf20Sopenharmony_ci		};
478c2ecf20Sopenharmony_ci	};
488c2ecf20Sopenharmony_ci};
49