ramips: remove model name from LED labels
[openwrt/staging/jow.git] / target / linux / ramips / dts / mt7620a_netgear_ex2700.dts
1 /*
2 * Device Tree file for the Netgear EX2700
3 *
4 * Copyright (C) 2016 Joseph C. Lehner <joseph.c.lehner@gmail.com>
5 *
6 * This file is licensed under the terms of the GNU General Public
7 * License version 2. This program is licensed "as is" without any
8 * warranty of any kind, whether express or implied.
9 */
10
11 #include "mt7620a_netgear_ex2700_wn3000rp-v3.dtsi"
12
13 / {
14 compatible = "netgear,ex2700", "ralink,mt7620a-soc";
15 model = "Netgear EX2700";
16
17 aliases {
18 led-boot = &led_power_green;
19 led-failsafe = &led_power_green;
20 led-running = &led_power_green;
21 led-upgrade = &led_power_green;
22 };
23
24 leds {
25 compatible = "gpio-leds";
26
27 led_power_green: power_g {
28 label = "green:power";
29 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
30 default-state = "on";
31 };
32
33 power_r {
34 label = "red:power";
35 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
36 };
37
38 device_g {
39 label = "green:device";
40 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
41 };
42
43 device_r {
44 label = "red:device";
45 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
46 };
47
48 router_g {
49 label = "green:router";
50 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
51 };
52
53 router_r {
54 label = "red:router";
55 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
56 };
57
58 wps {
59 label = "green:wps";
60 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
61 };
62 };
63 };
64
65 &partitions {
66 partition@0 {
67 label = "u-boot";
68 reg = <0x0 0x30000>;
69 read-only;
70 };
71
72 partition@30000 {
73 label = "u-boot-env";
74 reg = <0x30000 0x10000>;
75 read-only;
76 };
77
78 partition@40000 {
79 compatible = "denx,uimage";
80 label = "firmware";
81 reg = <0x40000 0x3b0000>;
82 };
83
84 art: partition@3f0000 {
85 label = "art";
86 reg = <0x3f0000 0x10000>;
87 read-only;
88 };
89 };