ramips: move dts-v1 statement to top-level DTSI files
[openwrt/staging/mkresin.git] / target / linux / ramips / dts / mt7628an_mediatek_mt7628an-eval-board.dts
1 #include "mt7628an.dtsi"
2
3 / {
4 compatible = "mediatek,mt7628an-eval-board", "mediatek,mt7628an-soc";
5 model = "Mediatek MT7628AN evaluation board";
6 };
7
8 &state_default {
9 gpio {
10 groups = "i2c";
11 function = "gpio";
12 };
13 };
14
15 &wmac {
16 status = "okay";
17 };
18
19 &spi0 {
20 status = "okay";
21
22 flash@0 {
23 compatible = "jedec,spi-nor";
24 reg = <0>;
25 spi-max-frequency = <10000000>;
26
27 partitions {
28 compatible = "fixed-partitions";
29 #address-cells = <1>;
30 #size-cells = <1>;
31
32 partition@0 {
33 label = "u-boot";
34 reg = <0x0 0x30000>;
35 read-only;
36 };
37
38 partition@30000 {
39 label = "u-boot-env";
40 reg = <0x30000 0x10000>;
41 read-only;
42 };
43
44 factory: partition@40000 {
45 label = "factory";
46 reg = <0x40000 0x10000>;
47 read-only;
48 };
49
50 partition@50000 {
51 compatible = "denx,uimage";
52 label = "firmware";
53 reg = <0x50000 0x7b0000>;
54 };
55 };
56 };
57 };
58
59 &wmac {
60 status = "okay";
61 };