b4afc8ce967636d5a9009f8be5847dcaf05ab3db
[openwrt/staging/mkresin.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
15 &pinctrl {
16 state_default: pinctrl0 {
17 gpio {
18 ralink,group = "i2c";
19 ralink,function = "gpio";
20 };
21 };
22 };
23
24 &wmac {
25 status = "okay";
26 };
27
28 &spi0 {
29 status = "okay";
30
31 m25p80@0 {
32 compatible = "jedec,spi-nor";
33 reg = <0>;
34 spi-max-frequency = <10000000>;
35
36 partitions {
37 compatible = "fixed-partitions";
38 #address-cells = <1>;
39 #size-cells = <1>;
40
41 partition@0 {
42 label = "u-boot";
43 reg = <0x0 0x30000>;
44 read-only;
45 };
46
47 partition@30000 {
48 label = "u-boot-env";
49 reg = <0x30000 0x10000>;
50 read-only;
51 };
52
53 factory: partition@40000 {
54 label = "factory";
55 reg = <0x40000 0x10000>;
56 read-only;
57 };
58
59 partition@50000 {
60 compatible = "denx,uimage";
61 label = "firmware";
62 reg = <0x50000 0x7b0000>;
63 };
64 };
65 };
66 };
67
68 &wmac {
69 status = "okay";
70 };