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-boot = &led_power;
14 led-failsafe = &led_power;
15 led-running = &led_power;
16 led-upgrade = &led_power;
20 bootargs = "console=ttyS0,115200";
24 compatible = "gpio-leds";
27 label = "zbt-wa05:blue:power";
28 gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
32 label = "zbt-wa05:blue:usb";
33 gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>;
34 trigger-sources = <&ohci_port1>, <&ehci_port1>;
35 linux,default-trigger = "usbport";
39 label = "zbt-wa05:blue:air";
40 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
45 compatible = "gpio-keys-polled";
50 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
51 linux,code = <KEY_RESTART>;
72 compatible = "jedec,spi-nor";
74 spi-max-frequency = <10000000>;
77 compatible = "fixed-partitions";
89 reg = <0x30000 0x10000>;
93 factory: partition@40000 {
95 reg = <0x40000 0x10000>;
100 compatible = "denx,uimage";
102 reg = <0x50000 0x760000>;
117 mtd-mac-address = <&factory 0x4>;
118 mediatek,portmap = "wllll";
122 ralink,mtd-eeprom = <&factory 0>;
126 state_default: pinctrl0 {
128 ralink,group = "i2c", "spi refclk", "wled";
129 ralink,function = "gpio";