rpcd: iwinfo plugin fixes
[openwrt/svn-archive/archive.git] / target / linux / ramips / dts / MZK-EX300NP.dts
1 /dts-v1/;
2
3 #include "mt7620a.dtsi"
4
5 / {
6 compatible = "ralink,mt7620a-soc";
7 model = "Planex MZK-EX300NP";
8
9 palmbus@10000000 {
10 gpio1: gpio@638 {
11 status = "okay";
12 };
13
14 gpio3: gpio@688 {
15 status = "okay";
16 };
17
18 spi@b00 {
19 status = "okay";
20
21 m25p80@0 {
22 #address-cells = <1>;
23 #size-cells = <1>;
24 compatible = "jedec,spi-nor";
25 reg = <0 0>;
26 linux,modalias = "m25p80", "w25q64";
27 spi-max-frequency = <10000000>;
28
29 partition@0 {
30 label = "u-boot";
31 reg = <0x0 0x30000>;
32 read-only;
33 };
34
35 partition@30000 {
36 label = "u-boot-env";
37 reg = <0x30000 0x10000>;
38 read-only;
39 };
40
41 factory: partition@40000 {
42 label = "factory";
43 reg = <0x40000 0x10000>;
44 read-only;
45 };
46
47 partition@50000 {
48 label = "firmware";
49 reg = <0x50000 0x730000>;
50 };
51
52 partition@780000 {
53 label = "Udata";
54 reg = <0x780000 0x80000>;
55 };
56 };
57 };
58 };
59
60 pinctrl {
61 state_default: pinctrl0 {
62 gpio {
63 ralink,group = "i2c", "spi refclk", "rgmii1", "wled";
64 ralink,function = "gpio";
65 };
66 };
67 };
68
69 ethernet@10100000 {
70 pinctrl-names = "default";
71 pinctrl-0 = <&ephy_pins>;
72 mtd-mac-address = <&factory 0x4>;
73 mediatek,portmap = "llllw";
74 };
75
76 wmac@10180000 {
77 ralink,mtd-eeprom = <&factory 0>;
78 };
79
80 gpio-leds {
81 compatible = "gpio-leds";
82
83 wifi {
84 label = "mzk-ex300np:green:wifi";
85 gpios = <&gpio3 0 1>;
86 };
87
88 wps {
89 label = "mzk-ex300np:green:wps";
90 gpios = <&gpio1 5 1>;
91 };
92
93 rep {
94 label = "mzk-ex300np:blue:rep";
95 gpios = <&gpio1 4 1>;
96 };
97
98 wifi1 {
99 label = "mzk-ex300np:blue:wifi1";
100 gpios = <&gpio1 1 1>;
101 };
102
103 wifi2 {
104 label = "mzk-ex300np:blue:wifi2";
105 gpios = <&gpio1 2 1>;
106 };
107
108 wifi3 {
109 label = "mzk-ex300np:blue:wifi3";
110 gpios = <&gpio1 0 1>;
111 };
112 };
113
114 gpio-keys-polled {
115 compatible = "gpio-keys-polled";
116 #address-cells = <1>;
117 #size-cells = <0>;
118 poll-interval = <20>;
119
120 reset {
121 label = "reset";
122 gpios = <&gpio0 1 1>;
123 linux,code = <0x198>;
124 };
125
126 wps {
127 label = "wps";
128 gpios = <&gpio1 3 0>;
129 linux,code = <0x211>;
130 };
131 };
132 };