Merge pull request #580 from wigyori/cc-libpcap
[15.05/openwrt.git] / target / linux / ramips / dts / RT-N15.dts
1 /dts-v1/;
2
3 /include/ "rt2880.dtsi"
4
5 / {
6         #address-cells = <1>;
7         #size-cells = <1>;
8         compatible = "RT-N15", "ralink,rt2880-soc";
9         model = "Asus RT-N15";
10
11         palmbus@300000 {
12                 gpio0: gpio@600 {
13                         status = "okay";
14                 };
15         };
16
17         pinctrl {
18                 state_default: pinctrl0 {
19                         gpio {
20                                 ralink,group = "i2c", "uartlite", "mdio";
21                                 ralink,function = "gpio";
22                         };
23                 };
24         };
25
26         cfi@1f000000 {
27                 compatible = "cfi-flash";
28                 reg = <0x1f000000 0x800000>;
29
30                 bank-width = <2>;
31                 device-width = <2>;
32                 #address-cells = <1>;
33                 #size-cells = <1>;
34
35                 partition@0 {
36                         label = "uboot";
37                         reg = <0x0 0x30000>;
38                         read-only;
39                 };
40                 partition@30000 {
41                         label = "uboot-env";
42                         reg = <0x30000 0x10000>;
43                         read-only;
44                 };
45                 factory: partition@40000 {
46                         label = "factory";
47                         reg = <0x40000 0x10000>;
48                         read-only;
49                 };
50                 partition@50000 {
51                         label = "firmware";
52                         reg = <0x50000 0x3b0000>;
53                 };
54         };
55
56         ethernet@400000 {
57                 status = "okay";
58                 mtd-mac-address = <&factory 0x4>;
59
60                 port@0 {
61                         ralink,fixed-link = <1000 1 1 1>;
62                 };
63
64                 mdio-bus {
65                         status = "okay";
66                         phy0: ethernet-phy@0 {
67                                 phy-mode = "mii";
68                                 reg = <0>;
69                         };
70                 };
71         };
72
73         rtl8366s {
74                 compatible = "realtek,rtl8366s";
75                 gpio-sda = <&gpio0 1 0>;
76                 gpio-sck = <&gpio0 2 0>;
77         };
78
79         wmac@480000 {
80                 ralink,mtd-eeprom = <&factory 0>;
81         };
82
83         gpio-keys-polled {
84                 compatible = "gpio-keys-polled";
85                 #address-cells = <1>;
86                 #size-cells = <0>;
87                 poll-interval = <100>;
88                 wps {
89                         label = "wps";
90                         gpios = <&gpio0 0 0>;
91                         linux,code = <0x211>;
92                 };
93                 reset {
94                         label = "reset";
95                         gpios = <&gpio0 12 0>;
96                         linux,code = <0x198>;
97                 };
98         };
99
100         gpio-leds {
101                 compatible = "gpio-leds";
102
103                 power {
104                         label = "rt-n15:blue:power";
105                         gpios = <&gpio0 11 1>;
106                 };
107         };
108 };