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>;
81 compatible = "denx,uimage";
83 reg = <0x50000 0xfb0000>;
92 reset-gpios = <&gpio 19 GPIO_ACTIVE_LOW>,
93 <&gpio 8 GPIO_ACTIVE_LOW>;
98 reg = <0x0000 0 0 0 0>;
99 mediatek,mtd-eeprom = <&factory 0x8000>;
100 ieee80211-freq-limit = <5000000 6000000>;
106 reg = <0x0000 0 0 0 0>;
107 mediatek,mtd-eeprom = <&factory 0x0000>;
108 ieee80211-freq-limit = <2400000 2500000>;
113 pinctrl-0 = <&mdio_pins>, <&rgmii1_pins>;
117 nvmem-cells = <&macaddr_factory_e000>;
118 nvmem-cell-names = "mac-address";
146 nvmem-cells = <&macaddr_factory_e000>;
147 nvmem-cell-names = "mac-address";
148 mac-address-increment = <1>;
155 groups = "wdt", "rgmii2";
161 compatible = "nvmem-cells";
162 #address-cells = <1>;
165 macaddr_factory_e000: macaddr@e000 {