5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "zbtlink,zbt-wg2626", "mediatek,mt7621-soc";
13 led-boot = &led_status;
14 led-failsafe = &led_status;
15 led-running = &led_status;
16 led-upgrade = &led_status;
20 device_type = "memory";
21 reg = <0x0 0x1c000000>, <0x20000000 0x4000000>;
25 bootargs = "console=ttyS0,115200";
28 palmbus: palmbus@1E000000 {
35 compatible = "gpio-keys-polled";
40 gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
41 linux,code = <KEY_RESTART>;
46 compatible = "gpio-leds";
49 label = "zbt-wg2626:green:status";
50 gpios = <&gpio0 24 GPIO_ACTIVE_LOW>;
63 compatible = "jedec,spi-nor";
65 spi-max-frequency = <10000000>;
66 m25p,chunked-io = <32>;
69 compatible = "fixed-partitions";
81 reg = <0x30000 0x10000>;
85 factory: partition@40000 {
87 reg = <0x40000 0x10000>;
93 reg = <0x50000 0xfb0000>;
105 reg = <0x0000 0 0 0 0>;
106 mediatek,mtd-eeprom = <&factory 0x8000>;
107 ieee80211-freq-limit = <5000000 6000000>;
113 reg = <0x0000 0 0 0 0>;
114 mediatek,mtd-eeprom = <&factory 0x0000>;
115 ieee80211-freq-limit = <2400000 2500000>;
120 mtd-mac-address = <&factory 0xe000>;
124 state_default: pinctrl0 {
126 ralink,group = "wdt", "rgmii2", "jtag", "mdio";
127 ralink,function = "gpio";