ramips: add missing partitions
[openwrt/staging/chunkeey.git] / target / linux / ramips / dts / BR-6425.dts
1 /dts-v1/;
2
3 #include "rt3050.dtsi"
4
5 #include <dt-bindings/input/input.h>
6
7 / {
8 compatible = "BR-6425", "ralink,rt3052-soc";
9 model = "Edimax BR-6425";
10
11 cfi@1f000000 {
12 compatible = "cfi-flash";
13 reg = <0x1f000000 0x800000>;
14 bank-width = <2>;
15 device-width = <2>;
16 #address-cells = <1>;
17 #size-cells = <1>;
18 };
19
20 gpio-leds {
21 compatible = "gpio-leds";
22
23 power {
24 label = "br-6425:green:power";
25 gpios = <&gpio0 9 1>;
26 };
27
28 wlan {
29 label = "br-6425:orange:wlan";
30 gpios = <&gpio0 14 1>;
31 };
32 };
33
34 gpio-keys-polled {
35 compatible = "gpio-keys-polled";
36 #address-cells = <1>;
37 #size-cells = <0>;
38 poll-interval = <20>;
39
40 reset_wps {
41 label = "reset_wps";
42 gpios = <&gpio0 12 1>;
43 linux,code = <KEY_RESTART>;
44 };
45
46 rfkill {
47 label = "RFKILL switch";
48 gpios = <&gpio0 13 1>;
49 linux,code = <KEY_RFKILL>;
50 };
51 };
52 };
53
54 &pinctrl {
55 state_default: pinctrl0 {
56 gpio {
57 ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
58 ralink,function = "gpio";
59 };
60 };
61 };
62
63 &ethernet {
64 /* mtd-mac-address = <&factory 0x4>; */
65 };
66
67 &esw {
68 mediatek,portmap = <0x2f>;
69 };
70
71 &wmac {
72 /* ralink,mtd-eeprom = <&factory 0>; */
73 };