3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/leds/common.h>
8 compatible = "omnima,miniembwifi", "ralink,rt3052-soc";
9 model = "Omnima MiniEMBWiFi";
12 led-boot = &led_status;
13 led-failsafe = &led_status;
14 led-running = &led_status;
15 led-upgrade = &led_status;
19 compatible = "gpio-leds";
22 function = LED_FUNCTION_STATUS;
23 color = <LED_COLOR_ID_GREEN>;
24 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
28 function = LED_FUNCTION_WLAN;
29 color = <LED_COLOR_ID_GREEN>;
30 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
35 compatible = "gpio-keys-polled";
40 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
41 linux,code = <KEY_RESTART>;
46 compatible = "cfi-flash";
47 reg = <0x1f000000 0x800000>;
52 compatible = "fixed-partitions";
64 reg = <0x30000 0x10000>;
68 factory: partition@40000 {
70 reg = <0x40000 0x10000>;
74 compatible = "fixed-layout";
78 eeprom_factory_0: eeprom@0 {
82 macaddr_factory_28: macaddr@28 {
89 compatible = "denx,uimage";
91 reg = <0x50000 0x7b0000>;
99 groups = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
105 nvmem-cells = <&macaddr_factory_28>;
106 nvmem-cell-names = "mac-address";
110 mediatek,portmap = <0x2f>;
114 nvmem-cells = <&eeprom_factory_0>;
115 nvmem-cell-names = "eeprom";