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>;
58 compatible = "jedec,spi-nor";
60 spi-max-frequency = <10000000>;
61 m25p,chunked-io = <32>;
71 reg = <0x30000 0x1000>;
77 reg = <0x31000 0xf000>;
81 factory: partition@40000 {
83 reg = <0x40000 0x10000>;
89 reg = <0x50000 0x7b0000>;
100 reg = <0x0000 0 0 0 0>;
101 mediatek,mtd-eeprom = <&factory 0x8000>;
102 ieee80211-freq-limit = <5000000 6000000>;
108 reg = <0x0000 0 0 0 0>;
109 mediatek,mtd-eeprom = <&factory 0x0000>;
110 ieee80211-freq-limit = <2400000 2500000>;
115 mtd-mac-address = <&factory 0xe006>;
119 state_default: pinctrl0 {
121 ralink,group = "uart3", "jtag";
122 ralink,function = "gpio";