5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "storylink,sap-g3200u3", "mediatek,mt7621-soc";
10 model = "STORYLiNK SAP-G3200U3";
13 led-status = &led_usb;
17 device_type = "memory";
18 reg = <0x0 0x8000000>;
22 bootargs = "console=ttyS0,57600";
26 compatible = "gpio-leds";
29 label = "sap-g3200u3:green:usb";
30 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
35 compatible = "gpio-keys-polled";
40 gpios = <&gpio0 16 GPIO_ACTIVE_LOW>;
41 linux,code = <KEY_RESTART>;
46 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
47 linux,code = <KEY_RFKILL>;
56 compatible = "jedec,spi-nor";
58 spi-max-frequency = <10000000>;
59 m25p,chunked-io = <32>;
62 compatible = "fixed-partitions";
74 reg = <0x30000 0x1000>;
80 reg = <0x31000 0xf000>;
84 factory: partition@40000 {
86 reg = <0x40000 0x10000>;
92 reg = <0x50000 0x7b0000>;
104 reg = <0x0000 0 0 0 0>;
105 mediatek,mtd-eeprom = <&factory 0x8000>;
106 ieee80211-freq-limit = <5000000 6000000>;
112 reg = <0x0000 0 0 0 0>;
113 mediatek,mtd-eeprom = <&factory 0x0000>;
114 ieee80211-freq-limit = <2400000 2500000>;
119 mtd-mac-address = <&factory 0xe006>;
123 state_default: pinctrl0 {
125 ralink,group = "uart3", "jtag";
126 ralink,function = "gpio";