lantiq: dts: assign the NAND pins to the nand-controller node
[oweals/openwrt.git] / target / linux / lantiq / files / arch / mips / boot / dts / P2812HNUF3.dts
1 /dts-v1/;
2
3 #include "P2812HNUFX.dtsi"
4
5 / {
6         compatible = "zyxel,p-2812hnu-f3", "zyxel,p-2812hnu", "lantiq,xway", "lantiq,vr9";
7         model = "ZyXEL P-2812HNU-F3";
8 };
9
10 &pci0 {
11         wifi@1814,3092 {
12                 compatible = "pci1814,3092";
13                 reg = <0x7000 0 0 0 0>;
14                 ralink,eeprom = "RT3092.eeprom";
15         };
16 };
17
18 &localbus {
19         flash@0 {
20                 compatible = "lantiq,nor";
21                 bank-width = <2>;
22                 reg = <0 0x0 0x800000>;
23
24                 pinctrl-0 = <&nand_pins>, <&nand_cs1_pins>;
25                 pinctrl-names = "default";
26
27                 partitions {
28                         compatible = "fixed-partitions";
29                         #address-cells = <1>;
30                         #size-cells = <1>;
31
32                         partition@0 {
33                                 label = "uboot";
34                                 reg = <0x0 0x50000>;
35                                 read-only;
36                         };
37                         partition@50000 {
38                                 label = "uboot-env";
39                                 reg = <0x50000 0x10000>;
40                         };
41                         partition@60000 {
42                                 label = "unused";
43                                 reg = <0x60000 0x7a0000>;
44                         };
45                 };
46         };
47
48         flash@1 {
49                 compatible = "lantiq,nand-xway";
50                 lantiq,cs = <1>;
51                 bank-width = <2>;
52                 reg = <1 0x0 0x2000000>;
53                 #address-cells = <1>;
54                 #size-cells = <1>;
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 };