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 {
86 reg = <0x40000 0x10000>;
90 compatible = "fixed-layout";
94 eeprom_factory_0: eeprom@0 {
98 eeprom_factory_8000: eeprom@8000 {
102 macaddr_factory_4: macaddr@4 {
109 compatible = "denx,uimage";
111 reg = <0x50000 0xf70000>;
138 nvmem-cells = <&macaddr_factory_4>;
139 nvmem-cell-names = "mac-address";
141 mediatek,portmap = "wllll";
145 nvmem-cells = <&eeprom_factory_0>;
146 nvmem-cell-names = "eeprom";
155 reg = <0x0000 0 0 0 0>;
156 nvmem-cells = <&eeprom_factory_8000>;
157 nvmem-cell-names = "eeprom";
158 ieee80211-freq-limit = <5000000 6000000>;
164 groups = "spi refclk", "uartf", "wled";