ramips: RT5350F-OLINUXINO: invert WiFi LED polarity
[openwrt/staging/lynxis.git] / target / linux / ramips / dts / RT5350F-OLINUXINO.dtsi
1 #include "rt5350.dtsi"
2
3 / {
4 compatible = "olimex,rt5350f-olinuxino", "ralink,rt5350-soc";
5 };
6
7 &spi0 {
8 status = "okay";
9
10 m25p80@0 {
11 #address-cells = <1>;
12 #size-cells = <1>;
13 compatible = "jedec,spi-nor";
14 reg = <0>;
15 spi-max-frequency = <10000000>;
16
17 partition@0 {
18 label = "u-boot";
19 reg = <0x0 0x30000>;
20 read-only;
21 };
22
23 partition@30000 {
24 label = "u-boot-env";
25 reg = <0x30000 0x10000>;
26 read-only;
27 };
28
29 factory: partition@40000 {
30 label = "factory";
31 reg = <0x40000 0x10000>;
32 read-only;
33 };
34
35 partition@50000 {
36 label = "firmware";
37 reg = <0x50000 0x7b0000>;
38 };
39 };
40 };
41
42 &gpio1 {
43 status = "okay";
44 };
45
46 &pinctrl {
47 state_default: pinctrl0 {
48 gpio {
49 ralink,group = "jtag", "rgmii", "mdio", "uartf";
50 ralink,function = "gpio";
51 };
52 };
53 };
54
55 &ethernet {
56 mtd-mac-address = <&factory 0x4>;
57 };
58
59 &esw {
60 mediatek,portmap = <0x2f>;
61 mediatek,led_polarity = <0x17>;
62 };
63
64 &wmac {
65 ralink,mtd-eeprom = <&factory 0>;
66 ralink,led-polarity = <1>;
67 };
68
69 &ehci {
70 status = "okay";
71 };
72
73 &ohci {
74 status = "okay";
75 };