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>;
19 compatible = "fixed-partitions";
29 boardnvram: partition@20000 {
30 label = "board-nvram";
31 reg = <0x20000 0x10000>;
37 reg = <0x30000 0x10000>;
42 compatible = "denx,uimage";
44 reg = <0x40000 0x3b0000>;
50 compatible = "gpio-leds";
53 label = "wl-341v3:amber:first";
54 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
58 label = "wl-341v3:blue:first";
59 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
63 label = "wl-341v3:amber:third";
64 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
68 label = "wl-341v3:blue:third";
69 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
73 label = "wl-341v3:blue:fourth";
74 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
78 label = "wl-341v3:amber:fifth";
79 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
83 label = "wl-341v3:blue:fifth";
84 gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
89 compatible = "gpio-keys-polled";
94 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
95 linux,code = <KEY_RESTART>;
100 gpios = <&gpio0 5 GPIO_ACTIVE_LOW>;
101 linux,code = <KEY_WPS_BUTTON>;
107 state_default: pinctrl0 {
109 ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
110 ralink,function = "gpio";
116 mtd-mac-address = <&boardnvram 0xffa0>;
120 mediatek,portmap = <0x3e>;
124 ralink,mtd-eeprom = <&boardnvram 0xfd70>;