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-wg3526", "mediatek,mt7621-soc";
11 led-boot = &led_status;
12 led-failsafe = &led_status;
13 led-running = &led_status;
14 led-upgrade = &led_status;
15 label-mac-device = &wifi0;
19 bootargs = "console=ttyS0,115200";
23 compatible = "gpio-keys";
27 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
28 linux,code = <KEY_RESTART>;
33 compatible = "gpio-leds";
36 function = LED_FUNCTION_STATUS;
37 color = <LED_COLOR_ID_GREEN>;
38 gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
55 compatible = "jedec,spi-nor";
57 spi-max-frequency = <10000000>;
60 compatible = "fixed-partitions";
72 reg = <0x30000 0x10000>;
76 factory: partition@40000 {
78 reg = <0x40000 0x10000>;
82 compatible = "fixed-layout";
86 eeprom_factory_0: eeprom@0 {
90 eeprom_factory_8000: eeprom@8000 {
94 macaddr_factory_e000: macaddr@e000 {
95 compatible = "mac-base";
97 #nvmem-cell-cells = <1>;
102 firmware: partition@50000 {
103 compatible = "denx,uimage";
116 compatible = "pci14c3,7603";
117 reg = <0x0000 0 0 0 0>;
118 nvmem-cells = <&eeprom_factory_0>;
119 nvmem-cell-names = "eeprom";
125 compatible = "pci14c3,7662";
126 reg = <0x0000 0 0 0 0>;
127 nvmem-cells = <&eeprom_factory_8000>;
128 nvmem-cell-names = "eeprom";
129 ieee80211-freq-limit = <5000000 6000000>;
138 pinctrl-0 = <&mdio_pins>, <&rgmii1_pins>;
142 nvmem-cells = <&macaddr_factory_e000 0>;
143 nvmem-cell-names = "mac-address";
171 nvmem-cells = <&macaddr_factory_e000 1>;
172 nvmem-cell-names = "mac-address";
179 groups = "wdt", "rgmii2";