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 = "zbtlink,zbt-we1026", "ralink,mt7620a-soc";
12 bootargs = "console=ttyS0,115200";
16 compatible = "gpio-keys";
20 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
21 linux,code = <KEY_RESTART>;
26 label-mac-device = &wmac;
34 compatible = "jedec,spi-nor";
36 spi-max-frequency = <10000000>;
39 compatible = "fixed-partitions";
51 reg = <0x30000 0x10000>;
55 factory: partition@40000 {
57 reg = <0x40000 0x10000>;
61 firmware: partition@50000 {
62 compatible = "denx,uimage";
90 mtd-mac-address = <&factory 0x28>;
94 ralink,mtd-eeprom = <&factory 0x0>;
98 state_default: pinctrl0 {
100 ralink,group = "i2c", "uartf", "spi refclk", "ephy", "wled";
101 ralink,function = "gpio";