3 #include "mt7620a.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "bdcom,wap2100-sk", "ralink,mt7620a-soc";
10 model = "BDCOM WAP2100-SK";
13 led-boot = &led_power;
14 led-failsafe = &led_power;
18 bootargs = "console=ttyS0,115200";
22 compatible = "gpio-leds";
25 label = "wap2100-sk:green:usb";
26 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
27 trigger-sources = <&ohci_port1>, <&ehci_port1>;
28 linux,default-trigger = "usbport";
32 label = "wap2100-sk:green:wps";
33 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
37 label = "wap2100-sk:green:wlan2g";
38 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
43 compatible = "gpio-keys-polled";
48 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
49 linux,code = <KEY_WPS_BUTTON>;
54 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
55 linux,code = <KEY_RESTART>;
64 compatible = "jedec,spi-nor";
66 spi-max-frequency = <10000000>;
69 compatible = "fixed-partitions";
81 reg = <0x30000 0x10000>;
85 factory: partition@40000 {
87 reg = <0x40000 0x10000>;
92 compatible = "denx,uimage";
94 reg = <0x50000 0xf70000>;
125 mtd-mac-address = <&factory 0x4>;
126 mediatek,portmap = "llllw";
130 ralink,mtd-eeprom = <&factory 0>;
134 state_default: pinctrl0 {
136 ralink,group = "spi refclk", "uartf", "wled";
137 ralink,function = "gpio";