1 #include "mt7620a.dtsi"
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "zbtlink,zbt-we826", "ralink,mt7620a-soc";
10 led-status = &led_power;
14 bootargs = "console=ttyS0,115200";
18 compatible = "gpio-leds";
20 label = "zbt-we826:green:power";
21 gpios = <&gpio1 14 GPIO_ACTIVE_HIGH>;
24 label = "zbt-we826:green:usb";
25 gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>;
28 label = "zbt-we826:green:wifi";
29 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
34 compatible = "gpio-keys-polled";
40 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
41 linux,code = <KEY_RESTART>;
71 mtd-mac-address = <&factory 0x4>;
72 mediatek,portmap = "wllll";
76 ralink,mtd-eeprom = <&factory 0>;
80 state_default: pinctrl0 {
82 ralink,group = "i2c", "uartf", "wled", "spi refclk", "pa";
83 ralink,function = "gpio";