5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "sitecom,wl-341-v3", "ralink,rt3052-soc";
10 model = "Sitecom WL-341 v3";
13 compatible = "cfi-flash";
14 reg = <0x1f000000 0x800000>;
26 boardnvram: partition@20000 {
27 label = "board-nvram";
28 reg = <0x20000 0x10000>;
34 reg = <0x30000 0x10000>;
40 reg = <0x40000 0x3b0000>;
45 compatible = "gpio-leds";
48 label = "wl-341v3:amber:first";
49 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
53 label = "wl-341v3:blue:first";
54 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
58 label = "wl-341v3:amber:third";
59 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
63 label = "wl-341v3:blue:third";
64 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
68 label = "wl-341v3:blue:fourth";
69 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
73 label = "wl-341v3:amber:fifth";
74 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
78 label = "wl-341v3:blue:fifth";
79 gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
84 compatible = "gpio-keys-polled";
91 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
92 linux,code = <KEY_RESTART>;
97 gpios = <&gpio0 5 GPIO_ACTIVE_LOW>;
98 linux,code = <KEY_WPS_BUTTON>;
104 state_default: pinctrl0 {
106 ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
107 ralink,function = "gpio";
113 mtd-mac-address = <&boardnvram 0xffa0>;
117 mediatek,portmap = <0x3e>;
121 ralink,mtd-eeprom = <&boardnvram 0xfd70>;