ramips: set the wifi mac address to the same as LAN on witi
[openwrt.git] / target / linux / ramips / dts / RT-N10-PLUS.dts
1 /dts-v1/;
2
3 /include/ "rt3050.dtsi"
4
5 / {
6         compatible = "RT-N10-PLUS", "ralink,rt3050-soc";
7         model = "Asus RT-N10+";
8
9         cfi@1f000000 {
10                 compatible = "cfi-flash";
11                 reg = <0x1f000000 0x800000>;
12                 bank-width = <2>;
13                 device-width = <2>;
14                 #address-cells = <1>;
15                 #size-cells = <1>;
16
17                 partition@0 {
18                         label = "u-boot";
19                         reg = <0x0 0x30000>;
20                         read-only;
21                 };
22
23                 partition@30000 {
24                         label = "devdata";
25                         reg = <0x30000 0x10000>;
26                         read-only;
27                 };
28
29                 devconf: partition@40000 {
30                         label = "devconf";
31                         reg = <0x40000 0x10000>;
32                         read-only;
33                 };
34
35                 partition@50000 {
36                         label = "firmware";
37                         reg = <0x50000 0x3b0000>;
38                 };
39         };
40
41         ethernet@10100000 {
42                 mtd-mac-address = <&devconf 0x4>;
43         };
44
45         esw@10110000 {
46                 mediatek,portmap = <0x3e>;
47         };
48
49         wmac@10180000 {
50                 ralink,mtd-eeprom = <&devconf 0>;
51         };
52
53         gpio-leds {
54                 compatible = "gpio-leds";
55
56                 wps {
57                         label = "rt-n10-plus:green:wps";
58                         gpios = <&gpio0 14 1>;
59                 };
60         };
61
62         gpio-keys-polled {
63                 compatible = "gpio-keys-polled";
64                 #address-cells = <1>;
65                 #size-cells = <0>;
66                 poll-interval = <20>;
67
68                 reset {
69                         label = "reset";
70                         gpios = <&gpio0 10 1>;
71                         linux,code = <0x198>;
72                 };
73
74                 wps {
75                         label = "wps";
76                         gpios = <&gpio0 0 1>;
77                         linux,code = <0x211>;
78                 };
79         };
80 };