1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
4 #include "mt7620a.dtsi"
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/input/input.h>
10 compatible = "bdcom,wap2100-sk", "ralink,mt7620a-soc";
11 model = "BDCOM WAP2100-SK";
14 led-boot = &led_power;
15 led-failsafe = &led_power;
19 bootargs = "console=ttyS0,115200";
23 compatible = "gpio-leds";
26 label = "wap2100-sk:green:usb";
27 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
28 trigger-sources = <&ohci_port1>, <&ehci_port1>;
29 linux,default-trigger = "usbport";
33 label = "wap2100-sk:green:wps";
34 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
38 label = "wap2100-sk:green:wlan2g";
39 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
44 compatible = "gpio-keys-polled";
49 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
50 linux,code = <KEY_WPS_BUTTON>;
55 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
56 linux,code = <KEY_RESTART>;
65 compatible = "jedec,spi-nor";
67 spi-max-frequency = <10000000>;
70 compatible = "fixed-partitions";
82 reg = <0x30000 0x10000>;
86 factory: partition@40000 {
88 reg = <0x40000 0x10000>;
93 compatible = "denx,uimage";
95 reg = <0x50000 0xf70000>;
126 mtd-mac-address = <&factory 0x4>;
127 mediatek,portmap = "llllw";
131 ralink,mtd-eeprom = <&factory 0>;
140 reg = <0x0000 0 0 0 0>;
141 mediatek,mtd-eeprom = <&factory 0x8000>;
142 ieee80211-freq-limit = <5000000 6000000>;
147 state_default: pinctrl0 {
149 ralink,group = "spi refclk", "uartf", "wled";
150 ralink,function = "gpio";