5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "airlive,air3gii", "ralink,rt5350-soc";
10 model = "AirLive Air3GII";
13 compatible = "gpio-leds";
16 label = "air3gii:green:wlan";
17 gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
21 label = "air3gii:green:mobile";
22 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
27 compatible = "gpio-keys-polled";
32 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
33 linux,code = <KEY_WPS_BUTTON>;
48 compatible = "jedec,spi-nor";
50 spi-max-frequency = <10000000>;
60 reg = <0x30000 0x10000>;
64 factory: partition@40000 {
66 reg = <0x40000 0x10000>;
72 reg = <0x50000 0x3b0000>;
78 state_default: pinctrl0 {
80 ralink,group = "i2c", "jtag", "uartf";
81 ralink,function = "gpio";
87 mtd-mac-address = <&factory 0x4>;
91 mediatek,portmap = <0x2f>;
95 ralink,mtd-eeprom = <&factory 0>;