Merge pull request #580 from wigyori/cc-libpcap
[15.05/openwrt.git] / target / linux / ramips / dts / RT-N14U.dts
1 /dts-v1/;
2
3 /include/ "mt7620n.dtsi"
4
5 / {
6         compatible = "asus,rt-n14u", "ralink,mt7620n-soc";
7         model = "Asus RT-N14U";
8
9         palmbus@10000000 {
10                 gpio2: gpio@660 {
11                         status = "okay";
12                 };
13
14                 gpio3: gpio@688 {
15                         status = "okay";
16                 };
17
18                 spi@b00 {
19                         status = "okay";
20
21                         m25p80@0 {
22                                 #address-cells = <1>;
23                                 #size-cells = <1>;
24                                 #compatible = "mx25l6405d";
25                                 compatible = "w25q128";
26                                 reg = <0 0>;
27                                 linux,modalias = "m25p80", "w25q128";
28                                 spi-max-frequency = <10000000>;
29
30                                 partition@0 {
31                                         label = "u-boot";
32                                         reg = <0x0 0x30000>;
33                                         read-only;
34                                 };
35
36                                 partition@30000 {
37                                         label = "u-boot-env";
38                                         reg = <0x30000 0x10000>;
39                                         read-only;
40                                 };
41
42                                 factory: partition@40000 {
43                                         label = "factory";
44                                         reg = <0x40000 0x10000>;
45                                         read-only;
46                                 };
47
48                                 partition@50000 {
49                                         label = "firmware";
50                                         reg = <0x50000 0xfb0000>;
51                                 };
52                         };
53                 };
54         };
55
56         ehci@101c0000 {
57                 status = "okay";
58         };
59
60         ohci@101c1000 {
61                 status = "okay";
62         };
63
64         ethernet@10100000 {
65                 mtd-mac-address = <&factory 0x4>;
66                 ralink,port-map = "wllll";
67         };
68
69         wmac@10180000 {
70                 ralink,mtd-eeprom = <&factory 0>;
71         };
72
73         pinctrl {
74                 state_default: pinctrl0 {
75                         default {
76                                 ralink,group = "ephy", "wled", "i2c";
77                                 ralink,function = "gpio";
78                         };
79                 };
80         };
81
82         gpio-leds {
83                 compatible = "gpio-leds";
84                 wan {
85                         label = "asus:blue:wan";
86                         gpios = <&gpio2 0 1>;
87                 };
88                 lan {
89                         label = "asus:blue:lan";
90                         gpios = <&gpio2 1 1>;
91                 };
92                 usb {
93                         label = "asus:blue:usb";
94                         gpios = <&gpio2 2 1>;
95                 };
96                 power {
97                         label = "asus:blue:power";
98                         gpios = <&gpio2 3 1>;
99                 };
100                 air {
101                         label = "asus:blue:air";
102                         gpios = <&gpio3 0 1>;
103                 };
104         };
105
106         gpio-keys-polled {
107                 compatible = "gpio-keys-polled";
108                 #address-cells = <1>;
109                 #size-cells = <0>;
110                 poll-interval = <20>;
111                 reset {
112                         label = "reset";
113                         gpios = <&gpio0 1 1>;
114                         linux,code = <0x198>;
115                 };
116                 wps {
117                         label = "wps";
118                         gpios = <&gpio0 2 1>;
119                         linux,code = <0x211>;
120                 };
121         };
122 };