lantiq: fix building AVM/EVA sysupgrade images on NOR devices
[oweals/openwrt.git] / target / linux / lantiq / dts / EASY80920NAND.dts
1 /dts-v1/;
2
3
4 /include/ "EASY80920.dtsi"
5
6 / {
7         model = "EASY80920NAND - Intel EASY80920 Nand";
8
9         chosen {
10                 bootargs = "ubi.mtd=ubi ubi.block=0,rootfsA root=/dev/ubiblock0_1";
11         };
12
13         fpi@10000000 {
14                 localbus@0 {
15                         ranges = <0 0 0x4000000 0x3ffffff>;
16                         nand-parts@0 {
17                                 compatible = "gen_nand", "lantiq,nand-xway";
18                                 lantiq,cs = <1>;
19                                 bank-width = <2>;
20                                 reg = <0 0x0 0x2000000>;
21                                 #address-cells = <1>;
22                                 #size-cells = <1>;
23
24                                 partitions {
25                                         compatible = "fixed-partitions";
26                                         #address-cells = <1>;
27                                         #size-cells = <1>;
28
29                                         partition@0 {
30                                                 label = "uboot";
31                                                 reg = <0x00000 0x100000>; /* 1024 KB */
32                                         };
33
34                                         partition@100000 {
35                                                 label = "uboot_env";
36                                                 reg = <0x100000 0x40000>; /* 256 KB */
37                                         };
38
39                                         partition@140000 {
40                                                 label = "ubootconfigB";
41                                                 reg = <0x140000 0x40000>; /* 256 KB */
42                                         };
43
44                                         partition@180000 {
45                                                 label = "gphyfirmware";
46                                                 reg = <0x180000 0x40000>; /* 256 KB */
47                                         };
48
49                                         partition@1c0000 {
50                                                 label = "ubi";
51                                                 reg = <0x1c0000 0xc800000>;
52                                         };
53
54                                         partition@c9c0000 {
55                                                 label = "calibration";
56                                                 reg = <0xc9c0000 0x100000>;
57                                         };
58
59                                         partition@cac0000 {
60                                                 label = "res";
61                                                 reg = <0xcac0000 0x13540000>;
62                                         };
63                                 };
64                         };
65                 };
66         };
67 };