5e5b0a1928fd3d4ee34cb11c5113ed2ca6e6e64b
[openwrt/svn-archive/archive.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 wmac@10300000 {
24 status = "okay";
25 };
26
27 palmbus@10000000 {
28 spi@b00 {
29 status = "okay";
30
31 m25p80@0 {
32 #address-cells = <1>;
33 #size-cells = <1>;
34 compatible = "jedec,spi-nor";
35 reg = <0 0>;
36 linux,modalias = "m25p80", "en25q64";
37 spi-max-frequency = <10000000>;
38 m25p,chunked-io = <32>;
39
40 partition@0 {
41 label = "u-boot";
42 reg = <0x0 0x30000>;
43 read-only;
44 };
45
46 partition@30000 {
47 label = "u-boot-env";
48 reg = <0x30000 0x10000>;
49 read-only;
50 };
51
52 factory: partition@40000 {
53 label = "factory";
54 reg = <0x40000 0x10000>;
55 read-only;
56 };
57
58 partition@50000 {
59 label = "firmware";
60 reg = <0x50000 0x7b0000>;
61 };
62 };
63 };
64 };
65 };