ramips: add support for I-O DATA WNPR2600G
[oweals/openwrt.git] / target / linux / ramips / dts / mt7628an_mediatek_mt7628an-eval-board.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
10 &pinctrl {
11         state_default: pinctrl0 {
12                 gpio {
13                         ralink,group = "i2c";
14                         ralink,function = "gpio";
15                 };
16         };
17 };
18
19 &wmac {
20         status = "okay";
21 };
22
23 &spi0 {
24         status = "okay";
25
26         m25p80@0 {
27                 compatible = "jedec,spi-nor";
28                 reg = <0>;
29                 spi-max-frequency = <10000000>;
30
31                 partitions {
32                         compatible = "fixed-partitions";
33                         #address-cells = <1>;
34                         #size-cells = <1>;
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                                 compatible = "denx,uimage";
56                                 label = "firmware";
57                                 reg = <0x50000 0x7b0000>;
58                         };
59                 };
60         };
61 };
62
63 &wmac {
64         status = "okay";
65 };