ramips: add support for easyacc wizard8800
[openwrt/staging/chunkeey.git] / target / linux / ramips / dts / WIZARD8800.dts
1 /dts-v1/;
2
3 /include/ "rt5350.dtsi"
4
5 / {
6 compatible = "WIZARD8800", "ralink,rt5350-soc";
7 model = "EASYACC WI-STOR WIZARD 8800";
8
9 palmbus@10000000 {
10 gpio1@638 {
11 status = "okay";
12 };
13
14 gpio2@660 {
15 status = "okay";
16 };
17
18 spi@b00 {
19 status = "okay";
20 m25p80@0 {
21 #address-cells = <1>;
22 #size-cells = <1>;
23 compatible = "w25q32";
24 reg = <0 0>;
25 linux,modalias = "m25p80", "w25q32";
26 spi-max-frequency = <10000000>;
27
28 partition@0 {
29 label = "u-boot";
30 reg = <0x0 0x30000>;
31 read-only;
32 };
33
34 partition@30000 {
35 label = "u-boot-env";
36 reg = <0x30000 0x10000>;
37 read-only;
38 };
39
40 factory: partition@40000 {
41 label = "factory";
42 reg = <0x40000 0x10000>;
43 read-only;
44 };
45
46 partition@50000 {
47 label = "firmware";
48 reg = <0x50000 0x7b0000>;
49 };
50 };
51 };
52 };
53
54 pinctrl {
55 state_default: pinctrl0 {
56 gpio {
57 ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
58 ralink,function = "gpio";
59 };
60 };
61 };
62
63 ethernet@10100000 {
64 mtd-mac-address = <&factory 0x4>;
65 };
66
67 esw@10110000 {
68 ralink,portmap = <0x2f>;
69 };
70
71 ehci@101c0000 {
72 status = "okay";
73 };
74
75 ohci@101c1000 {
76 status = "okay";
77 };
78
79 wmac@10180000 {
80 ralink,mtd-eeprom = <&factory 0>;
81 };
82 };