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";
23 label = "zbt-we826:green:power";
24 gpios = <&gpio1 14 GPIO_ACTIVE_HIGH>;
27 label = "zbt-we826:green:usb";
28 gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>;
29 trigger-sources = <&ohci_port1>, <&ehci_port1>;
30 linux,default-trigger = "usbport";
33 label = "zbt-we826:green:wifi";
34 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
39 compatible = "gpio-keys-polled";
43 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
44 linux,code = <KEY_RESTART>;
74 mtd-mac-address = <&factory 0x4>;
75 mediatek,portmap = "wllll";
79 ralink,mtd-eeprom = <&factory 0>;
83 state_default: pinctrl0 {
85 ralink,group = "i2c", "uartf", "wled", "spi refclk", "pa";
86 ralink,function = "gpio";