1 // SPDX-License-Identifier: GPL-2.0
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 bootargs = "console=ttyS0,57600";
25 compatible = "gpio-keys";
29 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
30 linux,code = <KEY_RESTART>;
35 compatible = "gpio-leds";
38 label = "bl-w1200:green:wps";
39 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
52 compatible = "jedec,spi-nor";
54 spi-max-frequency = <50000000>;
57 compatible = "fixed-partitions";
69 reg = <0x30000 0x10000>;
73 factory: partition@40000 {
75 reg = <0x40000 0x10000>;
80 compatible = "denx,uimage";
82 reg = <0x50000 0x7b0000>;
90 groups = "uartf", "spi refclk";
96 pinctrl-names = "default";
97 pinctrl-0 = <&rgmii2_pins &mdio_pins>;
99 mtd-mac-address = <&factory 0x28>;
101 mediatek,portmap = "wllll";
105 mediatek,fixed-link = <1000 1 1 1>;
145 ralink,mtd-eeprom = <&factory 0x0>;
154 compatible = "mediatek,mt76";
155 reg = <0x0000 0 0 0 0>;
156 ieee80211-freq-limit = <5000000 6000000>;
157 mediatek,mtd-eeprom = <&factory 0x8000>;