xref: /freebsd/sys/contrib/device-tree/src/xtensa/xtfpga-flash-16m.dtsi (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
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@0x0 {
12				label = "boot loader area";
13				reg = <0x00000000 0x00400000>;
14			};
15			partition@0x400000 {
16				label = "kernel image";
17				reg = <0x00400000 0x00600000>;
18			};
19			partition@0xa00000 {
20				label = "data";
21				reg = <0x00a00000 0x005e0000>;
22			};
23			partition@0xfe0000 {
24				label = "boot environment";
25				reg = <0x00fe0000 0x00020000>;
26			};
27		};
28	};
29};
30