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