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";
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>;
139 reg = <0x0000 0 0 0 0>;
140 mediatek,mtd-eeprom = <&factory 0x8000>;
141 ieee80211-freq-limit = <5000000 6000000>;
147 ralink,group = "spi refclk", "uartf", "wled";
148 ralink,function = "gpio";