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 compatible = "fixed-layout";
120 #address-cells = <1>;
123 eeprom_factory_0: eeprom@0 {
127 eeprom_factory_8000: eeprom@8000 {
128 reg = <0x8000 0x200>;
131 macaddr_factory_e000: macaddr@e000 {
135 macaddr_factory_e006: macaddr@e006 {
141 firmware: partition@50000 {
142 compatible = "denx,uimage";
155 compatible = "pci14c3,7603";
156 reg = <0x0000 0 0 0 0>;
157 nvmem-cells = <&eeprom_factory_0>;
158 nvmem-cell-names = "eeprom";
164 compatible = "pci14c3,7662";
165 reg = <0x0000 0 0 0 0>;
166 nvmem-cells = <&eeprom_factory_8000>;
167 nvmem-cell-names = "eeprom";
168 ieee80211-freq-limit = <5000000 6000000>;
177 nvmem-cells = <&macaddr_factory_e000>;
178 nvmem-cell-names = "mac-address";
184 phy-handle = <ðphy4>;
186 nvmem-cells = <&macaddr_factory_e006>;
187 nvmem-cell-names = "mac-address";
191 ethphy4: ethernet-phy@4 {
222 groups = "i2c", "uart2", "wdt";