3 #include "mt7620a.dtsi"
5 #include <dt-bindings/input/input.h>
8 compatible = "zbtlink,zbt-we826", "ralink,mt7620a-soc";
12 bootargs = "console=ttyS0,115200";
16 compatible = "gpio-leds";
18 label = "zbt-we826:green:power";
19 gpios = <&gpio1 14 0>;
22 label = "zbt-we826:green:usb";
23 gpios = <&gpio1 15 0>;
26 label = "zbt-we826:green:wifi";
32 compatible = "gpio-keys-polled";
39 linux,code = <KEY_RESTART>;
62 compatible = "w25q128";
64 linux,modalias = "m25p80";
65 spi-max-frequency = <10000000>;
75 reg = <0x30000 0x10000>;
79 factory: partition@40000 {
81 reg = <0x40000 0x10000>;
87 reg = <0x50000 0xfb0000>;
105 mtd-mac-address = <&factory 0x4>;
106 ralink,port-map = "wllll";
110 ralink,mtd-eeprom = <&factory 0>;
114 state_default: pinctrl0 {
116 ralink,group = "i2c", "uartf", "wled", "spi refclk", "pa";
117 ralink,function = "gpio";