3 #include "mt7620a.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "bdcom,bdcom-wap2100-sk", "ralink,mt7620a-soc";
10 model = "BDCOM WAP2100-SK";
13 bootargs = "console=ttyS0,115200";
17 compatible = "gpio-leds";
20 label = "wap2100-sk:green:usb";
21 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
25 label = "wap2100-sk:green:wps";
26 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
30 label = "wap2100-sk:green:wlan2g";
31 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
36 compatible = "gpio-keys-polled";
43 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
44 linux,code = <KEY_WPS_BUTTON>;
49 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
50 linux,code = <KEY_RESTART>;
61 compatible = "jedec,spi-nor";
63 spi-max-frequency = <10000000>;
73 reg = <0x30000 0x10000>;
77 factory: partition@40000 {
79 reg = <0x40000 0x10000>;
83 firmware: partition@50000 {
85 reg = <0x50000 0xf70000>;
115 mtd-mac-address = <&factory 0x4>;
116 mediatek,portmap = "llllw";
120 ralink,mtd-eeprom = <&factory 0>;
124 state_default: pinctrl0 {
126 ralink,group = "wdt", "mdio", "spi refclk", "uartf", "wled";
127 ralink,function = "gpio";