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 {
114 compatible = "nvmem-cells";
116 reg = <0x40000 0x10000>;
117 #address-cells = <1>;
121 eeprom_factory_0: eeprom@0 {
125 eeprom_factory_8000: eeprom@8000 {
126 reg = <0x8000 0x200>;
129 macaddr_factory_e000: macaddr@e000 {
133 macaddr_factory_e006: macaddr@e006 {
138 firmware: partition@50000 {
139 compatible = "denx,uimage";
152 compatible = "pci14c3,7603";
153 reg = <0x0000 0 0 0 0>;
154 nvmem-cells = <&eeprom_factory_0>;
155 nvmem-cell-names = "eeprom";
161 compatible = "pci14c3,7662";
162 reg = <0x0000 0 0 0 0>;
163 nvmem-cells = <&eeprom_factory_8000>;
164 nvmem-cell-names = "eeprom";
165 ieee80211-freq-limit = <5000000 6000000>;
174 nvmem-cells = <&macaddr_factory_e000>;
175 nvmem-cell-names = "mac-address";
181 phy-handle = <ðphy4>;
183 nvmem-cells = <&macaddr_factory_e006>;
184 nvmem-cell-names = "mac-address";
188 ethphy4: ethernet-phy@4 {
219 groups = "i2c", "uart2", "wdt";