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