rpcd: iwinfo plugin fixes
[openwrt.git] / target / linux / ramips / dts / JHR-N805R.dts
1 /dts-v1/;
2
3 #include "rt3050.dtsi"
4
5 / {
6         compatible = "JHR-N805R", "ralink,rt3050-soc";
7         model = "JCG JHR-N805R";
8
9         pinctrl {
10                 state_default: pinctrl0 {
11                         gpio {
12                                 ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
13                                 ralink,function = "gpio";
14                         };
15                 };
16         };
17
18         palmbus@10000000 {
19                 spi@b00 {
20                         status = "okay";
21
22                         m25p80@0 {
23                                 #address-cells = <1>;
24                                 #size-cells = <1>;
25                                 compatible = "jedec,spi-nor";
26                                 reg = <0 0>;
27                                 linux,modalias = "m25p80", "mx25l3205d";
28                                 spi-max-frequency = <10000000>;
29
30                                 partition@0 {
31                                         label = "u-boot";
32                                         reg = <0x0 0x30000>;
33                                         read-only;
34                                 };
35
36                                 partition@30000 {
37                                         label = "u-boot-env";
38                                         reg = <0x30000 0x10000>;
39                                         read-only;
40                                 };
41
42                                 factory: partition@40000 {
43                                         label = "factory";
44                                         reg = <0x40000 0x10000>;
45                                         read-only;
46                                 };
47
48                                 partition@50000 {
49                                         label = "firmware";
50                                         reg = <0x50000 0x3b0000>;
51                                 };
52                         };
53                 };
54         };
55
56         ethernet@10100000 {
57                 mtd-mac-address = <&factory 0x2e>;
58         };
59
60         esw@10110000 {
61                 mediatek,portmap = <0x3e>;
62         };
63
64         wmac@10180000 {
65                 ralink,mtd-eeprom = <&factory 0>;
66         };
67
68         gpio-leds {
69                 compatible = "gpio-leds";
70
71                 system {
72                         label = "jhr-n805r:blue:system";
73                         gpios = <&gpio0 9 1>;
74                 };
75         };
76
77         gpio-keys-polled {
78                 compatible = "gpio-keys-polled";
79                 #address-cells = <1>;
80                 #size-cells = <0>;
81                 poll-interval = <20>;
82
83                 reset {
84                         label = "reset";
85                         gpios = <&gpio0 10 1>;
86                         linux,code = <0x198>;
87                 };
88         };
89 };