ramips: move dts-v1 statement to top-level DTSI files
[openwrt/staging/hauke.git] / target / linux / ramips / dts / rt5350_easyacc_wizard-8800.dts
1 #include "rt5350.dtsi"
2
3 / {
4 compatible = "easyacc,wizard-8800", "ralink,rt5350-soc";
5 model = "EASYACC WI-STOR WIZARD 8800";
6 };
7
8 &gpio0 {
9 status = "okay";
10 };
11
12 &gpio1 {
13 status = "okay";
14 };
15
16 &spi0 {
17 status = "okay";
18
19 flash@0 {
20 compatible = "jedec,spi-nor";
21 reg = <0>;
22 spi-max-frequency = <10000000>;
23
24 partitions {
25 compatible = "fixed-partitions";
26 #address-cells = <1>;
27 #size-cells = <1>;
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 compatible = "denx,uimage";
49 label = "firmware";
50 reg = <0x50000 0x7b0000>;
51 };
52 };
53 };
54 };
55
56 &state_default {
57 gpio {
58 groups = "i2c", "jtag", "uartf";
59 function = "gpio";
60 };
61 };
62
63 &ethernet {
64 mtd-mac-address = <&factory 0x4>;
65 };
66
67 &esw {
68 mediatek,portmap = <0x2f>;
69 };
70
71 &ehci {
72 status = "okay";
73 };
74
75 &ohci {
76 status = "okay";
77 };
78
79 &wmac {
80 ralink,mtd-eeprom = <&factory 0x0>;
81 };