3 #include "mt7620n.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "zbtlink,zbt-wa05", "ralink,mt7620n-soc";
10 model = "Zbtlink ZBT-WA05";
13 led-status = &led_power;
17 bootargs = "console=ttyS0,115200";
21 compatible = "gpio-leds";
24 label = "zbt-wa05:blue:power";
25 gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
29 label = "zbt-wa05:blue:usb";
30 gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>;
34 label = "zbt-wa05:blue:air";
35 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
40 compatible = "gpio-keys-polled";
45 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
46 linux,code = <KEY_RESTART>;
67 compatible = "jedec,spi-nor";
69 spi-max-frequency = <10000000>;
72 compatible = "fixed-partitions";
84 reg = <0x30000 0x10000>;
88 factory: partition@40000 {
90 reg = <0x40000 0x10000>;
96 reg = <0x50000 0x760000>;
111 mtd-mac-address = <&factory 0x4>;
112 mediatek,portmap = "wllll";
116 ralink,mtd-eeprom = <&factory 0>;
120 state_default: pinctrl0 {
122 ralink,group = "i2c", "spi refclk", "wled";
123 ralink,function = "gpio";