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 led-status = &led_status;
17 compatible = "gpio-leds";
20 label = "miniembwifi:green:status";
21 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
25 label = "miniembwifi:green:wlan";
26 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
31 compatible = "gpio-keys-polled";
36 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
37 linux,code = <KEY_RESTART>;
42 compatible = "cfi-flash";
43 reg = <0x1f000000 0x800000>;
48 compatible = "fixed-partitions";
60 reg = <0x30000 0x10000>;
64 factory: partition@40000 {
66 reg = <0x40000 0x10000>;
72 reg = <0x50000 0x7b0000>;
79 state_default: pinctrl0 {
81 ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
82 ralink,function = "gpio";
88 mtd-mac-address = <&factory 0x28>;
92 mediatek,portmap = <0x2f>;
96 ralink,mtd-eeprom = <&factory 0>;