5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "omnima,miniembwifi", "ralink,rt3052-soc";
10 model = "Omnima MiniEMBWiFi";
13 compatible = "gpio-leds";
16 label = "miniembwifi:green:status";
17 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
21 label = "miniembwifi:green:wlan";
22 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
27 compatible = "gpio-keys-polled";
34 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
35 linux,code = <KEY_RESTART>;
40 compatible = "cfi-flash";
41 reg = <0x1f000000 0x800000>;
55 reg = <0x30000 0x10000>;
59 factory: partition@40000 {
61 reg = <0x40000 0x10000>;
67 reg = <0x50000 0x7b0000>;
73 state_default: pinctrl0 {
75 ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
76 ralink,function = "gpio";
82 mtd-mac-address = <&factory 0x28>;
86 mediatek,portmap = <0x2f>;
90 ralink,mtd-eeprom = <&factory 0>;