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>;
43 reg = <0x40000 0x3b0000>;
49 compatible = "gpio-leds";
52 label = "wl-341v3:amber:first";
53 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
57 label = "wl-341v3:blue:first";
58 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
62 label = "wl-341v3:amber:third";
63 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
67 label = "wl-341v3:blue:third";
68 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
72 label = "wl-341v3:blue:fourth";
73 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
77 label = "wl-341v3:amber:fifth";
78 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
82 label = "wl-341v3:blue:fifth";
83 gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
88 compatible = "gpio-keys-polled";
93 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
94 linux,code = <KEY_RESTART>;
99 gpios = <&gpio0 5 GPIO_ACTIVE_LOW>;
100 linux,code = <KEY_WPS_BUTTON>;
106 state_default: pinctrl0 {
108 ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
109 ralink,function = "gpio";
115 mtd-mac-address = <&boardnvram 0xffa0>;
119 mediatek,portmap = <0x3e>;
123 ralink,mtd-eeprom = <&boardnvram 0xfd70>;