336073f155104c6e660d8a3e000559cd5b2f7621
[openwrt/openwrt.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 &gpio1 {
9 status = "okay";
10 };
11
12 &spi0 {
13 status = "okay";
14
15 flash@0 {
16 compatible = "jedec,spi-nor";
17 reg = <0>;
18 spi-max-frequency = <10000000>;
19
20 partitions {
21 compatible = "fixed-partitions";
22 #address-cells = <1>;
23 #size-cells = <1>;
24
25 partition@0 {
26 label = "u-boot";
27 reg = <0x0 0x30000>;
28 read-only;
29 };
30
31 partition@30000 {
32 label = "u-boot-env";
33 reg = <0x30000 0x10000>;
34 read-only;
35 };
36
37 factory: partition@40000 {
38 label = "factory";
39 reg = <0x40000 0x10000>;
40 read-only;
41 };
42
43 partition@50000 {
44 compatible = "denx,uimage";
45 label = "firmware";
46 reg = <0x50000 0x7b0000>;
47 };
48 };
49 };
50 };
51
52 &state_default {
53 gpio {
54 groups = "i2c", "jtag", "uartf";
55 function = "gpio";
56 };
57 };
58
59 &ethernet {
60 mtd-mac-address = <&factory 0x4>;
61 };
62
63 &esw {
64 mediatek,portmap = <0x2f>;
65 };
66
67 &ehci {
68 status = "okay";
69 };
70
71 &ohci {
72 status = "okay";
73 };
74
75 &wmac {
76 ralink,mtd-eeprom = <&factory 0x0>;
77 };