ramips: mt7620: power up ephy port 4
[openwrt/staging/mkresin.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 #address-cells = <1>;
23 #size-cells = <1>;
24 compatible = "jedec,spi-nor";
25 reg = <0>;
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 &pinctrl {
54 state_default: pinctrl0 {
55 gpio {
56 ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
57 ralink,function = "gpio";
58 };
59 };
60 };
61
62 &ethernet {
63 mtd-mac-address = <&factory 0x4>;
64 };
65
66 &esw {
67 mediatek,portmap = <0x2f>;
68 };
69
70 &ehci {
71 status = "okay";
72 };
73
74 &ohci {
75 status = "okay";
76 };
77
78 &wmac {
79 ralink,mtd-eeprom = <&factory 0>;
80 };