ramips: disable NAND device in mt7621.dtsi to fix boot errors on many devices
[oweals/openwrt.git] / target / linux / ramips / dts / MT7628.dts
1 /dts-v1/;
2
3 /include/ "mt7628an.dtsi"
4
5 / {
6         compatible = "mediatek,mt7628an-eval-board", "mediatek,mt7628an-soc";
7         model = "Mediatek MT7628AN evaluation board";
8
9         memory@0 {
10                 device_type = "memory";
11                 reg = <0x0 0x2000000>;
12         };
13
14         pinctrl {
15                 state_default: pinctrl0 {
16                         gpio {
17                                 ralink,group = "i2c", "jtag";
18                                 ralink,function = "gpio";
19                         };
20                 };
21         };
22
23         palmbus@10000000 {
24                 spi@b00 {
25                         status = "okay";
26
27                         m25p80@0 {
28                                 #address-cells = <1>;
29                                 #size-cells = <1>;
30                                 compatible = "jedec,spi-nor";
31                                 reg = <0 0>;
32                                 linux,modalias = "m25p80", "en25q64";
33                                 spi-max-frequency = <10000000>;
34                                 m25p,chunked-io = <32>;
35
36                                 partition@0 {
37                                         label = "u-boot";
38                                         reg = <0x0 0x30000>;
39                                         read-only;
40                                 };
41
42                                 partition@30000 {
43                                         label = "u-boot-env";
44                                         reg = <0x30000 0x10000>;
45                                         read-only;
46                                 };
47
48                                 factory: partition@40000 {
49                                         label = "factory";
50                                         reg = <0x40000 0x10000>;
51                                         read-only;
52                                 };
53
54                                 partition@50000 {
55                                         label = "firmware";
56                                         reg = <0x50000 0x7b0000>;
57                                 };
58                         };
59                 };
60         };
61 };