0028f26fdb467a3b401759b97ab707ca81175ccd
[openwrt/staging/mkresin.git] / target / linux / ramips / dts / mt7620a_netgear_wn3000rp-v3.dts
1 /* This file is released into the public domain */
2
3 #include "mt7620a_netgear_ex2700_wn3000rp-v3.dtsi"
4
5 / {
6 compatible = "netgear,wn3000rp-v3", "ralink,mt7620a-soc";
7 model = "Netgear WN3000RP v3";
8
9 aliases {
10 led-boot = &led_power_green;
11 led-failsafe = &led_power_green;
12 led-running = &led_power_green;
13 led-upgrade = &led_power_green;
14 };
15
16 leds {
17 compatible = "gpio-leds";
18
19 led_power_green: power_g {
20 label = "wn3000rp-v3:green:power";
21 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
22 default-state = "on";
23 };
24
25 power_r {
26 label = "wn3000rp-v3:red:power";
27 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
28 };
29
30 client_g {
31 label = "wn3000rp-v3:green:client";
32 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
33 };
34
35 client_r {
36 label = "wn3000rp-v3:red:client";
37 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
38 };
39
40 router_g {
41 label = "wn3000rp-v3:green:router";
42 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
43 };
44
45 router_r {
46 label = "wn3000rp-v3:red:router";
47 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
48 };
49
50 wps {
51 label = "wn3000rp-v3:green:wps";
52 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
53 };
54
55 l_arrow {
56 label = "wn3000rp-v3:blue:leftarrow";
57 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
58 };
59
60 r_arrow {
61 label = "wn3000rp-v3:blue:rightarrow";
62 gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
63 };
64 };
65 };
66
67 &partitions {
68 partition@0 {
69 label = "u-boot";
70 reg = <0x0 0x30000>;
71 read-only;
72 };
73
74 partition@30000 {
75 label = "u-boot-env";
76 reg = <0x30000 0x10000>;
77 read-only;
78 };
79
80 partition@40000 {
81 compatible = "denx,uimage";
82 label = "firmware";
83 reg = <0x40000 0x7b0000>;
84 };
85
86 art: partition@7f0000 {
87 label = "art";
88 reg = <0x7f0000 0x10000>;
89 read-only;
90 };
91 };