lantiq: move partitions into partion table node
[openwrt/openwrt.git] / target / linux / lantiq / dts / P2812HNUF3.dts
1 /dts-v1/;
2
3 /include/ "P2812HNUFX.dtsi"
4
5 / {
6 model = "P2812HNUF3 - ZyXEL P-2812HNU-F3";
7
8 fpi@10000000 {
9 localbus@0 {
10 nor-boot@0 {
11 compatible = "lantiq,nor";
12 bank-width = <2>;
13 reg = <0 0x0 0x800000>;
14 #address-cells = <1>;
15 #size-cells = <1>;
16
17 partitions {
18 compatible = "fixed-partitions";
19 #address-cells = <1>;
20 #size-cells = <1>;
21
22 partition@0 {
23 label = "uboot";
24 reg = <0x0 0x50000>;
25 read-only;
26 };
27 partition@50000 {
28 label = "uboot-env";
29 reg = <0x50000 0x10000>;
30 };
31 partition@60000 {
32 label = "unused";
33 reg = <0x60000 0x7a0000>;
34 };
35 };
36 };
37
38 nand-parts@0 {
39 compatible = "gen_nand", "lantiq,nand-xway";
40 lantiq,cs = <1>;
41 bank-width = <2>;
42 reg = <1 0x0 0x2000000>;
43 #address-cells = <1>;
44 #size-cells = <1>;
45
46 partition@0 {
47 label = "kernel";
48 reg = <0x0 0x200000>;
49 };
50 partition@200000 {
51 label = "ubi";
52 reg = <0x200000 0x7e00000>;
53 };
54 };
55 };
56 };
57
58 ralink_eep {
59 compatible = "ralink,eeprom";
60 ralink,eeprom = "RT3092.eeprom";
61 };
62 };