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";
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 {
68 compatible = "nvmem-cells";
70 reg = <0x40000 0x10000>;
75 eeprom_factory_0: eeprom@0 {
79 eeprom_factory_8000: eeprom@8000 {
83 macaddr_factory_28: macaddr@28 {
89 compatible = "denx,uimage";
91 reg = <0x50000 0x7b0000>;
99 groups = "uartf", "spi refclk";
105 pinctrl-names = "default";
106 pinctrl-0 = <&rgmii2_pins &mdio_pins>;
108 nvmem-cells = <&macaddr_factory_28>;
109 nvmem-cell-names = "mac-address";
111 mediatek,portmap = "wllll";
115 mediatek,fixed-link = <1000 1 1 1>;
155 mediatek,ephy-base = /bits/ 8 <12>;
159 nvmem-cells = <&eeprom_factory_0>;
160 nvmem-cell-names = "eeprom";
169 compatible = "mediatek,mt76";
170 reg = <0x0000 0 0 0 0>;
171 ieee80211-freq-limit = <5000000 6000000>;
172 nvmem-cells = <&eeprom_factory_8000>;
173 nvmem-cell-names = "eeprom";