1 #include "mt7620n.dtsi"
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "zbtlink,zbt-wa05", "ralink,mt7620n-soc";
8 model = "Zbtlink ZBT-WA05";
11 led-boot = &led_power;
12 led-failsafe = &led_power;
13 led-running = &led_power;
14 led-upgrade = &led_power;
18 bootargs = "console=ttyS0,115200";
22 compatible = "gpio-leds";
26 gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
31 gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>;
32 trigger-sources = <&ohci_port1>, <&ehci_port1>;
33 linux,default-trigger = "usbport";
38 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
43 compatible = "gpio-keys";
47 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
48 linux,code = <KEY_RESTART>;
65 compatible = "jedec,spi-nor";
67 spi-max-frequency = <10000000>;
70 compatible = "fixed-partitions";
82 reg = <0x30000 0x10000>;
86 factory: partition@40000 {
87 compatible = "nvmem-cells";
89 reg = <0x40000 0x10000>;
94 eeprom_factory_0: eeprom@0 {
98 macaddr_factory_4: macaddr@4 {
104 compatible = "denx,uimage";
106 reg = <0x50000 0x760000>;
121 nvmem-cells = <&macaddr_factory_4>;
122 nvmem-cell-names = "mac-address";
124 mediatek,portmap = "wllll";
128 nvmem-cells = <&eeprom_factory_0>;
129 nvmem-cell-names = "eeprom";
134 groups = "i2c", "spi refclk", "wled";