lantiq: move partitions into partion table node
[oweals/openwrt.git] / target / linux / lantiq / dts / EASY80920NAND.dts
1 /dts-v1/;
2
3
4 /include/ "EASY80920.dtsi"
5
6 / {
7         fpi@10000000 {
8                 localbus@0 {
9                         ranges = <0 0 0x4000000 0x3ffffff>;
10                         nand-parts@0 {
11                                 compatible = "gen_nand", "lantiq,nand-xway";
12                                 lantiq,cs = <1>;
13                                 bank-width = <2>;
14                                 reg = <0 0x0 0x2000000>;
15                                 #address-cells = <1>;
16                                 #size-cells = <1>;
17
18                                 partitions {
19                                         compatible = "fixed-partitions";
20                                         #address-cells = <1>;
21                                         #size-cells = <1>;
22
23                                         partition@0 {
24                                                 label = "uboot";
25                                                 reg = <0x00000 0x40000>;
26                                         };
27
28                                         partition@10000 {
29                                                 label = "uboot_env";
30                                                 reg = <0x40000 0x40000>;
31                                         };
32
33                                         partition@20000 {
34                                                 label = "firmware";
35                                                 reg = <0x80000 0x3f80000>;
36                                         };
37                                 };
38                         };
39                 };
40         };
41 };