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 compatible = "fixed-layout";
65 eeprom_factory_0: eeprom@0 {
69 eeprom_factory_8000: eeprom@8000 {
73 macaddr_factory_28: macaddr@28 {
79 firmware: partition@50000 {
80 compatible = "denx,uimage";
108 nvmem-cells = <&macaddr_factory_28>;
109 nvmem-cell-names = "mac-address";
113 nvmem-cells = <&eeprom_factory_0>;
114 nvmem-cell-names = "eeprom";
119 groups = "i2c", "uartf", "spi refclk", "ephy", "wled";