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-wg1602", "mediatek,mt7621-soc";
12 led-failsafe = &led_sm;
13 led-running = &led_sm;
14 led-upgrade = &led_sm;
15 label-mac-device = &gmac0;
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";
37 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
42 gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
47 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
52 compatible = "linux,wdt-gpio";
53 gpios = <&gpio 3 GPIO_ACTIVE_HIGH>;
55 /* hw_margin_ms is actually ~120s but driver limits it to 60s */
56 hw_margin_ms = <60000>;
61 compatible = "gpio-export";
65 gpio-export,name = "4g1-pwr";
66 gpio-export,output = <1>;
67 gpios = <&gpio 8 GPIO_ACTIVE_HIGH>;
71 gpio-export,name = "4g2-pwr";
72 gpio-export,output = <1>;
73 gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
77 gpio-export,name = "ext-usb";
78 gpio-export,output = <1>;
79 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
92 compatible = "jedec,spi-nor";
94 spi-max-frequency = <10000000>;
97 compatible = "fixed-partitions";
108 label = "u-boot-env";
109 reg = <0x30000 0x10000>;
113 factory: partition@40000 {
115 reg = <0x40000 0x10000>;
119 firmware: partition@50000 {
120 compatible = "denx,uimage";
133 compatible = "pci14c3,7603";
134 reg = <0x0000 0 0 0 0>;
135 mediatek,mtd-eeprom = <&factory 0x0000>;
141 compatible = "pci14c3,7662";
142 reg = <0x0000 0 0 0 0>;
143 mediatek,mtd-eeprom = <&factory 0x8000>;
144 ieee80211-freq-limit = <5000000 6000000>;
153 nvmem-cells = <&macaddr_factory_e000>;
154 nvmem-cell-names = "mac-address";
160 phy-handle = <ðphy4>;
162 nvmem-cells = <&macaddr_factory_e006>;
163 nvmem-cell-names = "mac-address";
167 ethphy4: ethernet-phy@4 {
198 groups = "i2c", "uart2", "wdt";
204 compatible = "nvmem-cells";
205 #address-cells = <1>;
208 macaddr_factory_e000: macaddr@e000 {
212 macaddr_factory_e006: macaddr@e006 {