3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "zbtlink,zbt-wg3526", "mediatek,mt7621-soc";
10 device_type = "memory";
11 reg = <0x0 0x1c000000>, <0x20000000 0x4000000>;
15 bootargs = "console=ttyS0,115200";
18 palmbus: palmbus@1E000000 {
25 compatible = "gpio-keys-polled";
32 gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
33 linux,code = <KEY_RESTART>;
38 compatible = "gpio-leds";
41 label = "zbt-wg3526:green:status";
42 gpios = <&gpio0 24 GPIO_ACTIVE_LOW>;
57 compatible = "jedec,spi-nor";
59 spi-max-frequency = <10000000>;
60 m25p,chunked-io = <32>;
70 reg = <0x30000 0x10000>;
74 factory: partition@40000 {
76 reg = <0x40000 0x10000>;
80 firmware: partition@50000 {
91 compatible = "pci14c3,7603";
92 reg = <0x0000 0 0 0 0>;
93 mediatek,mtd-eeprom = <&factory 0x0000>;
99 compatible = "pci14c3,7662";
100 reg = <0x0000 0 0 0 0>;
101 mediatek,mtd-eeprom = <&factory 0x8000>;
102 ieee80211-freq-limit = <5000000 6000000>;
108 mtd-mac-address = <&factory 0xe000>;
112 state_default: pinctrl0 {
114 ralink,group = "wdt", "rgmii2", "jtag", "mdio";
115 ralink,function = "gpio";