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