rpcd: iwinfo plugin fixes
[openwrt.git] / target / linux / ramips / dts / ZBT-WA05.dts
1 /dts-v1/;
2
3 #include "mt7620n.dtsi"
4
5 / {
6         compatible = "zbtlink,zbt-wa05", "ralink,mt7620n-soc";
7         model = "Zbtlink ZBT-WA05";
8
9         chosen {
10                 bootargs = "console=ttyS0,115200";
11         };
12
13         palmbus@10000000 {
14                 gpio1: gpio@638 {
15                         status = "okay";
16                 };
17
18                 gpio2: gpio@660 {
19                         status = "okay";
20                 };
21
22                 gpio3: gpio@688 {
23                         status = "okay";
24                 };
25
26                 spi@b00 {
27                         status = "okay";
28
29                         en25q64@0 {
30                                 #address-cells = <1>;
31                                 #size-cells = <1>;
32                                 compatible = "jedec,spi-nor";
33                                 reg = <0 0>;
34                                 linux,modalias = "m25p80";
35                                 spi-max-frequency = <10000000>;
36
37                                 partition@0 {
38                                         label = "u-boot";
39                                         reg = <0x0 0x30000>;
40                                         read-only;
41                                 };
42
43                                 partition@30000 {
44                                         label = "u-boot-env";
45                                         reg = <0x30000 0x10000>;
46                                         read-only;
47                                 };
48
49                                 factory: partition@40000 {
50                                         label = "factory";
51                                         reg = <0x40000 0x10000>;
52                                         read-only;
53                                 };
54
55                                 partition@50000 {
56                                         label = "firmware";
57                                         reg = <0x50000 0x760000>;
58                                 };
59                         };
60                 };
61         };
62
63         ehci@101c0000 {
64                 status = "okay";
65         };
66
67         ohci@101c1000 {
68                 status = "okay";
69         };
70
71         ethernet@10100000 {
72                 mtd-mac-address = <&factory 0x4>;
73                 mediatek,portmap = "wllll";
74         };
75
76         wmac@10180000 {
77                 ralink,mtd-eeprom = <&factory 0>;
78         };
79
80         pinctrl {
81                 state_default: pinctrl0 {
82                         default {
83                                 ralink,group = "i2c", "spi refclk", "wled";
84                                 ralink,function = "gpio";
85                         };
86                 };
87         };
88
89         gpio-leds {
90                 compatible = "gpio-leds";
91
92                 power {
93                         label = "zbt-wa05:blue:power";
94                         gpios = <&gpio1 14 1>;
95                 };
96
97                 usb {
98                         label = "zbt-wa05:blue:usb";
99                         gpios = <&gpio1 15 0>;
100                 };
101
102                 air {
103                         label = "zbt-wa05:blue:air";
104                         gpios = <&gpio3 0 1>;
105                 };
106         };
107
108         gpio-keys-polled {
109                 compatible = "gpio-keys-polled";
110                 #address-cells = <1>;
111                 #size-cells = <0>;
112                 poll-interval = <20>;
113
114                 reset {
115                         label = "reset";
116                         gpios = <&gpio0 1 1>;
117                         linux,code = <0x198>;
118                 };
119         };
120 };