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 bootargs = "console=ttyS0,57600";
17 compatible = "gpio-leds";
20 label = "sap-g3200u3:green:usb";
21 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
22 trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
23 linux,default-trigger = "usbport";
28 compatible = "gpio-keys";
32 gpios = <&gpio0 16 GPIO_ACTIVE_LOW>;
33 linux,code = <KEY_RESTART>;
38 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
39 linux,code = <KEY_RFKILL>;
48 compatible = "jedec,spi-nor";
50 spi-max-frequency = <10000000>;
53 compatible = "fixed-partitions";
65 reg = <0x30000 0x1000>;
71 reg = <0x31000 0xf000>;
75 factory: partition@40000 {
77 reg = <0x40000 0x10000>;
82 compatible = "denx,uimage";
84 reg = <0x50000 0x7b0000>;
96 reg = <0x0000 0 0 0 0>;
97 mediatek,mtd-eeprom = <&factory 0x8000>;
98 ieee80211-freq-limit = <5000000 6000000>;
104 reg = <0x0000 0 0 0 0>;
105 mediatek,mtd-eeprom = <&factory 0x0000>;
106 ieee80211-freq-limit = <2400000 2500000>;
111 mtd-mac-address = <&factory 0xe006>;
115 state_default: pinctrl0 {
117 ralink,group = "uart3", "jtag";
118 ralink,function = "gpio";