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 {
76 reg = <0x40000 0x10000>;
80 compatible = "fixed-layout";
84 eeprom_factory_0: eeprom@0 {
88 eeprom_factory_8000: eeprom@8000 {
92 macaddr_factory_e000: macaddr@e000 {
99 compatible = "denx,uimage";
101 reg = <0x50000 0xfb0000>;
110 reset-gpios = <&gpio 19 GPIO_ACTIVE_LOW>,
111 <&gpio 8 GPIO_ACTIVE_LOW>;
116 reg = <0x0000 0 0 0 0>;
117 nvmem-cells = <&eeprom_factory_8000>;
118 nvmem-cell-names = "eeprom";
119 ieee80211-freq-limit = <5000000 6000000>;
125 reg = <0x0000 0 0 0 0>;
126 nvmem-cells = <&eeprom_factory_0>;
127 nvmem-cell-names = "eeprom";
128 ieee80211-freq-limit = <2400000 2500000>;
133 pinctrl-0 = <&mdio_pins>, <&rgmii1_pins>;
137 nvmem-cells = <&macaddr_factory_e000>;
138 nvmem-cell-names = "mac-address";
166 nvmem-cells = <&macaddr_factory_e000>;
167 nvmem-cell-names = "mac-address";
168 mac-address-increment = <1>;
175 groups = "wdt", "rgmii2";