ramips: disable NAND device in mt7621.dtsi to fix boot errors on many devices
[oweals/openwrt.git] / target / linux / ramips / dts / WT3020-4M.dts
1 /dts-v1/;
2
3 /include/ "mt7620n.dtsi"
4
5 / {
6         compatible = "wt3020", "ralink,mt7620n-soc";
7         model = "Nexx WT3020";
8
9         palmbus@10000000 {
10                 gpio2: gpio@660 {
11                         status = "okay";
12                 };
13
14                 gpio3: gpio@688 {
15                         status = "okay";
16                 };
17
18                 spi@b00 {
19                         status = "okay";
20
21                         m25p80@0 {
22                                 #address-cells = <1>;
23                                 #size-cells = <1>;
24                                 compatible = "jedec,spi-nor";
25                                 reg = <0 0>;
26                                 linux,modalias = "m25p80", "w25q32";
27                                 spi-max-frequency = <10000000>;
28
29                                 partition@0 {
30                                         label = "u-boot";
31                                         reg = <0x0 0x30000>;
32                                         read-only;
33                                 };
34
35                                 partition@30000 {
36                                         label = "u-boot-env";
37                                         reg = <0x30000 0x10000>;
38                                         read-only;
39                                 };
40
41                                 factory: partition@40000 {
42                                         label = "factory";
43                                         reg = <0x40000 0x10000>;
44                                         read-only;
45                                 };
46
47                                 partition@50000 {
48                                         label = "firmware";
49                                         reg = <0x50000 0x3b0000>;
50                                 };
51                         };
52                 };
53         };
54
55         ehci@101c0000 {
56                 status = "okay";
57         };
58
59         ohci@101c1000 {
60                 status = "okay";
61         };
62
63         ethernet@10100000 {
64                 mtd-mac-address = <&factory 0x4>;
65                 mediatek,portmap = "wllll";
66         };
67
68         wmac@10180000 {
69                 ralink,mtd-eeprom = <&factory 0>;
70         };
71
72         pinctrl {
73                 state_default: pinctrl0 {
74                         default {
75                                 ralink,group = "ephy", "wled", "pa", "i2c", "wdt", "uartf";
76                                 ralink,function = "gpio";
77                         };
78                 };
79         };
80
81         gpio-keys-polled {
82                 compatible = "gpio-keys-polled";
83                 #address-cells = <1>;
84                 #size-cells = <0>;
85                 poll-interval = <20>;
86
87                 reset {
88                         label = "reset";
89                         gpios = <&gpio0 1 1>;
90                         linux,code = <0x198>;
91                 };
92         };
93
94         gpio-leds {
95                 compatible = "gpio-leds";
96
97                 power {
98                         label = "wt3020:blue:power";
99                         gpios = <&gpio3 0 0>;
100                 };
101         };
102 };