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 {
113 compatible = "nvmem-cells";
115 reg = <0x40000 0x10000>;
116 #address-cells = <1>;
120 eeprom_factory_0: eeprom@0 {
124 macaddr_factory_e000: macaddr@e000 {
128 macaddr_factory_e006: macaddr@e006 {
133 firmware: partition@50000 {
134 compatible = "denx,uimage";
147 compatible = "pci14c3,7603";
148 reg = <0x0000 0 0 0 0>;
149 nvmem-cells = <&eeprom_factory_0>;
150 nvmem-cell-names = "eeprom";
156 compatible = "pci14c3,7662";
157 reg = <0x0000 0 0 0 0>;
158 mediatek,mtd-eeprom = <&factory 0x8000>;
159 ieee80211-freq-limit = <5000000 6000000>;
168 nvmem-cells = <&macaddr_factory_e000>;
169 nvmem-cell-names = "mac-address";
175 phy-handle = <ðphy4>;
177 nvmem-cells = <&macaddr_factory_e006>;
178 nvmem-cell-names = "mac-address";
182 ethphy4: ethernet-phy@4 {
213 groups = "i2c", "uart2", "wdt";