77e640fe9fc70add6660165d314f489134abd778
[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 factory: 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 mtd-mac-address = <&factory 0x4>;
57
58 port@0 {
59 ralink,fixed-link = <1000 1 1 1>;
60 };
61 };
62
63 rtl8366s {
64 compatible = "realtek,rtl8366s";
65 gpio-sda = <&gpio0 1 0>;
66 gpio-sck = <&gpio0 2 0>;
67 };
68
69 gpio-keys-polled {
70 compatible = "gpio-keys-polled";
71 #address-cells = <1>;
72 #size-cells = <0>;
73 poll-interval = <100>;
74 wps {
75 label = "wps";
76 gpios = <&gpio0 0 0>;
77 linux,code = <0x211>;
78 };
79 reset {
80 label = "reset";
81 gpios = <&gpio0 12 0>;
82 linux,code = <0x198>;
83 };
84 };
85
86 gpio-leds {
87 compatible = "gpio-leds";
88
89 power {
90 label = "rt-n15:blue:power";
91 gpios = <&gpio0 11 1>;
92 };
93 };
94 };