ramips: remove model name from LED labels
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / rt3050_asus_rt-n10-plus.dts
1 #include "rt3050.dtsi"
2
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5
6 / {
7 compatible = "asus,rt-n10-plus", "ralink,rt3050-soc";
8 model = "Asus RT-N10+";
9
10 aliases {
11 led-boot = &led_wps;
12 led-failsafe = &led_wps;
13 led-running = &led_wps;
14 led-upgrade = &led_wps;
15 };
16
17 flash@1f000000 {
18 compatible = "cfi-flash";
19 reg = <0x1f000000 0x800000>;
20 bank-width = <2>;
21 device-width = <2>;
22
23 partitions {
24 compatible = "fixed-partitions";
25 #address-cells = <1>;
26 #size-cells = <1>;
27
28 partition@0 {
29 label = "u-boot";
30 reg = <0x0 0x30000>;
31 read-only;
32 };
33
34 partition@30000 {
35 label = "devdata";
36 reg = <0x30000 0x10000>;
37 read-only;
38 };
39
40 devconf: partition@40000 {
41 label = "devconf";
42 reg = <0x40000 0x10000>;
43 read-only;
44 };
45
46 partition@50000 {
47 compatible = "denx,uimage";
48 label = "firmware";
49 reg = <0x50000 0x3b0000>;
50 };
51 };
52 };
53
54 leds {
55 compatible = "gpio-leds";
56
57 led_wps: wps {
58 label = "green:wps";
59 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
60 };
61 };
62
63 keys {
64 compatible = "gpio-keys-polled";
65 poll-interval = <20>;
66
67 reset {
68 label = "reset";
69 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
70 linux,code = <KEY_RESTART>;
71 };
72
73 wps {
74 label = "wps";
75 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
76 linux,code = <KEY_WPS_BUTTON>;
77 };
78 };
79 };
80
81 &ethernet {
82 mtd-mac-address = <&devconf 0x4>;
83 };
84
85 &esw {
86 mediatek,portmap = <0x3e>;
87 };
88
89 &wmac {
90 ralink,mtd-eeprom = <&devconf 0x0>;
91 };