3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/leds/common.h>
8 compatible = "asus,wl-330n", "ralink,rt3050-soc";
9 model = "Asus WL-330N";
12 led-boot = &led_power;
13 led-failsafe = &led_power;
14 led-running = &led_power;
15 led-upgrade = &led_power;
19 compatible = "gpio-leds";
23 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
27 function = LED_FUNCTION_POWER;
28 color = <LED_COLOR_ID_BLUE>;
29 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
34 compatible = "gpio-keys-polled";
39 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
40 linux,code = <KEY_RESTART>;
45 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
46 linux,code = <KEY_WPS_BUTTON>;
55 compatible = "jedec,spi-nor";
57 spi-max-frequency = <10000000>;
60 compatible = "fixed-partitions";
72 reg = <0x30000 0x10000>;
78 reg = <0x40000 0x10000>;
82 compatible = "fixed-layout";
86 eeprom_factory_0: eeprom@0 {
90 macaddr_factory_4: macaddr@4 {
97 compatible = "denx,uimage";
99 reg = <0x50000 0x3b0000>;
107 groups = "i2c", "jtag", "rgmii", "mdio", "uartf";
113 nvmem-cells = <&macaddr_factory_4>;
114 nvmem-cell-names = "mac-address";
118 mediatek,portmap = <0x3e>;
122 nvmem-cells = <&eeprom_factory_0>;
123 nvmem-cell-names = "eeprom";