xref: /freebsd/sys/contrib/device-tree/src/xtensa/xtfpga-flash-16m.dtsi (revision a8089ea5aee578e08acab2438e82fc9a9ae50ed8)
1// SPDX-License-Identifier: GPL-2.0
2/ {
3	soc {
4		flash: flash@08000000 {
5			#address-cells = <1>;
6			#size-cells = <1>;
7			compatible = "cfi-flash";
8			reg = <0x08000000 0x01000000>;
9			bank-width = <2>;
10			device-width = <2>;
11			partition@0 {
12				label = "boot loader area";
13				reg = <0x00000000 0x00400000>;
14			};
15			partition@400000 {
16				label = "kernel image";
17				reg = <0x00400000 0x00600000>;
18			};
19			partition@a00000 {
20				label = "data";
21				reg = <0x00a00000 0x005e0000>;
22			};
23			partition@fe0000 {
24				label = "boot environment";
25				reg = <0x00fe0000 0x00020000>;
26			};
27		};
28	};
29};
30