ramips: mt7621: fix 5GHz WiFi LED on ZBT WG3526
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / RT5350F-OLINUXINO.dtsi
1 #include "rt5350.dtsi"
2
3 / {
4 compatible = "olimex,rt5350f-olinuxino", "ralink,rt5350-soc";
5
6 aliases {
7 serial0 = &uartlite;
8 serial1 = &uart;
9 };
10 };
11
12
13 &spi0 {
14 status = "okay";
15
16 m25p80@0 {
17 compatible = "jedec,spi-nor";
18 reg = <0>;
19 spi-max-frequency = <10000000>;
20
21 partitions {
22 compatible = "fixed-partitions";
23 #address-cells = <1>;
24 #size-cells = <1>;
25
26 partition@0 {
27 label = "u-boot";
28 reg = <0x0 0x30000>;
29 read-only;
30 };
31
32 partition@30000 {
33 label = "u-boot-env";
34 reg = <0x30000 0x10000>;
35 read-only;
36 };
37
38 factory: partition@40000 {
39 label = "factory";
40 reg = <0x40000 0x10000>;
41 read-only;
42 };
43
44 partition@50000 {
45 compatible = "denx,uimage";
46 label = "firmware";
47 reg = <0x50000 0x7b0000>;
48 };
49 };
50 };
51 };
52
53 &gpio1 {
54 status = "okay";
55 };
56
57 &pinctrl {
58 state_default: pinctrl0 {
59 gpio {
60 ralink,group = "jtag";
61 ralink,function = "gpio";
62 };
63 uartf_gpio {
64 ralink,group = "uartf";
65 ralink,function = "gpio uartf";
66 };
67 };
68 };
69
70 &ethernet {
71 mtd-mac-address = <&factory 0x4>;
72 };
73
74 &esw {
75 mediatek,portmap = <0x2f>;
76 mediatek,led_polarity = <0x17>;
77 };
78
79 &wmac {
80 ralink,mtd-eeprom = <&factory 0>;
81 ralink,led-polarity = <1>;
82 };
83
84 &ehci {
85 status = "okay";
86 };
87
88 &ohci {
89 status = "okay";
90 };
91
92 &i2c {
93 status = "okay";
94 };
95
96 &uart {
97 status = "okay";
98 };
99