ramips: remove model name from LED labels
[openwrt/staging/jow.git] / target / linux / ramips / dts / mt7620n_dlink_dwr-116-a1.dts
1 #include "mt7620n.dtsi"
2
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5
6 / {
7 compatible = "dlink,dwr-116-a1", "ralink,mt7620n-soc";
8 model = "D-Link DWR-116 A1/A2";
9
10 aliases {
11 led-boot = &led_status;
12 led-failsafe = &led_status;
13 led-running = &led_status;
14 led-upgrade = &led_status;
15 };
16
17 keys {
18 compatible = "gpio-keys";
19
20 wps {
21 label = "wps";
22 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
23 linux,code = <KEY_WPS_BUTTON>;
24 };
25
26 reset {
27 label = "reset";
28 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
29 linux,code = <KEY_RESTART>;
30 };
31 };
32
33 leds {
34 compatible = "gpio-leds";
35
36 led_status: status {
37 label = "green:status";
38 gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
39 };
40
41 wifi {
42 label = "green:wifi";
43 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
44 };
45 };
46 };
47
48 &gpio1 {
49 status = "okay";
50 };
51
52 &gpio3 {
53 status = "okay";
54 };
55
56 &spi0 {
57 status = "okay";
58
59 flash@0 {
60 compatible = "jedec,spi-nor";
61 reg = <0>;
62 spi-max-frequency = <50000000>;
63
64 partitions {
65 compatible = "fixed-partitions";
66 #address-cells = <1>;
67 #size-cells = <1>;
68
69 partition@0 {
70 label = "jboot";
71 reg = <0x0 0x10000>;
72 read-only;
73 };
74
75 partition@10000 {
76 compatible = "amit,jimage";
77 label = "firmware";
78 reg = <0x10000 0x7e0000>;
79 };
80
81 config: partition@7f0000 {
82 label = "config";
83 reg = <0x7f0000 0x10000>;
84 read-only;
85 };
86 };
87 };
88 };
89
90 &ehci {
91 status = "okay";
92 };
93
94 &ohci {
95 status = "okay";
96 };
97
98 &state_default {
99 default {
100 groups = "i2c", "wled";
101 function = "gpio";
102 };
103 };
104
105 &ethernet {
106 pinctrl-names = "default";
107 pinctrl-0 = <&ephy_pins>;
108
109 mediatek,portmap = "llllw";
110 };