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>;
23 trigger-sources = <&ohci_port1>, <&ehci_port1>;
24 linux,default-trigger = "usbport";
29 compatible = "gpio-keys-polled";
34 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
35 linux,code = <KEY_WPS_BUTTON>;
40 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
41 linux,code = <KEY_WPS_BUTTON>;
46 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
47 linux,code = <KEY_WPS_BUTTON>;
52 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
53 linux,code = <KEY_WPS_BUTTON>;
59 state_default: pinctrl0 {
61 ralink,group = "i2c", "jtag", "uartf";
62 ralink,function = "gpio";
75 compatible = "jedec,spi-nor";
77 spi-max-frequency = <10000000>;
80 compatible = "fixed-partitions";
92 reg = <0x30000 0x10000>;
96 factory: partition@40000 {
98 reg = <0x40000 0x10000>;
103 compatible = "denx,uimage";
105 reg = <0x50000 0x7b0000>;
112 mtd-mac-address = <&factory 0x4>;
116 mediatek,portmap = <0x2f>;
120 ralink,mtd-eeprom = <&factory 0>;