lantiq: kernel: xway-nand: Move ECC engine setting to new DT binding
[openwrt/openwrt.git] / target / linux / lantiq / files / arch / mips / boot / dts / lantiq / vr9_zyxel_p-2812hnu-f3.dts
1 #include "vr9_zyxel_p-2812hnu-fx.dtsi"
2
3 / {
4 compatible = "zyxel,p-2812hnu-f3", "zyxel,p-2812hnu", "lantiq,xway", "lantiq,vr9";
5 model = "ZyXEL P-2812HNU-F3";
6 };
7
8 &pci0 {
9 wifi@1814,3092 {
10 compatible = "pci1814,3092";
11 reg = <0x7000 0 0 0 0>;
12 ralink,eeprom = "RT3092.eeprom";
13 };
14 };
15
16 &localbus {
17 flash@0 {
18 compatible = "lantiq,nor";
19 bank-width = <2>;
20 reg = <0 0x0 0x800000>;
21
22 pinctrl-0 = <&nand_pins>, <&nand_cs1_pins>;
23 pinctrl-names = "default";
24
25 partitions {
26 compatible = "fixed-partitions";
27 #address-cells = <1>;
28 #size-cells = <1>;
29
30 partition@0 {
31 label = "uboot";
32 reg = <0x0 0x50000>;
33 read-only;
34 };
35 partition@50000 {
36 label = "u-boot-env";
37 reg = <0x50000 0x10000>;
38 };
39 partition@60000 {
40 label = "unused";
41 reg = <0x60000 0x7a0000>;
42 };
43 };
44 };
45
46 flash@1 {
47 compatible = "lantiq,nand-xway";
48 lantiq,cs = <1>;
49 bank-width = <2>;
50 reg = <1 0x0 0x2000000>;
51 #address-cells = <1>;
52 #size-cells = <1>;
53
54 nand-use-soft-ecc-engine;
55
56 partition@0 {
57 label = "kernel";
58 reg = <0x0 0x200000>;
59 };
60 partition@200000 {
61 label = "ubi";
62 reg = <0x200000 0x7e00000>;
63 };
64 };
65 };