3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "zbtlink,zbt-wg2626", "mediatek,mt7621-soc";
8 model = "Zbtlink ZBT-WG2626";
11 led-boot = &led_status;
12 led-failsafe = &led_status;
13 led-running = &led_status;
14 led-upgrade = &led_status;
18 bootargs = "console=ttyS0,115200";
22 compatible = "gpio-keys";
26 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
27 linux,code = <KEY_RESTART>;
32 compatible = "gpio-leds";
35 label = "green:status";
36 gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
53 compatible = "jedec,spi-nor";
55 spi-max-frequency = <10000000>;
58 compatible = "fixed-partitions";
70 reg = <0x30000 0x10000>;
74 factory: partition@40000 {
75 compatible = "nvmem-cells";
77 reg = <0x40000 0x10000>;
82 eeprom_factory_0: eeprom@0 {
86 eeprom_factory_8000: eeprom@8000 {
90 macaddr_factory_e000: macaddr@e000 {
96 compatible = "denx,uimage";
98 reg = <0x50000 0xfb0000>;
107 reset-gpios = <&gpio 19 GPIO_ACTIVE_LOW>,
108 <&gpio 8 GPIO_ACTIVE_LOW>;
113 reg = <0x0000 0 0 0 0>;
114 nvmem-cells = <&eeprom_factory_8000>;
115 nvmem-cell-names = "eeprom";
116 ieee80211-freq-limit = <5000000 6000000>;
122 reg = <0x0000 0 0 0 0>;
123 nvmem-cells = <&eeprom_factory_0>;
124 nvmem-cell-names = "eeprom";
125 ieee80211-freq-limit = <2400000 2500000>;
130 pinctrl-0 = <&mdio_pins>, <&rgmii1_pins>;
134 nvmem-cells = <&macaddr_factory_e000>;
135 nvmem-cell-names = "mac-address";
163 nvmem-cells = <&macaddr_factory_e000>;
164 nvmem-cell-names = "mac-address";
165 mac-address-increment = <1>;
172 groups = "wdt", "rgmii2";