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-boot = &led_status;
14 led-failsafe = &led_status;
15 led-running = &led_status;
16 led-upgrade = &led_status;
20 compatible = "gpio-leds";
23 label = "miniembwifi:green:status";
24 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
28 label = "miniembwifi:green:wlan";
29 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
34 compatible = "gpio-keys-polled";
39 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
40 linux,code = <KEY_RESTART>;
45 compatible = "cfi-flash";
46 reg = <0x1f000000 0x800000>;
51 compatible = "fixed-partitions";
63 reg = <0x30000 0x10000>;
67 factory: partition@40000 {
69 reg = <0x40000 0x10000>;
74 compatible = "denx,uimage";
76 reg = <0x50000 0x7b0000>;
83 state_default: pinctrl0 {
85 ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
86 ralink,function = "gpio";
92 mtd-mac-address = <&factory 0x28>;
96 mediatek,portmap = <0x2f>;
100 ralink,mtd-eeprom = <&factory 0>;