5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "omnima,miniembplug", "ralink,rt5350-soc";
10 model = "Omnima MiniEMBPlug";
13 compatible = "gpio-leds";
16 label = "miniembplug:red:wlan";
17 gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
21 label = "miniembplug:green:mobile";
22 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
27 compatible = "gpio-keys-polled";
32 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
33 linux,code = <KEY_WPS_BUTTON>;
38 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
39 linux,code = <KEY_WPS_BUTTON>;
44 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
45 linux,code = <KEY_WPS_BUTTON>;
50 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
51 linux,code = <KEY_WPS_BUTTON>;
57 state_default: pinctrl0 {
59 ralink,group = "i2c", "jtag", "uartf";
60 ralink,function = "gpio";
75 compatible = "jedec,spi-nor";
77 spi-max-frequency = <10000000>;
87 reg = <0x30000 0x10000>;
91 factory: partition@40000 {
93 reg = <0x40000 0x10000>;
99 reg = <0x50000 0x7b0000>;
105 mtd-mac-address = <&factory 0x4>;
109 mediatek,portmap = <0x2f>;
113 ralink,mtd-eeprom = <&factory 0>;