ramips: Basic support for the AsiaRF RT5350 based AWM002 module and evaluation board.
[openwrt/svn-archive/archive.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 sysc@0 {
13 ralink,pinmux = "uartlite";
14 ralink,gpiomux = "i2c";
15 ralink,uartmux = "gpio";
16 ralink,wdtmux = <1>;
17 };
18
19 gpio0: gpio@600 {
20 status = "okay";
21 };
22 };
23
24 cfi@1f000000 {
25 compatible = "cfi-flash";
26 reg = <0x1f000000 0x800000>;
27
28 bank-width = <2>;
29 device-width = <2>;
30 #address-cells = <1>;
31 #size-cells = <1>;
32
33 partition@0 {
34 label = "uboot";
35 reg = <0x0 0x30000>;
36 read-only;
37 };
38 partition@30000 {
39 label = "uboot-env";
40 reg = <0x30000 0x10000>;
41 read-only;
42 };
43 partition@40000 {
44 label = "factory";
45 reg = <0x40000 0x10000>;
46 read-only;
47 };
48 partition@50000 {
49 label = "linux";
50 reg = <0x50000 0x3b0000>;
51 };
52 };
53
54 ethernet@400000 {
55 status = "okay";
56
57 port@0 {
58 ralink,fixed-link = <1000 1 1 1>;
59 };
60 };
61
62 wmac@480000 {
63 status = "okay";
64 };
65
66 rtl8366s {
67 compatible = "realtek,rtl8366s";
68 gpio-sda = <&gpio0 1 0>;
69 gpio-sck = <&gpio0 2 0>;
70 };
71
72 gpio-keys-polled {
73 compatible = "gpio-keys-polled";
74 #address-cells = <1>;
75 #size-cells = <0>;
76 poll-interval = <100>;
77 wps {
78 label = "wps";
79 gpios = <&gpio0 0 0>;
80 linux,code = <0x211>;
81 };
82 reset {
83 label = "reset";
84 gpios = <&gpio0 12 0>;
85 linux,code = <0x198>;
86 };
87 };
88
89 gpio-leds {
90 compatible = "gpio-leds";
91
92 power {
93 label = "rt-n15:blue:power";
94 gpios = <&gpio0 11 1>;
95 };
96 };
97 };