1 // SPDX-License-Identifier: GPL-2.0-only
5 #include "mt7620a.dtsi"
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/input/input.h>
11 compatible = "lb-link,bl-w1200", "ralink,mt7620a-soc";
12 model = "LB-Link BL-W1200";
16 led-failsafe = &led_wps;
17 led-upgrade = &led_wps;
21 compatible = "gpio-keys";
25 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
26 linux,code = <KEY_RESTART>;
31 compatible = "gpio-leds";
34 label = "bl-w1200:green:wps";
35 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
48 compatible = "jedec,spi-nor";
50 spi-max-frequency = <50000000>;
53 compatible = "fixed-partitions";
65 reg = <0x30000 0x10000>;
69 factory: partition@40000 {
71 reg = <0x40000 0x10000>;
76 compatible = "denx,uimage";
78 reg = <0x50000 0x7b0000>;
86 groups = "uartf", "spi refclk";
92 pinctrl-names = "default";
93 pinctrl-0 = <&rgmii2_pins &mdio_pins>;
95 mtd-mac-address = <&factory 0x28>;
97 mediatek,portmap = "wllll";
101 mediatek,fixed-link = <1000 1 1 1>;
141 ralink,mtd-eeprom = <&factory 0x0>;
150 compatible = "mediatek,mt76";
151 reg = <0x0000 0 0 0 0>;
152 ieee80211-freq-limit = <5000000 6000000>;
153 mediatek,mtd-eeprom = <&factory 0x8000>;