3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "zbtlink,zbt-wg1602", "mediatek,mt7621-soc";
11 led-failsafe = &led_sm;
12 led-running = &led_sm;
13 led-upgrade = &led_sm;
14 label-mac-device = &gmac0;
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";
36 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
41 gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
46 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
51 compatible = "linux,wdt-gpio";
52 gpios = <&gpio 3 GPIO_ACTIVE_HIGH>;
54 /* hw_margin_ms is actually ~120s but driver limits it to 60s */
55 hw_margin_ms = <60000>;
60 compatible = "gpio-export";
64 gpio-export,name = "4g1-pwr";
65 gpio-export,output = <1>;
66 gpios = <&gpio 8 GPIO_ACTIVE_HIGH>;
70 gpio-export,name = "4g2-pwr";
71 gpio-export,output = <1>;
72 gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
76 gpio-export,name = "ext-usb";
77 gpio-export,output = <1>;
78 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
91 compatible = "jedec,spi-nor";
93 spi-max-frequency = <10000000>;
96 compatible = "fixed-partitions";
107 label = "u-boot-env";
108 reg = <0x30000 0x10000>;
112 factory: partition@40000 {
114 reg = <0x40000 0x10000>;
118 firmware: partition@50000 {
119 compatible = "denx,uimage";
132 compatible = "pci14c3,7603";
133 reg = <0x0000 0 0 0 0>;
134 mediatek,mtd-eeprom = <&factory 0x0000>;
140 compatible = "pci14c3,7662";
141 reg = <0x0000 0 0 0 0>;
142 mediatek,mtd-eeprom = <&factory 0x8000>;
143 ieee80211-freq-limit = <5000000 6000000>;
152 nvmem-cells = <&macaddr_factory_e000>;
153 nvmem-cell-names = "mac-address";
159 phy-handle = <ðphy4>;
161 nvmem-cells = <&macaddr_factory_e006>;
162 nvmem-cell-names = "mac-address";
166 ethphy4: ethernet-phy@4 {
197 groups = "i2c", "uart2", "wdt";
203 compatible = "nvmem-cells";
204 #address-cells = <1>;
207 macaddr_factory_e000: macaddr@e000 {
211 macaddr_factory_e006: macaddr@e006 {