1 #include "mt7620n.dtsi"
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/leds/common.h>
8 compatible = "zbtlink,zbt-wa05", "ralink,mt7620n-soc";
9 model = "Zbtlink ZBT-WA05";
12 led-boot = &led_power;
13 led-failsafe = &led_power;
14 led-running = &led_power;
15 led-upgrade = &led_power;
19 bootargs = "console=ttyS0,115200";
23 compatible = "gpio-leds";
26 function = LED_FUNCTION_POWER;
27 color = <LED_COLOR_ID_BLUE>;
28 gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
32 function = LED_FUNCTION_USB;
33 color = <LED_COLOR_ID_BLUE>;
34 gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>;
35 trigger-sources = <&ohci_port1>, <&ehci_port1>;
36 linux,default-trigger = "usbport";
41 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
46 compatible = "gpio-keys";
50 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
51 linux,code = <KEY_RESTART>;
68 compatible = "jedec,spi-nor";
70 spi-max-frequency = <10000000>;
73 compatible = "fixed-partitions";
85 reg = <0x30000 0x10000>;
91 reg = <0x40000 0x10000>;
95 compatible = "fixed-layout";
99 eeprom_factory_0: eeprom@0 {
103 macaddr_factory_4: macaddr@4 {
110 compatible = "denx,uimage";
112 reg = <0x50000 0x760000>;
127 nvmem-cells = <&macaddr_factory_4>;
128 nvmem-cell-names = "mac-address";
130 mediatek,portmap = "wllll";
134 nvmem-cells = <&eeprom_factory_0>;
135 nvmem-cell-names = "eeprom";
140 groups = "i2c", "spi refclk", "wled";