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-boot = &led_power;
11 led-failsafe = &led_power;
12 led-running = &led_power;
13 led-upgrade = &led_power;
17 bootargs = "console=ttyS0,115200";
21 compatible = "gpio-leds";
24 label = "zbt-we826:green:power";
25 gpios = <&gpio1 14 GPIO_ACTIVE_HIGH>;
29 label = "zbt-we826:green:usb";
30 gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>;
31 trigger-sources = <&ohci_port1>, <&ehci_port1>;
32 linux,default-trigger = "usbport";
36 label = "zbt-we826:green:wifi";
37 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
42 compatible = "gpio-keys";
46 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
47 linux,code = <KEY_RESTART>;
77 mtd-mac-address = <&factory 0x4>;
78 mediatek,portmap = "wllll";
82 ralink,mtd-eeprom = <&factory 0>;
86 state_default: pinctrl0 {
88 ralink,group = "i2c", "uartf", "wled", "spi refclk", "pa";
89 ralink,function = "gpio";