3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "asus,wl-330n3g", "ralink,rt3050-soc";
8 model = "Asus WL-330N3G";
11 led-boot = &led_power;
12 led-failsafe = &led_power;
13 led-running = &led_power;
14 led-upgrade = &led_power;
18 compatible = "gpio-leds";
22 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
27 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
32 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
37 compatible = "gpio-keys-polled";
42 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
43 linux,code = <KEY_RESTART>;
48 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
49 linux,code = <KEY_WPS_BUTTON>;
58 compatible = "jedec,spi-nor";
60 spi-max-frequency = <10000000>;
63 compatible = "fixed-partitions";
75 reg = <0x30000 0x10000>;
79 factory: partition@40000 {
80 compatible = "nvmem-cells";
82 reg = <0x40000 0x10000>;
87 eeprom_factory_0: eeprom@0 {
91 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";