3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "zbtlink,zbt-wg3526", "mediatek,mt7621-soc";
10 led-boot = &led_status;
11 led-failsafe = &led_status;
12 led-running = &led_status;
13 led-upgrade = &led_status;
14 label-mac-device = &wifi0;
18 bootargs = "console=ttyS0,115200";
21 palmbus: palmbus@1E000000 {
28 compatible = "gpio-keys-polled";
33 gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
34 linux,code = <KEY_RESTART>;
39 compatible = "gpio-leds";
42 label = "zbt-wg3526:green:status";
43 gpios = <&gpio0 24 GPIO_ACTIVE_LOW>;
56 compatible = "jedec,spi-nor";
58 spi-max-frequency = <10000000>;
61 compatible = "fixed-partitions";
73 reg = <0x30000 0x10000>;
77 factory: partition@40000 {
79 reg = <0x40000 0x10000>;
83 firmware: partition@50000 {
84 compatible = "denx,uimage";
97 compatible = "pci14c3,7603";
98 reg = <0x0000 0 0 0 0>;
99 mediatek,mtd-eeprom = <&factory 0x0000>;
105 compatible = "pci14c3,7662";
106 reg = <0x0000 0 0 0 0>;
107 mediatek,mtd-eeprom = <&factory 0x8000>;
108 ieee80211-freq-limit = <5000000 6000000>;
117 mtd-mac-address = <&factory 0xe000>;
121 state_default: pinctrl0 {
123 ralink,group = "wdt", "rgmii2", "jtag", "mdio";
124 ralink,function = "gpio";