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