1 // SPDX-License-Identifier: GPL-2.0-only
3 #include "mt7620a.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "lb-link,bl-w1200", "ralink,mt7620a-soc";
10 model = "LB-Link BL-W1200";
14 led-failsafe = &led_wps;
15 led-upgrade = &led_wps;
19 compatible = "gpio-keys";
23 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
24 linux,code = <KEY_RESTART>;
29 compatible = "gpio-leds";
32 label = "bl-w1200:green:wps";
33 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
46 compatible = "jedec,spi-nor";
48 spi-max-frequency = <50000000>;
51 compatible = "fixed-partitions";
63 reg = <0x30000 0x10000>;
67 factory: partition@40000 {
69 reg = <0x40000 0x10000>;
74 compatible = "denx,uimage";
76 reg = <0x50000 0x7b0000>;
84 groups = "uartf", "spi refclk";
90 pinctrl-names = "default";
91 pinctrl-0 = <&rgmii2_pins &mdio_pins>;
93 mtd-mac-address = <&factory 0x28>;
95 mediatek,portmap = "wllll";
99 mediatek,fixed-link = <1000 1 1 1>;
139 ralink,mtd-eeprom = <&factory 0x0>;
148 compatible = "mediatek,mt76";
149 reg = <0x0000 0 0 0 0>;
150 ieee80211-freq-limit = <5000000 6000000>;
151 mediatek,mtd-eeprom = <&factory 0x8000>;