1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
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";
26 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
27 trigger-sources = <&ohci_port1>, <&ehci_port1>;
28 linux,default-trigger = "usbport";
33 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
37 label = "green:wlan2g";
38 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
43 compatible = "gpio-keys";
47 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
48 linux,code = <KEY_WPS_BUTTON>;
53 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
54 linux,code = <KEY_RESTART>;
63 compatible = "jedec,spi-nor";
65 spi-max-frequency = <10000000>;
68 compatible = "fixed-partitions";
80 reg = <0x30000 0x10000>;
84 factory: partition@40000 {
85 compatible = "nvmem-cells";
87 reg = <0x40000 0x10000>;
92 eeprom_factory_0: eeprom@0 {
96 eeprom_factory_8000: eeprom@8000 {
100 macaddr_factory_4: macaddr@4 {
106 compatible = "denx,uimage";
108 reg = <0x50000 0xf70000>;
135 nvmem-cells = <&macaddr_factory_4>;
136 nvmem-cell-names = "mac-address";
138 mediatek,portmap = "wllll";
142 nvmem-cells = <&eeprom_factory_0>;
143 nvmem-cell-names = "eeprom";
152 reg = <0x0000 0 0 0 0>;
153 nvmem-cells = <&eeprom_factory_8000>;
154 nvmem-cell-names = "eeprom";
155 ieee80211-freq-limit = <5000000 6000000>;
161 groups = "spi refclk", "uartf", "wled";