aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/files-4.14/arch/mips/boot/dts/EASY98000NAND.dts
blob: a40cef39310a1c2247595d745394a9f164aa85e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/dts-v1/;

#include "falcon.dtsi"
#include "EASY98000-base.dtsi"

/ {
	model = "Lantiq Falcon (NAND)";
	compatible = "lantiq,easy98000-nand", "lantiq,easy98000", "lantiq,falcon";

	aliases {
		spi0 = &spi;
	};
};

&ebu_cs0 {
	gen_nand@0 {
		compatible = "gen_nand", "lantiq,nand-falcon";
		bank-width = <1>;
		reg = <0x0 0x40000>;
		#address-cells = <1>;
		#size-cells = <1>;
		linux,mtd-name = "gen_nand";
		bbt-use-flash;

		partition@0 {
			label = "uboot";
			reg = <0x00000 0x40000>;
		};

		partition@10000 {
			label = "uboot_env";
			reg = <0x40000 0x40000>;
		};

		partition@20000 {
			label = "linux";
			reg = <0x80000 0x3d0000>;
		};
	};
};