3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/leds/common.h>
8 compatible = "asiarf,awm002-evb", "ralink,rt5350-soc";
11 compatible = "gpio-leds";
14 function = LED_FUNCTION_TX;
15 color = <LED_COLOR_ID_GREEN>;
16 gpios = <&gpio0 15 GPIO_ACTIVE_LOW>;
20 function = LED_FUNCTION_RX;
21 color = <LED_COLOR_ID_GREEN>;
22 gpios = <&gpio0 16 GPIO_ACTIVE_LOW>;
26 function = LED_FUNCTION_WPS;
27 color = <LED_COLOR_ID_GREEN>;
28 gpios = <&gpio0 21 GPIO_ACTIVE_LOW>;
33 compatible = "gpio-keys-polled";
38 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
39 linux,code = <KEY_RESTART>;
44 gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
55 compatible = "jedec,spi-nor";
56 spi-max-frequency = <10000000>;
59 compatible = "fixed-partitions";
71 reg = <0x30000 0x10000>;
77 reg = <0x40000 0x10000>;
81 compatible = "fixed-layout";
85 eeprom_factory_0: eeprom@0 {
89 macaddr_factory_28: macaddr@28 {
95 firmware: partition@50000 {
96 compatible = "denx,uimage";
98 /* reg property is set based on flash size in DTS files */
105 nvmem-cells = <&macaddr_factory_28>;
106 nvmem-cell-names = "mac-address";
110 nvmem-cells = <&eeprom_factory_0>;
111 nvmem-cell-names = "eeprom";
116 groups = "i2c", "jtag";
122 mediatek,portmap = <0x3f>;